headcount: Instructions file for Codex

AGENTS.md

headcount AGENTS.md is an instructions file for Codex, OpenCode from cbrock84/headcount. It costs 753 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working in the headcount project. They explain the project structure, installation details, ownership rules, and checks required before opening a pull request.

In plain words
What is it for?
Use them when installing plugins, editing repository-owned areas, understanding generated manifests, or running the complete pre-pull-request check.
Why use it?
They give an agent the local rules it needs to make compatible changes and avoid checks that pass locally but fail in continuous integration, or CI.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions AGENTS.md.

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

About the project

headcount is an organization of independently installable Claude Code plugins, each grouping skills for a department such as finance, security, or demand generation. Claude Code users install the departments they need and invoke their skills for specialized work; the catalogue entries are skills and related agent tooling from that organization.

cbrock84/headcount · 2,580 stars · on GitHub · cbrock84.github.io

Reuse

Borrowing it

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

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 headcount AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cbrock84/headcount/agents-md"><img src="https://agentmods.dev/badge/instructions/cbrock84/headcount/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 753 This file is loaded in full into every session.
When invoked 753 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.00753 $0.00753
Opus 5.5 $0.00301 $0.00301
Sonnet 5.5 $0.00151 $0.00151
Haiku 4.5 $0.00075 $0.00075

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

Security

Grade A, and why

headcount 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 today.

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

How it starts

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

AGENTS.md

An agent organization structured as a company: 16 departments, 173 skills, each department installable on its own.

This file describes the repository to an agent working on it. The skills under plugins/ are a different thing — they describe how to do the work of a function, and they load when a request matches their description.

Installing, in either tool

The skills are identical. Only the manifests differ, and both are generated from the same tree, so a skill fixed once is fixed for both.

Manifests
Claude Code plugins/<department>/.claude-plugin/plugin.json, .claude-plugin/marketplace.json
ChatGPT / Codex plugins/<department>/.codex-plugin/plugin.json, .agents/plugins/marketplace.json

Before you open a pull request

./scripts/check-all.sh

Every check CI runs, in one script — the workflow calls this same file, so the two cannot drift. Stage new files first: the surface guard reads git ls-files, so an unstaged file is invisible to it and the check passes locally then fails in CI.

Rules that are enforced rather than suggested

  • One owner per path. docs/AGENT-SURFACES.md maps every tracked path to exactly one agent, and no two owners may claim the same path. A new department adds its roster row, its surface block and its charter in the same change.
  • Generated files are never hand-edited. The README, the org chart, the social card, each skill's references/sources.md and references/departments.md, and these manifests are all emitted from the tree and verified with --check. An edit to one is lost on the next regenerate.
  • Sources are references, never copies. sources/*.toml maps outside authorities to the skills they settle questions for, and scripts/build-sources.py emits each skill's list into its own references/sources.md. The license field decides whether an agent may quote a source or only cite it — most of what a professional must cite is not open, so when torn between two classes take the more restrictive one.
  • Verticals emit one way. verticals/<slug>/ plus the core emits a standalone repository via scripts/build-vertical.py. Generated output is never hand-edited and is not committed; --verify emits to a temporary directory and runs the emitted repository's own checks instead.
  • US English, by exact word form. scripts/check-us-english.py --fix rewrites. It leaves URLs alone, which it did not always do.
  • No third-party licensed content. All prose here is original; scripts/check-provenance.py is the backstop.

Read the full file on GitHub · 53 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. today Changed · +8 tokens per session b4ce0a8aec2f
  2. 2mo ago First seen · 53 lines · 745 tokens per session scan A 5e6721bdca90

Subscribe to this mod's changes

headcount AGENTS.md is an instructions file published in the GitHub repository cbrock84/headcount (2,580 stars, last pushed yesterday), licensed MIT. It adds 753 tokens to every session, about $0.0030 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-09-17.

Related

headcount AGENTS.md compared with instructions from other repositories

headcount AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
headcount AGENTS.mdcbrock84/headcountInstructions file2.6kyesterdayMITA753Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode