agentleFS
ahilarionahilarion/oh-my-forge/docs/AGENTS.md

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 checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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.

  • In this repository12 other files it gives its agents.

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
  1. Very specific:

    Create a .md file in .forge/agents/ (project) or ~/.forge/agents/ (global):

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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:

TierDescriptionUse ForExamples
fastFast, cost-efficientSimple tasksQuick fixes, boilerplate, style tweaks
standardBalancedNormal tasksFeature implementation, reviews, debugging
complexDeep reasoningHigh-stakesArchitecture decisions, complex refactors

Agent Categories

Core Agents

IDFileTierRoleReasoning
architectcore/architect.mdstandardSystem design, tech decisions✅
architect-lowcore/architect-low.mdfastQuick structure decisions❌
executorcore/executor.mdstandardStandard implementation❌
executor-lowcore/executor-low.mdfastQuick changes, boilerplate❌
executor-highcore/executor-high.mdcomplexComplex refactors, architecture✅
code-reviewercore/code-reviewer.mdstandardComprehensive review✅
plannercore/planner.mdstandardTask decomposition, planning✅
debuggercore/debugger.mdstandardBug hunting, root cause✅

Frontend Agents

IDFileTierRole
designerfrontend/designer.mdstandardUI/UX implementation
designer-lowfrontend/designer-low.mdfastQuick UI changes
ui-engineerfrontend/ui-engineer.md—Components, responsive
style-expertfrontend/style-expert.md—CSS, design systems
ux-analystfrontend/ux-analyst.md—User flows

Backend Agents

IDFileTierRole
api-designerbackend/api-designer.mdstandardREST/GraphQL design
db-engineerbackend/db-engineer.md—Schema, migrations
auth-specialistbackend/auth-specialist.md—Auth, security

DevOps Agents

IDFileRole
deploy-engineerdevops/deploy-engineer.mdCI/CD, Docker, deployment
infra-plannerdevops/infra-planner.mdCloud architecture, scaling

Quality Agents

IDFileTierRole
test-engineerquality/test-engineer.mdstandardTDD, QA strategy
security-reviewerquality/security-reviewer.mdstandardVulnerability scanning

Specialist Agents

IDFileRole
scientistspecialist/scientist.mdData analysis, ML
doc-writerspecialist/doc-writer.mdREADME, API docs
refactorerspecialist/refactorer.mdCode cleanup
migratorspecialist/migrator.mdVersion upgrades
data-modelerspecialist/data-modeler.mdERD design
seo-expertspecialist/seo-expert.mdTechnical SEO
i18n-expertspecialist/i18n-expert.mdInternationalization
git-strategistspecialist/git-strategist.mdGit workflow
dep-auditorspecialist/dep-auditor.mdDependencies

Agent Selection Guide

Task TypeBest AgentTier
Quick fixexecutor-lowfast
Standard featureexecutorstandard
Complex refactorexecutor-highcomplex
Quick architecturearchitect-lowfast
Full architecturearchitectstandard
Simple code checkexecutor-lowfast
Full code reviewcode-reviewerstandard
Simple UI changedesigner-lowfast
Full UI builddesignerstandard
TDD workflowtest-engineerstandard
Security auditsecurity-reviewerstandard
Data analysisscientiststandard

How Agent Routing Works

The custom_rules in forge.yaml instruct the LLM to adopt the right agent persona based on context:

  1. Explicit: User references an agent with @agent-id
  2. Mode-based: plan: triggers planner, review: triggers code-reviewer
  3. Context-inferred: Keywords like "bug", "test", "deploy" route to the appropriate agent
  4. 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

ToolDescription
readRead files and directories
writeCreate new files
patchModify existing files
shellExecute 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]

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.