agentleFS
Prorise-coolProrise-cool/claude-code-plugins/AGENTS.md

claude-code-plugins

AGENTS.md1 starsChanged 11 months agoMITView on GitHub

This repository hosts Claude Code plugins, skills, commands, hooks, and supporting documentation. Use this file as a light contributor guide and defer to CLAUDE.md for authoritative project rules. - For any Claude Code workflows (commands, skills, plugins, hooks, agents), invoke plugins/claude-ecosystem/skills/docs-management and follow the official documentation it loads. - Markdown linting guidance lives in plugins/code-quality/skills/markdown-linting. - Examples live in README.md, but defer to skills for current usage. - Formatting follows .editorconfig (2 spaces by default, 4 spaces for Python/C#, PowerShell…

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Python 3.13+ for spaCy-backed operations.

    line 45
  2. Very specific:

    Use the Git-related skills as the source of truth for commit conventions and PR requirements (see plugins/git/skills/, especially push and …

    line 49
  3. Distinctive:

    Keep this file minimal to avoid duplicating guidance that already lives in skills.

    line 51
  4. Distinctive:

    Read CLAUDE.md in the repo root first.

    line 56
  5. Distinctive:

    If instructions conflict, update or follow CLAUDE.md and keep this file minimal to avoid duplication.

    line 57
  6. Very specific:

    Before executing any workflow from plugins/*/commands, always open and follow the corresponding skill SKILL.md.

    line 59
  7. Distinctive:

    Do not execute scripts until you have:

    line 66
  8. Very specific:

    When a skill is referenced by name or path, open its SKILL.md and follow the documented workflow and precedence rules.

    line 72
  9. Very specific:

    If a user mentions a specific product or ecosystem (e.g., Codex CLI, Claude, Gemini, Cursor), first scan available skills with rg --files …

    line 74
  10. Very specific:

    Before stating a skill is missing, list skills with rg --files -g "SKILL.md" and check for a matching path.

    line 78
  11. Very specific:

    Use plugins/openai-ecosystem/skills/codex-cli-docs for Codex CLI docs.

    line 86
  12. Distinctive:

    Always read CLAUDE.md first.

    line 106
  13. Distinctive:

    Keep this section minimal: CLAUDE.md is the canonical list of memory files.

    line 110
  14. Very specific:

    Use docs-management doc_id code-claude-com-docs-en-plugin-marketplaces for schema and field details.

    line 123
  15. Very specific:

    Use rg --files for discovery.

    line 146
  16. Very specific:

    Use docs-management doc_ids code-claude-com-docs-en-plugins-reference and code-claude-com-docs-en-plugin-marketplaces for canonical schemas.

    line 148

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

Repository Guidelines

This repository hosts Claude Code plugins, skills, commands, hooks, and supporting documentation. Use this file as a light contributor guide and defer to CLAUDE.md for authoritative project rules.

Project Structure & Module Organization

  • plugins/<plugin-name>/: primary plugin content (see plugin.json).
    • skills/<skill-name>/SKILL.md: skill definitions with YAML frontmatter.
    • commands/: slash commands (verb-phrase names).
    • agents/: subagent definitions.
    • hooks/: hook configuration and scripts.
  • .claude/: agent memory, operational rules, and workflow guidance.
  • .claude-plugin/: local marketplace and plugin manifests.
  • specs/: design specs, audits, and planning docs.
  • .github/workflows/: CI, including Markdown linting.

Build, Test, and Development Commands

  • For any Claude Code workflows (commands, skills, plugins, hooks, agents), invoke plugins/claude-ecosystem/skills/docs-management and follow the official documentation it loads.
  • Markdown linting guidance lives in plugins/code-quality/skills/markdown-linting.
  • Examples live in README.md, but defer to skills for current usage.

Coding Style & Naming Conventions

  • Formatting follows .editorconfig (2 spaces by default, 4 spaces for Python/C#, PowerShell uses CRLF).
  • For Claude Code naming and metadata conventions, invoke plugins/claude-ecosystem/skills/docs-management.
  • Markdown linting rules are defined in .markdownlint-cli2.jsonc; use the markdown-linting skill for guidance rather than duplicating details here.

Testing Guidelines

  • For Claude Code testing guidance, invoke plugins/claude-ecosystem/skills/docs-management.
  • Python testing conventions are documented in plugins/code-quality/skills/python.
  • Plugin-specific tests live alongside their skills; follow the relevant SKILL.md instructions when present.
  • Use Python 3.13+ for spaCy-backed operations.

Commit & Pull Request Guidelines

  • Use the Git-related skills as the source of truth for commit conventions and PR requirements (see plugins/git/skills/, especially push and hooks).
  • Keep this file minimal to avoid duplicating guidance that already lives in skills.

Agent-Specific Instructions

  • Read CLAUDE.md in the repo root first; it is the single source of truth.
  • If instructions conflict, update or follow CLAUDE.md and keep this file minimal to avoid duplication.
  • Before executing any workflow from plugins/*/commands, always open and follow the corresponding skill SKILL.md. Read the entire referenced chain (use progressive disclosure) for that command: any files referenced by the command, the skill, and their referenced files needed for execution details.
  • For any SKILL.md, apply the same progressive disclosure rule: read all directly referenced files needed to understand and execute the skill, then follow references one hop at a time until execution details are complete.
  • Do not execute scripts until you have:
    • confirmed required CLI arguments from the script or skill docs,
    • checked whether a dev mode environment variable is required,
    • reconciled any missing steps or flags in the command doc vs the skill.
  • Link, don’t duplicate: consolidate guidance into one canonical location and reference it elsewhere.
  • When a skill is referenced by name or path, open its SKILL.md and follow the documented workflow and precedence rules.
  • If a user mentions a specific product or ecosystem (e.g., Codex CLI, Claude, Gemini, Cursor), first scan available skills with rg --files -g "SKILL.md" and select the most relevant SKILL.md before proceeding.
  • Before stating a skill is missing, list skills with rg --files -g "SKILL.md" and check for a matching path.
  • For platform or framework changes, consult official documentation via the appropriate skill (Claude Code: docs-management, Gemini: gemini-cli-docs, Codex CLI: codex-cli-docs).

Codex CLI Guidance (OpenAI)

  • Use plugins/openai-ecosystem/skills/codex-cli-docs for Codex CLI docs; keep this file lean and defer details to that skill.
  • Prompting: include clear code pointers (greppable identifiers, stack traces, snippets) and explicit verification steps; split large tasks; paste logs for debugging; specify tool constraints when needed.
  • Instruction discovery: Codex layers global and project AGENTS.md files with AGENTS.override.md taking precedence; fallback filenames and size limits are configured in ~/.codex/config.toml (project_doc_fallback_filenames, project_doc_max_bytes); CODEX_HOME changes the global scope.
  • Sandbox/approvals: network is off by default; approvals are required outside the workspace; prefer read-only in non-versioned folders and be cautious with full access or enabling web search.
  • Configuration: ~/.codex/config.toml is shared by CLI and IDE; use profiles, feature flags under [features], and .rules to pre-approve command prefixes when appropriate.
  • Windows: prefer WSL for stronger sandboxing; native Windows sandbox support is experimental.

Claude Code Startup Parity (Static Memory)

  • Always read CLAUDE.md first. It is the single source of truth for repo rules.
  • Immediately after, read every memory file referenced in CLAUDE.md (all "Always Loaded" and "Context-Dependent" entries, plus the topics index). Do not skip any; treat this as mandatory startup.
  • Keep this section minimal: CLAUDE.md is the canonical list of memory files.

Claude Code Plugin + Skill Shim (Cursor Parity)

  • Mirrors .cursor/rules/claude-code-plugins.mdc and .cursor/rules/claude-skills.mdc so Codex has the same plugin/skill context.
  • Plugin discovery order:
    • plugins/ (repo source of plugins)
    • ~/.claude/plugins/marketplaces/<marketplace>/<plugin>/ (installed plugins)
    • .claude/plugins/ (project-local plugins)
  • Marketplace catalogs:
    • .claude-plugin/marketplace.json (local marketplace)
    • ~/.claude/marketplace.json (global marketplace)
    • Use docs-management doc_id code-claude-com-docs-en-plugin-marketplaces for schema and field details.
  • Plugin components and defaults (canonical in doc_id code-claude-com-docs-en-plugins-reference):
    • Commands: commands/ (Markdown with frontmatter)
    • Agents: agents/ (Markdown with frontmatter)
    • Skills: skills/<skill-name>/SKILL.md (+ optional references/scripts)
    • Hooks: hooks/hooks.json (or inline in plugin.json)
    • MCP servers: .mcp.json (or inline in plugin.json)
  • plugin.json defines metadata and optional custom paths; ${CLAUDE_PLUGIN_ROOT} resolves the installed plugin root for hooks, MCP servers, and scripts.
  • Skill execution: follow the "Agent-Specific Instructions" section plus the referenced SKILL.md workflow and precedence rules.

Claude Code Component Inventory (Always Refresh)

  • Maintain a session inventory of Claude components from:
    • Repo .claude/ (agents, skills, commands, hooks, output styles, MCP config).
    • Repo plugins/ (per-plugin skills, agents, commands, hooks, MCP servers, output styles, and manifests).
    • User/global plugins under ~/.claude/plugins/marketplaces/ (Windows: %USERPROFILE%\.claude\plugins\marketplaces\), plus any project .claude/plugins/ entries.
  • Use rg --files for discovery. If sandbox blocks user-scope paths, request approval or ask the user to provide the list.
  • Use docs-management doc_ids code-claude-com-docs-en-plugins-reference and code-claude-com-docs-en-plugin-marketplaces for canonical schemas.

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.