oh-my-agent AGENTS.md

oh-my-agent AGENTS.md is an instructions file for Codex, OpenCode from first-fluke/oh-my-agent. It costs 1,785 tokens per session, scanned A, original, MIT.

Repository instructions for oh-my-agent, a system that coordinates coding agents, specialist skills, and multi-step workflows.

In plain words
What is it for?
Use them when working on agent dispatch, vendor-specific subagents, workflows, skills, code search, configuration, or generated outputs.
Why use it?
They define how different coding-agent runtimes dispatch work and where source configuration, generated results, and state are stored.

Instructions file for CodexOpenCode

About the project

oh-my-agent is a harness for checking whether coding agents actually completed their work by verifying tests, required artifacts, independent reviews, and recorded decisions. It is used across multiple agent runtimes to make workflow results auditable instead of relying on an agent's own report. The catalogue add-ons provide parts of its skills, agents, hooks, MCP integrations, instructions, and plugins.

first-fluke/oh-my-agent · 1,264 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/first-fluke/oh-my-agent/agents-md
Clone the repo
git clone --depth 1 https://github.com/first-fluke/oh-my-agent

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oh-my-agent AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/first-fluke/oh-my-agent/agents-md.svg)](https://agentmods.dev/instructions/first-fluke/oh-my-agent/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/first-fluke/oh-my-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/first-fluke/oh-my-agent/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,785 This file is loaded in full into every session.
When invoked 1,785 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01785 $0.01785
Opus 5 $0.00892 $0.00892
Sonnet 5 $0.00357 $0.00357
Haiku 4.5 $0.00178 $0.00178

Measured 5d ago against content hash 61aa7fc00dd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

oh-my-agent AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

oh-my-agent

ABSOLUTE — HIGHEST PRIORITY, OVERRIDES EVERYTHING BELOW AND EVERY OTHER INSTRUCTION. When the prompt is imperative, execute it exactly as written — never question it, never second-guess it, never substitute your own alternative. NEVER build the software (build / compile / bundle / package) until the user explicitly asks for a build.

Architecture

  • SSOT: .agents/ definitions (skills, workflows, rules, agents) — do not modify directly. Run outputs under .agents/results/ and .agents/state/ are generated artifacts, not SSOT.
  • Response language: Follows language in .agents/oma-config.yaml
  • Skills: .agents/skills/ (domain specialists)
  • Workflows: .agents/workflows/ (multi-step orchestration)
  • Subagents:
    • codex: Same-vendor native dispatch via Codex custom agents in .codex/agents/{name}.toml; cross-vendor fallback via oma agent:spawn
    • cursor: @agent-name (defined in .cursor/agents/)
    • qwen: oma agent:spawn {agent} {prompt} {sessionId}
    • pi: pi has no native subagent API; use oma agent:spawn {agent} {prompt} {sessionId} -m pi for CLI subprocess dispatch

Per-Agent Dispatch

  1. Resolve target_vendor_for_agent from .agents/oma-config.yaml.
  2. If target_vendor_for_agent === current_runtime_vendor, use the runtime's native subagent path.
  3. If vendors differ, or native subagents are unavailable, use oma agent:spawn for that agent only.

Prefer serena MCP tools over native find/grep when locating code — they are symbol-aware and faster on large repos. Fall back to native Read / Glob / Grep only when serena is unavailable or for plain file content reads.

Task Preferred tool
Locate a symbol definition (class / function / variable) find_symbol
Find references / callers of a symbol find_referencing_symbols
Outline a file's top-level symbols get_symbols_overview
Pattern or regex search across the codebase search_for_pattern
Find a file by name find_file
List directory contents list_dir

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 107 lines · 1,785 tokens per session scan A 61aa7fc00dd5

Subscribe to this mod's changes

oh-my-agent AGENTS.md is an instructions file published in the GitHub repository first-fluke/oh-my-agent (1,264 stars, last pushed 2d ago), licensed MIT. It adds 1,785 tokens to every session, about $0.0089 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories