A self-organizing agent framework for Claude Code with iteration and verification.
# Just start - project is auto-created
/soaYou: Write a short story with a twist ending, iterate until it's A+ quality
You: /soa
Claude: [Creates projects/task-20250115-143022/]
[Writes goals.md with success criteria]
[Plans approach in plan.md]
[Writes draft → evidence/story-v1.md]
[Self-critiques, iterates → v2, v3...]
[Runs /verify]
Verifier: FAIL - Twist is predictable, needs better foreshadowing
Claude: [Revises → evidence/story-v4.md]
[Runs /verify]
Verifier: PASS
Claude: [Delivers polished story]
| Command | Purpose |
|---|---|
/soa |
Self-organizing agent - auto-creates project, starts work |
/soa --model gemini |
Use Gemini for generation |
/verify [project] |
Independent quality check (defaults to latest) |
Use different AI models for generation or verification:
# Use Gemini for generation
/soa --model gemini
# Or configure per-project in goals.md:
## Model Configuration
- **default_model**: gemini
- **verification_model**: claudeThree MCP servers provide specialized capabilities:
| Server | Purpose | Key Tools |
|---|---|---|
mcp-gemini |
Thinking, multimodal, research | generate_text, deep_research |
mcp-fal |
Image generation (use this!) | generate_image |
mcp-xai |
Real-time search, social, code | x_search, web_search, research, code_execute |
Quick Reference:
- Images → Always use
mcp-fal - Deep thinking →
mcp-geminiwiththinking_level: "high" - Live search/news →
mcp-xai(X, web, news combined) - Python execution →
mcp-xaicode_execute - Analyze files →
mcp-geminiwithfiles: [paths]
See CLAUDE.md for detailed MCP architecture and patterns.
- Fail fast - Surface problems immediately rather than papering over them
- Be curious - Explore, question assumptions, dig deeper
- Don't guess, research - When uncertain, investigate first
- No mock code - Never generate placeholder, stub, or mock implementations
- No silent rollbacks - Don't fall back or revert just because something fails; wait for explicit direction
- Finish the job - Always verify work was completed as requested; if blocked, call it out prominently
- Commit early, commit often - Commit after every change; revision history is our safety net
- Auto-creates projects - Timestamped folders like
task-20250115-143022 - Iteration triggers - Words like "until", "iterate", "refine", "A+" trigger iteration mode
- Version everything - Artifacts are v1, v2, v3... never overwritten
- Verify before done - Independent verification prevents premature completion
- Task-agnostic - The LLM determines appropriate phases based on task type