agent-harness-plugins
AGENTS.md2 starsChanged 59 days agoMITView on GitHub
This is the canonical source for Claude Code plugins (skills and hooks), with committed generated mirrors for Codex CLI and OpenCode. 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…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository12 other files it gives its agents.
- bin/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- bin/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- plugins/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.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, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
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 …
- Distinctive: line 50
Keep this operating summary concise.
- Very specific: line 62
Start each finding with the checklist name and the rule name, for example write-bash-scripts: Strict mode.
- Very specific: line 63
Do not report what these CI checks already report: markdownlint-cli2, prettier, shellcheck, shfmt, actionlint, bin/validate-json, …
- Very specific: line 64
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 16,595 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 committed generated mirrors for Codex CLI and OpenCode. See README.md for installation and the catalog.
Critical constraints
- Edit canonical sources in
plugins/<name>/. Never hand-editdist/,.agents/orset-up-review-config'sreferences/checklists/copies of each style guide'sreferences/review-checklist.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
install,using-with-opencodeandcodex-cli-known-limitations; plugin READMEs always link toinstalland link to the other anchors 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 and OpenCode mirrors
make test-scrut
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. 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 global plus root plus nested instruction sizes against 32 KiB.
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.
- Start each finding with the checklist name and the rule name, for example
write-bash-scripts: Strict mode. - 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/,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.

