
Awesome AGENTS.md

[!IMPORTANT]
This project moved to khasky/silverback and this repository is archived. The plugin is now silverback: uninstall awesome-agents-md and install silverback from the new repository.
A ruleset written in the AGENTS.md format, with shared rules for AI coding agents: Claude Code, OpenAI Codex, Gemini, Kimi Code, Cursor, plus optional rule modules in rules/ that load on demand. Clone once, import it globally into every agent you use.
The always-loaded core covers: concise token-efficient communication, a coding discipline that stops at the first rung that holds (smallest correct diff, no speculative abstractions), a hard verification gate before any "done" claim, and a commit-proposal habit with no assistant traces. The procedure for larger work (assumptions, plans, the last pass before "done", debugging) loads from rules/workflow.md when the task calls for it, so the always-loaded part stays under 10 KB. On-demand modules in rules/ extend it — commit messages that inherit the target repo's own convention, backend security, databases, caching, resilience, deployment and infrastructure definitions, payments, and more.
No hard dependencies and nothing tool-specific. The ruleset is framework- and project-agnostic — it holds for any stack and any of the agents listed under Prerequisites, with nothing extra to install.
Contents
Repository layout
AGENTS.md # the core ruleset — always loaded, under 200 instruction lines and 32 KiB (CI-enforced)
rules/ # on-demand modules, read only when the task matches; rules/INDEX.md lists
# them with their triggers, and CI fails if a module there is missing
# or a module here is unlisted
README.md # setup and optional tooling (this file)
llms.txt # index of the core and every module for LLM consumption —
# CI keeps it two-way synced with rules/
hooks/ # plugin-hooks.json and the hook scripts: load-core (SessionStart),
# subagent (SubagentStart), guard (PreToolUse); each ships as .sh (Claude Code)
# and .ps1 (Codex on Windows)
.claude-plugin/ # plugin.json and marketplace.json for the Claude Code plugin; Codex reads the
# marketplace too
.codex-plugin/ # plugin.json for the Codex plugin
gemini-extension.json # the Gemini CLI extension: loads AGENTS.md as a context file, no hooks
qwen-extension.json # the same for Qwen Code
kimi.plugin.json # the Kimi Code plugin: loads AGENTS.md into the system prompt
scripts/ # lint.py — every gate above, run by CI and by the optional
# pre-commit hook that install-hooks.py sets up
evals/ # benchmark/ runs this ruleset and five other plugins on the same
# tasks (Benchmark below); tasks/ holds the trap tasks it scores
The core is self-sufficient. Agents read rules/*.md only when the task matches (editing Markdown, styling UI, a dedicated refactor, ...) and skip them if the clone can't be located — so importing the single AGENTS.md is always enough.
The 200-instruction cap is not cosmetic: frontier models follow roughly 150–200 instructions reliably (measured by IFScale), and the agent's own system prompt already spends ~50 of them. Everything past that budget degrades adherence to the rules that matter. The file also stays under 32 KiB, the default project_doc_max_bytes past which Codex silently truncates project instructions.
Prerequisites
One of the agents, installed by its own instructions: