agent-harness-plugins
AGENTS.md3 starsChanged 25 days agoMITView on GitHub
This is the canonical source for Claude Code plugins (skills and hooks), with a committed generated mirror for Codex CLI. See README.md for installation and the catalog. Read the applicable scoped file before editing its directory, including when working from the repository root. Every scoped CLAUDE.md is a symlink to its sibling AGENTS.md. Node and Yarn are pinned in .tool-versions and package.json; use Yarn through Corepack. Install the pinned dependencies with yarn install --immutable. Shell tools must be available on…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 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 repository7 other files it gives its agents.
- bin/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- check-versionsSkill
- code-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
After merging, rebasing or before creating a PR, use the repository's check-versions skill.
- Distinctive: line 17
Read the applicable scoped file before editing its directory, including when working from the repository root.
- Distinctive: line 47
No em dashes. Use other punctuation, or a spaced double hyphen where appropriate.
- Distinctive: line 48
No human or agent work estimates, including durations, “quick”, sprints, sizes or story points.
- Distinctive: line 49
Use neutral technical terms: running/stopped, in use/unused, terminate, validity check, sample data, unexpected, primary/replica and …
- Very specific: line 50
Keep this operating summary concise.
- Very specific: line 62
When a finding matches a checklist rule, start it with the checklist name and the exact rule name, for example write-bash-scripts: Strict …
- Very specific: line 65
Do not report what these CI checks already report: markdownlint-cli2, prettier, shellcheck, shfmt, actionlint, bin/validate-json, …
- Very specific: line 66
Do not review these paths: yarn.lock, dist/, .agents/, plugins/set-up-review-config/skills/set-up-review-config/references/checklists/, …
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
Agent Harness Plugins
Project overview
This is the canonical source for Claude Code plugins (skills and hooks), with a committed generated mirror for Codex CLI. See README.md for installation and the catalog.
Critical constraints
- Edit canonical sources in
plugins/<name>/. Never hand-editdist/,.agents/,set-up-review-config'sreferences/checklists/copies of each style guide'sreferences/review-checklist.md,suggest-next-issue's copy ofpublish-report-board'sreferences/progress-model.md, or thetrim-commentsandtrim-textcopies ofreview-anti-patterns'sreferences/codex-exec.md; regenerate withmake buildand commit the results when source changes affect them. .claude-plugin/marketplace.jsonis the catalog of record. Each plugin's.claude-plugin/plugin.jsonis its sole version source; a.codex-plugin/plugin.jsonmirrors that version when present. New plugins start at1.0.0; wording/fixes are patch changes, new capabilities are minor changes, and breaking changes are major changes.- After merging, rebasing or before creating a PR, use the repository's check-versions skill.
- Merge PRs with merge commits only (
gh pr merge --merge). The repository disables squash and rebase merging. - Root and plugin README descriptions match the catalog description verbatim. Preserve root README anchors
installandcodex-cli-known-limitations; plugin READMEs always link toinstalland link to the other anchor when relevant.
Navigation and scoped instructions
Read the applicable scoped file before editing its directory, including when working from the repository root. Every scoped CLAUDE.md is a symlink to its sibling AGENTS.md.
- plugins/AGENTS.md: skill and hook source, bundled helpers, registration and versioning.
- bin/AGENTS.md: repository validators, generators and tooling.
- tests/AGENTS.md: scrut suites, fixture stubs and CI environment wiring.
- docs/AGENTS.md: plans, reviews and reference documentation.
- Plugin development: full layouts, adding plugins, cross-reference syntax, README catalog format and version rules. Read this before editing plugin or catalog surfaces, including the root README and marketplace files.
.github/copilot-instructions.md: Copilot review rules;.github/instructions/: scoped review guidance.
Running tests and linters
Node and Yarn are pinned in .tool-versions and package.json; use Yarn through Corepack. Install the pinned dependencies with yarn install --immutable. Shell tools must be available on PATH.
make help
make lint # markdownlint, prettier, shellcheck, shfmt, actionlint
make validate # JSON, manifests, catalog, mirrors and cross-references
make build # regenerate bundled review checklists and the Codex mirror
make test-scrut # documents in parallel; SCRUT_JOBS=1 runs them in sequence
make test-all # lint, validate and scrutmake format fixes Markdown and shell formatting. yarn lint:fix and yarn format cover Markdown/Prettier. Run relevant checks after edits; plugin additions require make test-all before a PR. Observe the final test result before reporting a pass.
bin/check-cross-references runs independently or through validation rule 19. bin/list-shell-scripts defines shell lint coverage for local checks and CI. bin/version-audit checks upstream drift on the weekly workflow; it is not a merge gate. bin/record-traffic saves GitHub traffic history to the traffic-data branch on the daily traffic-history.yml workflow; it is not a merge gate. make validate-corpus checks the review case corpus, which lives in a separate repository; it needs REVIEW_CASE_CORPUS_DIR, jq and mikefarah yq v4, and is not a merge gate either.
Writing conventions
These rules cover all repository text, including skill prompts, references, READMEs, plans, reviews, commits, PRs and issues.
- No em dashes. Use other punctuation, or a spaced double hyphen where appropriate.
- No human or agent work estimates, including durations, “quick”, sprints, sizes or story points. Describe scope, dependencies and uncertainty. Code runtime measurements and complexity are allowed.
- Use neutral technical terms: running/stopped, in use/unused, terminate, validity check, sample data, unexpected, primary/replica and allowlist/blocklist. Fixed upstream identifiers and proper nouns remain unchanged.
- Keep this operating summary concise. Place component rules in paired scoped instruction files and specialized detail in references. Check the root plus the largest nested instruction chain against 32 KiB; global
~/.codex/AGENTS.mdloads separately.
License
MIT; see LICENSE.
Code Review Rules
<!-- BEGIN set-up-review-config -->- Review each changed file against its checklist in
.github/skills/code-review/; theSKILL.mdthere maps file patterns to checklists. - Rules under a checklist's Important heading are P1. All other checklist rules are P2 or lower.
- When a finding matches a checklist rule, start it with the checklist name and the exact rule name, for example
write-bash-scripts: Strict mode. Otherwise start it withUncited:and describe the concrete defect; never invent a rule name. - For uncited findings, behavior defects, data loss or leaks, and build or release failures are Important (P1); style, naming and wording are Nit (P2 or lower). Important findings block merging and must all be reported; uncited Nits count toward the same five-Nit cap.
- Combine repeats of the same defect across files into one finding listing the affected paths, unless they need different fixes.
- Do not report what these CI checks already report:
markdownlint-cli2,prettier,shellcheck,shfmt,actionlint,bin/validate-json,bin/validate-plugins, themake buildgenerated-mirror drift check,scrut. - Do not review these paths:
yarn.lock,dist/,.agents/,plugins/set-up-review-config/skills/set-up-review-config/references/checklists/,plugins/suggest-next-issue/skills/suggest-next-issue/references/progress-model.md,plugins/trim-comments/skills/trim-comments/references/codex-exec.md,plugins/trim-text/skills/trim-text/references/codex-exec.md,docs/plans/done/,.github/skills/code-review/*.mdexceptSKILL.md. - Claude Code Review takes its severities from
REVIEW.md. - Rules outside this block take precedence over it.
<!-- END set-up-review-config -->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
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.

