Repository navigation
feat(playbooks): export playbooks as importable YAML, like personas #18035
bryantderosier
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Users can export a persona as a YAML file from the Agent Library ("Export YAML" in the persona menu, web and mobile). Playbooks have no equivalent. To share a playbook with a teammate, move it to another environment, or back it up, I have to find the file under
.j5/playbooks/by hand. Remote and mobile users often can't reach that directory at all.Proposal
Add an Export YAML action to each playbook in the Playbook Library settings. It downloads
<name>.yaml, and the file imports back through the existing playbook import without changes.Behavior
id,title,prompt, pluspersonawhere set).PLAYBOOK_NAME_PATTERN,.yaml/.yml, 256 KiB limit) accept it.readAgentPersonareturns a YAML rendering and file name.Surfaces to cover
PlaybookLibrarySettings, reusing the Blob download pattern fromexportPersona.J5PlaybookRpcGroup, taking thePlaybookLibraryRequestshape plus a name and returning{ fileName, yaml }.Out of scope
Acceptance criteria
docs/user/playbook section mentions export.All reactions