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

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…

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

    Keep this operating summary concise.

    line 50
  7. Very specific:

    Start each finding with the checklist name and the rule name, for example write-bash-scripts: Strict mode.

    line 62
  8. Very specific:

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

    line 63
  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 64

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

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 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-edit dist/, .agents/ or set-up-review-config's references/checklists/ copies of each style guide's references/review-checklist.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, using-with-opencode and codex-cli-known-limitations; plugin READMEs always link to install and 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 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. 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/; 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.
  • 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, 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/, 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.