A portable setup for agent-driven software development in Cursor, Claude Code, and Codex.
It provides a small operating system for planning, building, reviewing, and verifying code changes.
.cursor/- Cursor agents, commands, skills, and rules..claude/- Claude Code agents, commands, skills, and rules.AGENTS.md- Codex-compatible repository instructions and workflow map.CLAUDE.md- Short entrypoint for Claude Code that points into.claude/.MODEL_PRESETS.md- per-tool model options and balanced defaults.LICENSE- MIT license.
The package includes an MIT license. Replace LICENSE if you prefer another open-source license.
If the target repository already has .cursor, .claude, AGENTS.md, or CLAUDE.md, merge files manually instead of overwriting existing instructions.
cp -R .cursor AGENTS.md MODEL_PRESETS.md /path/to/your/repo/Open the repository in Cursor and use the slash commands:
/plan -> /build -> /review -> manual fixes -> /verify
cp -R .claude CLAUDE.md MODEL_PRESETS.md /path/to/your/repo/Open the repository with Claude Code. It reads CLAUDE.md and discovers agents, commands, and skills in .claude/.
cp AGENTS.md MODEL_PRESETS.md /path/to/your/repo/Codex reads AGENTS.md as repository instructions.
cp -R .cursor .claude AGENTS.md CLAUDE.md MODEL_PRESETS.md LICENSE /path/to/your/repo/plan -> build -> review -> manual fixes -> verify
planbefore multi-file or ambiguous work.buildfor implementation.reviewafter implementation, using correctness and design lenses.verifyas the final factual validation step.learnafter a useful session to propose durable rule or workflow improvements.
Base .cursor/agents and .claude/agents do not pin models. This is the safest default because model IDs differ across tools and accounts.
Optional presets for Cursor and Claude Code (balanced, GPT-only, Claude-heavy, opus-heavy) are documented in MODEL_PRESETS.md.
- Clarify only blocking ambiguity.
- Route the task by complexity: standard, complex, or hardcore.
- Use exactly one builder per build task.
- Review with two independent passes: correctness and design.
- Verify facts: changed files, exports, import boundaries, security grep, dependency audit, and the repository's standard check.
This setup is intentionally generic. After copying, customize:
- architecture boundaries;
- test commands;
- lint or typecheck commands;
- UI and accessibility conventions;
- import rules;
- documentation requirements.
Targets to customize per tool:
- Cursor:
.cursor/rules/main.mdc; - Claude Code:
CLAUDE.mdand.claude/rules/*; - Codex:
AGENTS.md.
- Not tied to any specific product domain.
- No secrets, local paths, private URLs, or project-specific business rules.
- No new dependencies required.
This workflow was extracted from a real production project and cleaned up for open-source use.