agent-skills
AGENTS.md5 starsChanged 10 days agoMITView on GitHub
Guidance for AI coding agents (Claude Code, Cursor, Copilot, Grok, etc.) working in this repository. Personal collection of agent skills. Skills are packaged instructions, scripts, and references that extend agent capabilities across coding agents. This repo also doubles as a Claude Code plugin marketplace via .claude-plugin/marketplace.json for Claude Code installs; the skill folders themselves are harness-agnostic. Before you add or change a skill, a subagent in agents/, or the mod in hooks/mods/, read docs/authoring.md: naming, directory layout and agents/openai.yaml, frontmatter…
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 31,774 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 repository57 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architecture-satisfactionSkill
- autopilotSkill
- browser-testSkill
- chatter-scoutSkill
- closeoutSkill
- codebase-designSkill
- code-reviewSkill
- code-smells-auditSkill
- commitSkill
- dependency-auditSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- fix-ci-failuresSkill
- fix-github-issuesSkill
- fix-nightwatch-issuesSkill
- fix-posthog-issuesSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- harness-toolsSkill
- housekeeperSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- laravel-herd-worktreesSkill
- panelSkill
- prototypeSkill
- prSkill
- prune-testsSkill
- releaseSkill
- repository-cleanupSkill
- researchSkill
- resolve-review-commentsSkill
- resolving-merge-conflictsSkill
- retroSkill
- run-afterSkill
- scratch-cleanupSkill
- scratch-statusSkill
- setupSkill
- sweepSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triage-github-prSkill
- triageSkill
- ui-designSkill
- upgrade-planSkill
- verifySkill
- wait-whatSkill
- wayfinderSkill
- which-skillSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Before you add or change a skill, a subagent in agents/, or the mod in hooks/mods/, read docs/authoring.md: naming, directory layout and …
- Distinctive: line 44
No dead references: Every skill a skill mentions must exist in this repo (or be a documented harness built-in).
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
AGENTS.md
Guidance for AI coding agents (Claude Code, Cursor, Copilot, Grok, etc.) working in this repository.
Repository Overview
Personal collection of agent skills. Skills are packaged instructions, scripts, and references that extend agent capabilities across coding agents.
This repo also doubles as a Claude Code plugin marketplace via .claude-plugin/marketplace.json for Claude Code installs; the skill folders themselves are harness-agnostic.
Layout
.claude-plugin/marketplace.json # Claude Code plugin manifest
skills/<skill-name>/SKILL.md # one folder per skill
agents/<agent-name>.md # Claude Code subagents the skills dispatch (see docs/authoring.md)
hooks/hooks.json # Claude Code plugin hooks, each keyed to its agent types, plus the mod module (see docs/authoring.md)
hooks/mods/register.tsx # the plugin's one Claude Code mod module, pure helpers and tests beside it (see docs/authoring.md)
types/index.d.ts # the mod's $.state contract
hooks/*.py # guard scripts shared by more than one skill, with their tests
hooks/bare-worktree-notice.sh # SessionStart notice for a bare Laravel worktree (see Worktrees)
hooks/terminal-bell.sh # Ghostty-only bell when Claude asks a question or waits on the user
template/SKILL.md.example # starting point; renamed so installers do not treat it as a real skillAuthoring
Before you add or change a skill, a subagent in agents/, or the mod in hooks/mods/, read docs/authoring.md: naming, directory layout and agents/openai.yaml, frontmatter and invocation policy, marketplace and README registration, subagent rules, and mod rules. CI (scripts/verify-skills-collection.sh) enforces most of it.
Worktrees
Six kinds of skill create a worktree: triage-github-pr and fix-ci-failures (dirty-tree recipes), fix-github-issues (every run), to-spec (briefly, to commit a spec on its own branch), implement (PR delivery), implement-spec (one per implementer), and sweep (one per cycle). Each one bootstraps, registers databases, removes, and asks about leftovers only through laravel-herd-worktrees (Bootstrap a bare worktree, Remove a served worktree, Scratch database registry), never with git's --force and never on anything its run did not create. A new worktree-creating skill points there rather than restating the recipe. Anything left over is repository-cleanup's, which removes only what the user selects. hooks/bare-worktree-notice.sh only points a bare Laravel worktree session at the bootstrap: no plugin hook can run it (WorktreeCreate is not plugin-registrable, and SubagentStart carries no working directory).
Best Practices
How to write one is the writing-for-agents skill: it is model-invoked, so reach for it rather than working from this file. Only what is specific to this repo lives here:
- Where the shared protocols live. A protocol several skills need has exactly one owner, and the others point at it: the question shape and STE rules in
grilling, tracker operations insetup's seeds, the end-of-session banner inwayfinder/references/pipeline-end-block.md, the ticket board inwayfinder/references/ticket-board.md, and each harness's sub-agent and question tools inharness-tools. - Status marks in chat reports. Four marks, used sparingly so a report scans fast: ✅ done, passed, or fixed · ❌ failed · ⚠️ needs the user (blocked, unsure, a risk, kept for a decision) · 👉 the next step.
- Questions in chat. Any question that needs the user's decision goes through the structured question (harness-tools), never as chat text. A
⚠️ Needs you: <text>line is rare: only for an important side note, or an optional question the run does not need answered, last in the reply after a---line, at most two, never inside a code block. Most replies have none, and an unanswered one is not asked again. - Mark placement. One mark at the start of a status line or verdict cell, in front of the plain word, which stays (
✅ fixed in abc123), so nothing that reads the word breaks. No marks in headings, prose, or lines with no status. Chat only: never in files a skill writes, commits, PR bodies, tracker or GitHub comments,ReportFindingsfields, subagent reports, or script output. Each skill that uses them says which, in one line beside its report format. - Length. Most skills here are 10–130 lines. Treat anything longer as owing an explanation.
- Prefer scripts over inline code. Script execution does not consume context: only its stdout does.
- No dead references. Every skill a skill mentions must exist in this repo (or be a documented harness built-in). Check before committing.
Script Requirements
#!/bin/bashshebangset -efor fail-fast- Status messages → stderr (
echo "msg" >&2) - Machine-readable output (JSON) → stdout
- Cleanup trap for temp files
Distribution Notes
- Skills in this repo cross-link freely via
../<skill>/pointers so shared protocols, templates, and references live in one place. Install the repo as a collection (or copy any linked target along with a standalone skill). The pipeline skills share one end-of-session banner,wayfinder/references/pipeline-end-block.md, rather than eight copies of it; the verifier asserts that file exists and that the pipeline skills still point at it. - Network access for skills running in claude.ai must be allowlisted at
claude.ai/settings/capabilities.
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.

