Skip to content

Publishing and Versioning Prompts

In the current CLI, versioning happens through library manifests and governance updates rather than the older sage prompts workspace flow.

Current Publish Path

  1. Edit local prompt or skill content.
  2. Add it to a local library.
  3. Push the library manifest to IPFS.
  4. Promote the new manifest to a DAO when governance is required.

Example:

sage library create "my-library"
sage library prompt add code-review --file code-review.md --library my-library
sage library push my-library
sage library promote my-library --dao 0xDAOAddress

Versioning Model

  • Local edits change your working library.
  • sage library push creates a new manifest CID.
  • Governance promotion moves a DAO's canonical pointer to that new CID.
  • Proposal history plus manifest CIDs is the durable version history.