agentleFS
cboonecboone/agent-harness-plugins/AGENTS.md

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.

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
  1. Distinctive:

    After merging, rebasing or before creating a PR, use the repository's check-versions skill.

    line 11
  2. Distinctive:

    Read the applicable scoped file before editing its directory, including when working from the repository root.

    line 17
  3. Distinctive:

    No em dashes. Use other punctuation, or a spaced double hyphen where appropriate.

    line 47
  4. Distinctive:

    No human or agent work estimates, including durations, “quick”, sprints, sizes or story points.

    line 48
  5. Distinctive:

    Use neutral technical terms: running/stopped, in use/unused, terminate, validity check, sample data, unexpected, primary/replica and …

    line 49
  6. Very specific:

    Keep this operating summary concise.

    line 50
  7. Very specific:

    When a finding matches a checklist rule, start it with the checklist name and the exact rule name, for example write-bash-scripts: Strict …

    line 62
  8. Very specific:

    Do not report what these CI checks already report: markdownlint-cli2, prettier, shellcheck, shfmt, actionlint, bin/validate-json, …

    line 65
  9. Very specific:

    Do not review these paths: yarn.lock, dist/, .agents/, plugins/set-up-review-config/skills/set-up-review-config/references/checklists/, …

    line 66

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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-edit dist/, .agents/, set-up-review-config's references/checklists/ copies of each style guide's references/review-checklist.md, suggest-next-issue's copy of publish-report-board's references/progress-model.md, or the trim-comments and trim-text copies of review-anti-patterns's references/codex-exec.md; regenerate with make build and commit the results when source changes affect them.
  • .claude-plugin/marketplace.json is the catalog of record. Each plugin's .claude-plugin/plugin.json is its sole version source; a .codex-plugin/plugin.json mirrors that version when present. New plugins start at 1.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 and codex-cli-known-limitations; plugin READMEs always link to install and 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 scrut

make 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.md loads 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/; the SKILL.md there 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 with Uncited: 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, the make build generated-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/*.md except SKILL.md.
  • Claude Code Review takes its severities from REVIEW.md.
  • Rules outside this block take precedence over it.
<!-- END set-up-review-config -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.