Skip to Content
HarnessCLICommon commands

Common commands

Commands below match the live CLI examples in examples/cli/README.md. Requires EXEMPLAR_API_KEY.

export EXEMPLAR_API_KEY=eis_... exemplar doctor

Skills

# List org skills exemplar skills list # Get instructions for one skill exemplar skills get refund-policy # Search skills exemplar skills search "refund" --top-k 5 # Pull / install skill folder(s) (SKILL.md + references/scripts/assets) exemplar skills pull refund-policy exemplar skills install --all --dest .agents/skills exemplar skills pull refund-policy --target claude-global -y exemplar skills pull --all --dest ./skills # Push local skill folder to the registry exemplar skills push ./skills/refund-policy # Scaffold a new local skill exemplar skills init my-skill --description "My workflow" # Download zip bundle exemplar skills export-zip refund-policy -o refund-policy.zip

See Skill management.

Prompts

# List org prompts exemplar prompts list # Create a versioned prompt template exemplar prompts create support-summary \ --title "Support summary" \ --system "You are a concise support agent." \ --user "Summarize topic: {{topic}}." \ --variables topic \ --tags support,demo # Search / get exemplar prompts search "support" --top-k 5 exemplar prompts get support-summary # Build messages with template variables (no LLM call) exemplar prompts build support-summary --var topic=returns # Run a prompt with template variables (Exemplar-hosted model) exemplar prompts run support-summary --var topic=returns # Publish a new version exemplar prompts publish support-summary \ --system "You are a concise support agent." \ --user "Bullet summary for: {{topic}}." \ --notes "Use bullets" # Delete a prompt exemplar prompts delete support-summary

See Prompt management.

Memory

At least one scope flag is required: --user-id, --agent-id, --session-id, or --app-id.

# Add scoped memory exemplar memory add "User prefers bullet points" --user-id u1 --type preference # List / search / recall exemplar memory list --user-id u1 exemplar memory search "formatting" --user-id u1 exemplar memory recall "how should I format answers?" --user-id u1 # Update and delete exemplar memory update mem_abc --user-id u1 --content "User prefers numbered lists." exemplar memory delete mem_abc --user-id u1 # Bulk delete by scope + type exemplar memory delete-bulk --user-id u1 --type fact

See Memory.

Doctor

exemplar doctor # or python3 -m exemplar_cli.doctor

Prefer scripting the CLI in CI with secrets from your vault—not from agent context windows. For IDE coding-agent policy (bash, path, MCP, prompt), use Relay. For framework integrations, use the SDK.

Last updated on