oh-my-forge
AGENTS.md2 starsChanged 8 months agoMITView on GitHub
OMF uses tiered agents for cost optimization:
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 121
Create a .md file in .forge/agents/ (project) or ~/.forge/agents/ (global):
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
oh-my-forge — Agent Reference
Architecture
┌──────────────────────────────────────────────────┐
│ ForgeCode CLI │
├──────────────────────────────────────────────────┤
│ oh-my-forge (OMF) │
│ ┌──────────┬──────────┬──────────┬────────────┐ │
│ │ Agents │ Commands │ Rules │ Skills │ │
│ │ (32+) │ (16+) │ (routing)│ (9+) │ │
│ └──────────┴──────────┴──────────┴────────────┘ │
│ ┌──────────────────────────────────────────────┐ │
│ │ Execution Modes │ │
│ │ autopilot | turbo | eco | plan | review │ │
│ │ ralph | ultrawork | team | trace | deep-interview │
│ └──────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────┘Agent Tiers
OMF uses tiered agents for cost optimization:
| Tier | Description | Use For | Examples |
| fast | Fast, cost-efficient | Simple tasks | Quick fixes, boilerplate, style tweaks |
| standard | Balanced | Normal tasks | Feature implementation, reviews, debugging |
| complex | Deep reasoning | High-stakes | Architecture decisions, complex refactors |
Agent Categories
Core Agents
| ID | File | Tier | Role | Reasoning |
architect | core/architect.md | standard | System design, tech decisions | ✅ |
architect-low | core/architect-low.md | fast | Quick structure decisions | ❌ |
executor | core/executor.md | standard | Standard implementation | ❌ |
executor-low | core/executor-low.md | fast | Quick changes, boilerplate | ❌ |
executor-high | core/executor-high.md | complex | Complex refactors, architecture | ✅ |
code-reviewer | core/code-reviewer.md | standard | Comprehensive review | ✅ |
planner | core/planner.md | standard | Task decomposition, planning | ✅ |
debugger | core/debugger.md | standard | Bug hunting, root cause | ✅ |
Frontend Agents
| ID | File | Tier | Role |
designer | frontend/designer.md | standard | UI/UX implementation |
designer-low | frontend/designer-low.md | fast | Quick UI changes |
ui-engineer | frontend/ui-engineer.md | — | Components, responsive |
style-expert | frontend/style-expert.md | — | CSS, design systems |
ux-analyst | frontend/ux-analyst.md | — | User flows |
Backend Agents
| ID | File | Tier | Role |
api-designer | backend/api-designer.md | standard | REST/GraphQL design |
db-engineer | backend/db-engineer.md | — | Schema, migrations |
auth-specialist | backend/auth-specialist.md | — | Auth, security |
DevOps Agents
| ID | File | Role |
deploy-engineer | devops/deploy-engineer.md | CI/CD, Docker, deployment |
infra-planner | devops/infra-planner.md | Cloud architecture, scaling |
Quality Agents
| ID | File | Tier | Role |
test-engineer | quality/test-engineer.md | standard | TDD, QA strategy |
security-reviewer | quality/security-reviewer.md | standard | Vulnerability scanning |
Specialist Agents
| ID | File | Role |
scientist | specialist/scientist.md | Data analysis, ML |
doc-writer | specialist/doc-writer.md | README, API docs |
refactorer | specialist/refactorer.md | Code cleanup |
migrator | specialist/migrator.md | Version upgrades |
data-modeler | specialist/data-modeler.md | ERD design |
seo-expert | specialist/seo-expert.md | Technical SEO |
i18n-expert | specialist/i18n-expert.md | Internationalization |
git-strategist | specialist/git-strategist.md | Git workflow |
dep-auditor | specialist/dep-auditor.md | Dependencies |
Agent Selection Guide
| Task Type | Best Agent | Tier |
| Quick fix | executor-low | fast |
| Standard feature | executor | standard |
| Complex refactor | executor-high | complex |
| Quick architecture | architect-low | fast |
| Full architecture | architect | standard |
| Simple code check | executor-low | fast |
| Full code review | code-reviewer | standard |
| Simple UI change | designer-low | fast |
| Full UI build | designer | standard |
| TDD workflow | test-engineer | standard |
| Security audit | security-reviewer | standard |
| Data analysis | scientist | standard |
How Agent Routing Works
The custom_rules in forge.yaml instruct the LLM to adopt the right agent persona based on context:
- Explicit: User references an agent with
@agent-id - Mode-based:
plan:triggers planner,review:triggers code-reviewer - Context-inferred: Keywords like "bug", "test", "deploy" route to the appropriate agent
- Multi-agent: Complex tasks may switch between agents mid-conversation
Creating Custom Agents
Create a .md file in .forge/agents/ (project) or ~/.forge/agents/ (global):
---
id: my-custom-agent
title: "My Custom Agent"
description: "What this agent does"
tier: standard # Optional: fast, standard, complex
reasoning:
enabled: true # Optional: enable extended thinking
tools:
- read
- write
- patch
- shell
---
Your system prompt goes here as markdown.
Define the agent's expertise, standards, and rules.Available Tools
| Tool | Description |
read | Read files and directories |
write | Create new files |
patch | Modify existing files |
shell | Execute shell commands |
Agent Precedence
Project-level agents override global agents:
./.forge/agents/ (project) → ~/.forge/agents/ (global)Overriding Built-in Agents
To customize ForgeCode's built-in agents, create a file with matching id:
---
id: "forge"
title: "My Custom Forge"
description: "Forge with my project's conventions"
tier: standard
tools:
- read
- write
- patch
- shell
---
[Your customized system prompt]Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

