forge-harness: Instructions file for Codex

AGENTS.md

forge-harness AGENTS.md is an instructions file for Codex, OpenCode from chrono-meta/forge-harness. It costs 9,050 tokens per session, scanned B, original, MIT.

Portable runtime instructions for forge-harness, defining its agent roles, selection rules, tool limits, and boundaries.

In plain words
What is it for?
It helps dispatch work among forge-harness agents, including beginner, main-player, expert, challenger, and operational roles.
Why use it?
It helps Codex and other AI systems choose the appropriate agent and follow the project's runtime rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is chrono-meta/forge-harness's own configuration. It tells Codex and OpenCode how to work on forge-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything forge-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chrono-meta/forge-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chrono-meta/forge-harness/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/chrono-meta/forge-harness

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 forge-harness AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrono-meta/forge-harness/agents-md/github.svg)](https://agentmods.dev/instructions/chrono-meta/forge-harness/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/chrono-meta/forge-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/chrono-meta/forge-harness/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forge-harness AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chrono-meta/forge-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/chrono-meta/forge-harness/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,050 This file is loaded in full into every session.
When invoked 9,050 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.09050 $0.09050
Opus 5.5 $0.03620 $0.03620
Sonnet 5.5 $0.01810 $0.01810
Haiku 4.5 $0.00905 $0.00905

Measured 20d ago against content hash 41793d9390c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

forge-harness AGENTS.md scanned grade B with 1 finding 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 20d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

4. **Intent marshaling:** general work is in scope. Enumerate installed skills, `LOCAL_SKILL_REGISTRY`,
AGENTS.md · 465 lines

How it starts

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

AGENTS.md — forge-harness Runtime Entry Point

Always-loaded layer. Keep agent selection and rules that must govern every runtime here. Load execution examples, compatibility history, and conditional procedures only through the imperative pointers below.

Relationship to CLAUDE.md

File Scope Audience
CLAUDE.md Resident core (~80 lines): rules that must fire before anything is read Claude Code
knowledge/shared/harness-core/claude_md_full_reference.md The full session rules, protocols, orchestration flow — a CLAUDE.md §X reference whose §X is not a CLAUDE.md heading resolves here Claude Code + any runtime reading a cited section
AGENTS.md Portable runtime rules, agent roles, dispatch boundaries AI runtimes + humans

CLAUDE.md governs Claude-native automation. This file is the portable governor entry point for Codex and other runtimes; they must explicitly read applicable .claude/rules/*.md. Runtime-native features may execute the workflow, but do not automatically import Claude configuration.

Whole map (any runtime, read first if you are new here): docs/map/FH_MAP.md — what FH is, how it is implemented (every diagram node is a real path, re-checked by scripts/test_fh_map_paths_lanes.sh), why it is trustworthy (gates · lanes · grade sources, with the client-hook caveat stated), and what is operator-local. Interactive diagrams: https://chrono-meta.github.io/forge-harness/

Greeting — Onboarding (any runtime)

When the user's message is a bare greeting in any language (hi · hello · 안녕 · 你好 …) or a start intent (resume · where were we · what is this), do not answer with a generic greeting. Run FH onboarding:

  1. First turn — three reads in parallel, then answer: in the first turn issue, in parallel, bash scripts/mapped_tracks.sh (it prints onboarding_branch=new|returning|UNKNOWN; UNKNOWN is not new), a read of knowledge/shared/harness-core/fh_detail_protocols.md, and a read of the top ~60 lines of tracks/_meta/reference_next_session_starter.md (if present). All three are reads: act on none of them until all three are back and the procedure file has been read — that keeps the order CLAUDE.md §Active Onboarding Protocol requires (procedure before Step 1) while the reads share one turn instead of three to five sequential ones. Never skip a file that section requires.
  2. Reply in the greeting's language. First line: 🐿️ and the welcome line on the same line — new: "Welcome to FH." · returning: "Welcome back to FH." · if tracks/_meta/reference_next_session_starter.md exists (the operator): "The FH operator — good to see you." Translate naturally and keep the name «FH».
  3. Then the doors, one per line, in the same language:
    • new: ① Create your first project · ② Map an existing project · 📖 Read the guide / ask me anything
    • returning: ① Map a project · ② Create a new project · ③ Accelerate or diagnose a mapped project · ④ Cross-project synergy (only with 2+ project tracks) · 📖 Guide / Q&A — and for the operator a last row 🔧 FH self-development
  4. Returning only: one line below the doors — say "wrap up" when done so the work lands in the session card.

Read the full file on GitHub · 465 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. 20d ago Changed · +4 lines · +103 tokens per session 41793d9390c9
  2. 21d ago Changed · +5 lines · +91 tokens per session a6bd2d691c7d
  3. 28d ago Changed · +34 tokens per session e1f372927fe4
  4. 1mo ago Changed · +23 lines · +314 tokens per session bff8390c9c1b
  5. 1mo ago Changed · +5 lines · +138 tokens per session 070a0c21085a
  6. 1mo ago Changed · +1 lines · +69 tokens per session 4f69720888a1
  7. 1mo ago Changed · +26 lines · +474 tokens per session fd8fa3ad6226
  8. 1mo ago Changed · +30 lines · +443 tokens per session 77fbbefe8b1b
  9. 2mo ago Changed · +27 lines · +510 tokens per session 0d79281c20ba
  10. 2mo ago First seen · 344 lines · 6,874 tokens per session scan B 0ee53fb39a07

Subscribe to this mod's changes

forge-harness AGENTS.md is an instructions file published in the GitHub repository chrono-meta/forge-harness (33 stars, last pushed today), licensed MIT. It adds 9,050 tokens to every session, about $0.0362 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

forge-harness AGENTS.md compared with instructions from other repositories

forge-harness AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-harness AGENTS.mdchrono-meta/forge-harnessInstructions file33todayMITB9,050Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot