opencode-orchestrator-kit: Instructions file for Codex

AGENTS.md

opencode-orchestrator-kit AGENTS.md is an instructions file for Codex, OpenCode from NicoGenti/opencode-orchestrator-kit. It costs 2,761 tokens per session, scanned A, original, MIT.

Instructions for an agent-orchestration framework in which a central coordinator assigns work to specialized helper agents. The coordinator is required to delegate tasks instead of doing the work directly.

In plain words
What is it for?
Breaking work into subtasks, selecting agents such as explorers, planners, developers, testers, reviewers, or security helpers, and following the framework’s named roles.
Why use it?
They make responsibilities and routing explicit, reducing confusion about which helper should handle a task. They also prevent the coordinator from bypassing the framework’s delegation rules.

Instructions file for CodexOpenCode

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

This is NicoGenti/opencode-orchestrator-kit's own configuration. It tells Codex and OpenCode how to work on opencode-orchestrator-kit 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 opencode-orchestrator-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NicoGenti/opencode-orchestrator-kit. 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/NicoGenti/opencode-orchestrator-kit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/NicoGenti/opencode-orchestrator-kit

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 opencode-orchestrator-kit AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nicogenti/opencode-orchestrator-kit/agents-md/github.svg)](https://agentmods.dev/instructions/nicogenti/opencode-orchestrator-kit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nicogenti/opencode-orchestrator-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/nicogenti/opencode-orchestrator-kit/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 opencode-orchestrator-kit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nicogenti/opencode-orchestrator-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/nicogenti/opencode-orchestrator-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,761 This file is loaded in full into every session.
When invoked 2,761 The same file — it is already loaded in full.
Security scan A 0 findings. 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.02761 $0.02761
Opus 5.5 $0.01104 $0.01104
Sonnet 5.5 $0.00552 $0.00552
Haiku 4.5 $0.00276 $0.00276

Measured yesterday against content hash 685e32def7dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opencode-orchestrator-kit 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 yesterday.

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 · 134 lines

How it starts

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

Agent Orchestration Framework

Overview

This document defines the strict orchestrator role for orchestrator and the contracts for all subagents. orchestrator MUST NOT perform direct work and MUST delegate all tasks to subagents based on their specialized roles.

Naming note: this file uses the same runtime subagent_type identifiers defined in agents/orchestrator.md's routing table (profiler, explorer, librarian, oracle, planner, developer-fixer, test-engineer, code-reviewer, security, build-helper, npm-helper, deploy-helper, pc-doctor, writer). The pc-doctor and writer agents live in extras/ rather than agents/; only their file location differs, not their runtime IDs. Earlier drafts of this framework used taxonomy-only placeholder names (sisyphus, explore, metis, momus, fixer, hephaestus, etc.) that have no corresponding runtime agent file — those names are retired. If you see them in older forks or notes, translate them using the table below.


Orchestrator: orchestrator

Role

  • Strict Orchestrator: orchestrator is the central coordinator and MUST NOT execute tasks directly. It MUST delegate all work to subagents.
  • Responsibilities:
    • Analyze tasks and break them into subtasks.
    • Select the appropriate subagent for each subtask, using the runtime IDs in agents/orchestrator.md.
    • Enforce delegation policies (see Delegation Policies).
    • Validate subagent outputs for completeness and correctness.
    • Resolve conflicts or ambiguities between subagents.
    • Ensure traceability and accountability for all delegated work (via .context/*.md and plan/* updates).

Delegation Policies

  1. Mandatory Delegation: orchestrator MUST delegate all executable tasks to subagents. It MUST NOT:
    • Write, edit, or refactor application code.
    • Run tests or diagnostics.
    • Perform research or analysis beyond task decomposition.
    • Generate content (e.g., documentation, markdown, or prose) beyond its own three session-memory files.

Read the full file on GitHub · 134 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. yesterday Changed · -58 lines · -773 tokens per session 685e32def7dc
  2. 4d ago Changed · +80 tokens per session d65c825c5473
  3. 10d ago Changed · +16 tokens per session 64a9e734d919
  4. 14d ago Changed · +49 tokens per session 30381c5a627b
  5. 17d ago Changed · +2 lines · +81 tokens per session ea2096b0c37f
  6. 22d ago Changed · +16 lines · +557 tokens per session 6c7c34728441
  7. 29d ago Changed · +2 tokens per session 8c8b9ec43bc7
  8. 1mo ago Changed · +1 lines · +86 tokens per session 1b99bc3e1321
  9. 2mo ago Changed · +69 lines · +1,231 tokens per session e84e902a7b4f
  10. 2mo ago First seen · 104 lines · 1,432 tokens per session scan A 53e7297c8d4c

Subscribe to this mod's changes

opencode-orchestrator-kit AGENTS.md is an instructions file published in the GitHub repository NicoGenti/opencode-orchestrator-kit (9 stars, last pushed 2d ago), licensed MIT. It adds 2,761 tokens to every session, about $0.0110 per session on Opus 5.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-31.

Related

opencode-orchestrator-kit AGENTS.md compared with instructions from other repositories

opencode-orchestrator-kit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opencode-orchestrator-kit AGENTS.mdNicoGenti/opencode-orchestrator-kitInstructions file92d agoMITA2,761Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode