A workflow framework for Claude Code by Wynter Jones
npm install -g farmworkcd your-project
farmwork init
farmwork doctor
farmwork statusOr run directly with npx:
npx farmwork initfarmwork init auto-detects your package manager and test/build/lint commands from
package.json - there's nothing else to configure.
Farmwork is intentionally small: 7 commands, 4 agents. No issue tracker, no task runner, no product-strategy scaffolding - just the practices that pull their weight.
- Slash Commands - Every workflow is an explicit command. Nothing fires on its own.
- Agents - 4 focused AI subagents the commands delegate to
- Living Audits -
_AUDIT/FARMHOUSE.mdtracks metrics over time - Plan & Implement - Plans are saved before implementation
- Idea Garden - Pre-plan creative stage with natural aging
Type / in Claude Code to see them all. Each does exactly one thing.
| Command | What It Does |
|---|---|
/audit |
Refresh FARMHOUSE.md metrics and tend the Idea Garden |
/inspect |
Everything in /audit, plus a full code review and dry-run quality gates |
/add-idea |
Plant a new idea in GARDEN.md |
/new-ideas |
Generate 10 fresh ideas and plant the ones you pick |
/compost |
Retire an idea to COMPOST.md with a reason |
/plan-idea |
Graduate an idea into a plan in _PLANS/ |
/push |
Clean, review, test, build, commit, push, update metrics |
/audit and /inspect never commit. Use /push to ship.
4 focused agents included:
| Agent | Purpose |
|---|---|
the-farmer |
Audit and update FARMHOUSE.md metrics |
code-reviewer |
Quality, security (OWASP-lite), performance, code smells, and basic accessibility - reports inline |
code-cleaner |
Remove comments (except JSDoc), console.logs, and obvious dead code |
idea-gardener |
Manage the Idea Garden and Compost |
- Start Session:
/auditto see where things stand - Capture Ideas:
/add-ideaas they occur to you,/new-ideaswhen you're stuck - Plan Work:
/plan-ideato turn one into a plan in_PLANS/ - Implement: Build the feature
- Quality Check:
/inspectfor a full review before shipping - Ship:
/pushto clean, gate, commit, and push
your-project/
├── CLAUDE.md # Lean instructions (points at the commands)
├── AGENTS.md # Points other AI tools at the same command files
├── _AUDIT/ # Living audit + idea documents
│ ├── FARMHOUSE.md # Framework command center / metrics
│ ├── GARDEN.md # Idea nursery
│ └── COMPOST.md # Rejected ideas archive
├── _PLANS/ # Implementation plans
└── .claude/ # Claude Code configuration
├── commands/ # 7 slash commands - the workflows themselves
│ ├── audit.md
│ ├── inspect.md
│ ├── add-idea.md
│ ├── new-ideas.md
│ ├── compost.md
│ ├── plan-idea.md
│ └── push.md
└── agents/ # 4 subagents the commands delegate to
├── the-farmer.md
├── code-reviewer.md
├── code-cleaner.md
└── idea-gardener.md
Set up your farm. Close to non-interactive - Farmwork detects your package manager
(from lockfiles) and test/build/lint commands (from package.json scripts) on its own.
farmwork init # Auto-detects everything, confirms and goesOptions:
-f, --force- Overwrite existing files without prompting
Creates:
CLAUDE.md- Lean instructions pointing at the commandsAGENTS.md- Points Codex, Gemini CLI, and other tools at those same command files.claude/- Claude Code configuration directorycommands/- 7 slash commandsagents/- 4 focused subagents
_AUDIT/- Living audit documents:FARMHOUSE.md,GARDEN.md,COMPOST.md_PLANS/- Implementation plans directory
Display Farmwork status and metrics.
farmwork statusShows:
- Component counts (commands, agents, audits, plans)
- FARMHOUSE score
- Configuration file status
- Test file count
Check your Farmwork setup and diagnose issues.
farmwork doctorChecks:
- Core files (CLAUDE.md,
.claude/) - Agents and commands configuration
- Audit system (
_AUDIT/FARMHOUSE.md,_AUDIT/GARDEN.md,_AUDIT/COMPOST.md,_PLANS/) - Security (
.gitignoresettings)
Because every workflow is a plain markdown file in .claude/commands/, Farmwork
travels. Codex reads command files directly - copy them into ~/.codex/prompts/ and
/audit, /push, and the rest work there too. For anything else, the generated
AGENTS.md points at those same files rather than restating them, so the instructions
can't drift out of sync with what Claude Code actually runs.
Farmwork operates inside one repo. When you have a dozen, the Operator
sits above them all - a globally-installed skill that sweeps every farm's git state,
groups them by purpose, and tracks checklist progress. See operator/.
- Claude Code, or another AI coding assistant that
reads
AGENTS.md(Codex, Gemini CLI, etc.) - Node.js 18+
No other tools required - Farmwork has no external CLI dependencies.
MIT
