Skip to content

DanDaDaDanDan/ClaudeAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClaudeWriter

A self-organizing agent framework for Claude Code with iteration and verification.

Quick Start

# Just start - project is auto-created
/soa

Example: Any Task

You: 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]

Commands

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)

Multi-Model Support

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**: claude

MCP Servers

Three 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 thinkingmcp-gemini with thinking_level: "high"
  • Live search/newsmcp-xai (X, web, news combined)
  • Python executionmcp-xai code_execute
  • Analyze filesmcp-gemini with files: [paths]

See CLAUDE.md for detailed MCP architecture and patterns.

Philosophy

  1. Fail fast - Surface problems immediately rather than papering over them
  2. Be curious - Explore, question assumptions, dig deeper
  3. Don't guess, research - When uncertain, investigate first
  4. No mock code - Never generate placeholder, stub, or mock implementations
  5. No silent rollbacks - Don't fall back or revert just because something fails; wait for explicit direction
  6. Finish the job - Always verify work was completed as requested; if blocked, call it out prominently
  7. Commit early, commit often - Commit after every change; revision history is our safety net

How It Works

  1. Auto-creates projects - Timestamped folders like task-20250115-143022
  2. Iteration triggers - Words like "until", "iterate", "refine", "A+" trigger iteration mode
  3. Version everything - Artifacts are v1, v2, v3... never overwritten
  4. Verify before done - Independent verification prevents premature completion
  5. Task-agnostic - The LLM determines appropriate phases based on task type

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors