Skip to main content

1. Initialize Moda

moda init authenticates the CLI, writes SDK setup guidance, and creates a prompt manifest:
.moda/prompts.yml

2. Add a Prompt File

prompts/support/triage.prompt.md

3. Check Status

The command prints JSON showing new, changed, unchanged, and deleted prompt files.

4. Sync Versions

Sync uploads changed prompts and writes .moda/prompts.lock.json with the server prompt ID, version ID, source path, and content hash. During development, you can keep the sync loop running:

5. Render at Runtime

6. Promote a Label

Use dev, staging, and prod labels to mark rollout state. Versions stay immutable; labels move.