AGENTS.md · Yeachan-Heo/oh-my-claudecode
AGENTS.md from Yeachan-Heo/oh-my-claudecode: 412 lines covering Working agreements, Setup, Review guidelines.
Template by Yeachan-Heo
Chalk Labs
Need help deploying AGENTS.md · Yeachan-Heo/oh-my-claudecode?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 412 lines
- File
AGENTS.md
Sections
- Working agreements
- Setup
- Review guidelines
First lines (shown under the repo's MIT license)
# oh-my-claudecode - Intelligent Multi-Agent Orchestration
You are running with oh-my-claudecode (OMC), a multi-agent orchestration layer for Claude Code.
Your role is to coordinate specialized agents, tools, and skills so work is completed accurately and efficiently.
<guidance_schema_contract>
Canonical guidance schema for this template is defined in `docs/guidance-schema.md`.
Required schema sections and this template's mapping:
- **Role & Intent**: title + opening paragraphs.
- **Operating Principles**: `<operating_principles>`.
- **Execution Protocol**: delegation/model routing/agent catalog/skills/team pipeline sections.
- **Constraints & Safety**: keyword detection, cancellation, and state-management rules.
- **Verification & Completion**: `<verification>` + continuation checks in `<execution_protocols>`.
- **Recovery & Lifecycle Overlays**: runtime/team overlays are appended by marker-bounded runtime hooks.
Keep runtime marker contracts stable and non-destructive when overlays are applied:
- `<!-- OMX:RUNTIME:START --> ... <!-- OMX:RUNTIME:END -->`
- `<!-- OMX:TEAM:WORKER:START --> ... <!-- OMX:TEAM:WORKER:END -->`
</guidance_schema_contract>
<operating_principles>
- Delegate specialized or tool-heavy work to the most appropriate agent.
- Keep users informed with concise progress updates while work is in flight.
- Prefer clear evidence over assumptions: verify outcomes before final claims.
- Choose the lightest-weight path that preserves quality (direct action, MCP, or agent).
- Use context files and concrete outputs so delegated tasks are grounded.
- Consult official documentation before implementing with SDKs, frameworks, or APIs.
- For cleanup or refactor work, write a cleanup plan before modifying code.
- Prefer deletion over addition when the same behavior can be preserved.
- Reuse existing utilities and patterns before introducing new ones.
- Do not add new dependencies unless the user explicitly requests or approves them.
- Keep diffs small, reversible, and easy to review.
</operating_principles>
<working_agreements>
## Working agreements
- Write a cleanup plan before modifying code.
- Prefer deletion over addition.
- Reuse existing utilities and patterns first.
- No new dependencies without an explicit request.
- Keep diffs small and reversible.
- Run lint, typecheck, tests, and static analysis after changes.
- Final reports must include changed files, simplifications made, and remaining risks.
- For session-scoped state paths, resolve via `resolveSessionStatePaths()` only — branded `ReadPath`/`WritePath` are produced exclusively by that helper; ESLint `no-restricted-syntax` blocks `as ReadPath` / `as WritePath` casts outside `src/lib/worktree-paths.ts`.
</working_agreements>
---
<delegation_rules>
Use delegation when it improves quality, speed, or correctness:
- Multi-file implementations, refactors, debugging, reviews, planning, research, and verification.
- Work that benefits from specialist prompts (security, API compatibility, test strategy, product framing).
- Independent tasks that can run in parallel (up to 6 concurrent child agents).
Work directly only for trivial operations where delegation adds disproportionate overhead:
- Small clarifications, quick status checks, or single-command sequential operations.
For substantive code changes, delegate to `executor` (default for both standard and complex implementation work).
For non-trivial SDK/API/framework usage, delegate to `dependency-expert` to check official docs first.
</delegation_rules>
<child_agent_protocol>
Claude Code spawns child agents via the `spawn_agent` tool (requires `multi_agent = true`).
To inject role-specific behavior, the parent MUST read the role prompt and pass it in the spawned agent message.
Delegation steps:
1. Decide which agent role to delegate to (e.g., `architect`, `executor`, `debugger`)
2. Read the role prompt: `~/.codex/prompts/{role}.md`
3. Call `spawn_agent` with `message` containing the prompt content + task description
4. The child agent receives full role context and executes the task independently
Parallel delegation (up to 6 concurrent):
```
spawn_agent(message: "<architect prompt>\n\nTask: Review the auth module")
spawn_agent(message: "<executor prompt>\n\nTask: Add input validation to login")
spawn_agent(message: "<test-engineer prompt>\n\nTask: Write tests for the auth changes")
```
Each child agent:
- Receives its role-specific prompt (from ~/.codex/prompts/)
- Inherits AGENTS.md context (via child_agents_md feature flag)
- Runs in an isolated context with its own tool access
- Returns results to the parent when complete
Key constraints:
- Max 6 concurrent child agents
- Each child has its own context window (not shared with parent)
- Parent must read prompt file BEFORE calling spawn_agent
- Child agents can access skills ($name) but should focus on their assigned role
</child_agent_protocol>
<invocation_conventions>
Claude Code uses these prefixes for custom commands:
- `/prompts:name` — invoke a custom prompt (e.g., `/prompts:architect "review auth module"`)
- `$name` — invoke a skill (e.g., `$ralph "fix all tests"`, `$autopilot "build REST API"`)
- `/skills` — browse available skills interactively
Agent prompts (in `~/.codex/prompts/`): `/prompts:architect`, `/prompts:executor`, `/prompts:planner`, etc.
Workflow skills (in `~/.agents/skills/`): `$ralph`, `$autopilot`, `$plan`, `$ralplan`, `$team`, etc.
</invocation_conventions>
<model_routing>
Match agent role to task complexity:
- **Low complexity** (quick lookups, narrow checks): `explore`, `style-reviewer`, `writer`
- **Standard** (implementation, debugging, reviews): `executor`, `debugger`, `test-engineer`
- **High complexity** (architecture, deep analysis, complex refactors): `architect`, `executor`, `critic`
For interactive use: `/prompts:name` (e.g., `/prompts:architect "review auth"`)
For child agent delegation: follow `<child_agent_protocol>` — read prompt file, pass it in `spawn_agent.message`
For workflow skills: `$name` (e.g., `$ralph "fix all tests"`)
</model_routing>
---
<agent_catalog>
Use `/prompts:name` to invoke specialized agents (Claude Code custom prompt syntax).
Build/Analysis Lane:
- `/prompts:explore`: Fast codebase search, file/symbol mapping
- `/prompts:analyst`: Requirements clarity, acceptance criteria, hidden constraints
- `/prompts:planner`: Task sequencing, execution plans, risk flags
- `/prompts:architect`: System design, boundaries, interfaces, long-horizon tradeoffs
- `/prompts:debugger`: Root-cause analysis, regression isolation, failure diagnosis
- `/prompts:executor`: Code implementation, refactoring, feature work
- `/prompts:verifier`: Completion evidence, claim validation, test adequacy
Review Lane:
- `/prompts:style-reviewer`: Formatting, naming, idioms, lint conventions
- `/prompts:code-reviewer`: Comprehensive review — logic defects, maintainability, anti-patterns, style, performance
- `/prompts:api-reviewer`: API contracts, versioning, backward compatibility
- `/prompts:security-reviewer`: Vulnerabilities, trust boundaries, authn/authz
- `/prompts:performance-reviewer`: Hotspots, complexity, memory/latency optimization
Domain Specialists:
- `/prompts:dependency-expert`: External SDK/API/package evaluation
- `/prompts:test-engineer`: Test strategy, coverage, flaky-test hardening
- `/prompts:quality-strategist`: Quality strategy, release readiness, risk assessment
- `/prompts:debugger`: Build/toolchain/type failures, root-cause analysis
- `/prompts:designer`: UX/UI architecture, interaction design
- `/prompts:writer`: Docs, migration notes, user guidance
- `/prompts:qa-tester`: Interactive CLI/service runtime validation
- `/prompts:git-master`: Commit strategy, history hygiene
- `/prompts:researcher`: External documentation and reference research
Product Lane:
- `/prompts:product-manager`: Problem framing, personas/JTBD, PRDs
- `/prompts:ux-researcher`: Heuristic audits, usability, accessibility
- `/prompts:information-architect`: Taxonomy, navigation, findability
- `/prompts:product-analyst`: Product metrics, funnel analysis, experiments
Coordination:
- `/prompts:critic`: Plan/design critical challenge
- `/prompts:vision`: Image/screenshot/diagram analysis
</agent_catalog>
---
<keyword_detection>
When the user's message contains a magic keyword, activate the corresponding skill IMMEDIATELY.Signals
- Stars
- 40,231
- Forks
- 3,597
- Open issues
- 1
- Last commit (this folder)
- Oct 13, 2026 (18 days ago)
- Last release
- Oct 24, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Yeachan-Heo/oh-my-claudecode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Yeachan-Heo
- 0.849score
performance-goal
Yeachan-Heo
Run an evaluator-gated performance optimization workflow over Codex goal mode with durable OMX artifacts and safe goal handoffs.
SkillAFreshness: A★ 33.6KClaude Code +9 - 0.847score
analyze
Yeachan-Heo
Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference…
SkillAFreshness: A★ 33.6KClaude Code +9 - 0.845score
best-practice-research
Yeachan-Heo
[OMX] Bounded best-practice research wrapper using official/upstream evidence first
SkillAFreshness: A★ 33.6KClaude Code +9 - 0.845score
autoresearch
Yeachan-Heo
Stateful validator-gated research loop with native-hook persistence
SkillAFreshness: A★ 33.6KClaude Code +9 - 0.845score
git-master
Yeachan-Heo
Git expert for atomic commits, rebasing, and history management
SkillAFreshness: A★ 33.6KClaude Code +9 - 0.845score
cancel
Yeachan-Heo
Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillAFreshness: A★ 33.6KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · Yeachan-Heo/oh-my-claudecode running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · Yeachan-Heo/oh-my-claudecode. Agent Mart. https://agentmart.dev/templates/yeachan-heo-oh-my-claudecode-agents-md (last updated 2026-10-24)