Commands are converted to .md files with frontmatter:
---description: Turn feature ideas into detailed plansargument-hint: <feature description>disable-model-invocation: false---You are a planning specialist. Task plan-specialist: analyze the feature.
{ "name": "workflows:plan", "description": "Create implementation plan", "argumentHint": "<feature description>", "body": "You are a planning agent. Task repo-research-analyst(research the feature)."}
Output (~/.factory/commands/plan.md):
---description: Create implementation planargument-hint: <feature description>---You are a planning agent. Task repo-research-analyst: research the feature.
Input (Claude agent):
{ "name": "code-review-agent", "description": "Review code for issues", "body": "You use the Read tool to inspect files and the Task tool to delegate analysis."}
Output (~/.factory/droids/code-review-agent.md):
---name: code-review-agentdescription: Review code for issuesmodel: inherittools: - Read - Task---You use the Read tool to inspect files and the Task tool to delegate analysis.