skills
AGENTS.md1 starsChanged 14 days agoMITView on GitHub
This file governs an agent's behavior when working on the skills repository. This repository is a single Agent Plugin (spec v1.0.0), a Cursor Plugin, and a Codex plugin. The repository root is the plugin root for all of them. - Skills are discovered only as immediate children of skills/ (no nesting, and no skills outside of skills/). The skill directory name must match its name. - plugin.json has a closed schema. Only $schema, name, version, description, author, homepage, repository, license,…
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,542 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 repository27 other files it gives its agents.
- golang-tui-update-examplesSkill
- upstream-syncSkill
- apply-worktreeSkill
- babysit-prSkill
- documentation-writerSkill
- file-prSkill
- frontend-designSkill
- golang-packagesSkill
- golangSkill
- golang-tuiSkill
- grill-meSkill
- karpathy-guidelinesSkill
- kubernetes-specialistSkill
- kubernetes-upgrade-analysisSkill
- leaving-gh-commentsSkill
- mermaid-diagramsSkill
- modernizeSkill
- nuclear-reviewSkill
- remotion-best-practicesSkill
- reviewSkill
- security-auditSkill
- shadcn-vueSkill
- sharpenSkill
- simplifySkill
- tui-designSkill
- unslopSkill
- writing-for-agentsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
20 rules. About 0 are common, 10 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Keep name, description, and metadata in .cursor-plugin/plugin.json, the plugin entry in .cursor-plugin/marketplace.json, the plugin entry …
- Distinctive: line 67
All files must resolve within the repository root.
- Very specific: line 95
Critical: Never put process steps or workflow sequences in descriptions.
- Distinctive: line 196
Must resolve to existing skill directories.
- Distinctive: line 203
No specific headers are required.
- Distinctive: line 208
Keep files focused on a single topic.
- Distinctive: line 213
Do not use em-dashes, smart quotes, or other non-ASCII characters for formatting.
- Very specific: line 257
If the skill directory (skills/<name>/) appears under a remote's file_includes dest entry, it is pulled from upstream.
- Very specific: line 260
If the remote entry lists patches, local customizations belong in .github/patches/.
- Very specific: line 261
Add or edit patch files there, register them under patches in remotes.yaml, then re-sync with task sync (or …
- Very specific: line 268
Check existing skills for overlap
- Very specific: line 269
Create skills/<skill-name>/SKILL.md with capability + trigger description (no process steps)
- Distinctive: line 271
Create reference files for deep content (100+ lines)
- Distinctive: line 272
Add routing table linking topics to references
- Distinctive: line 273
Test skill triggers with realistic prompts
- Very specific: line 274
Add the skill to the Skills table in README.md (link to SKILL.md, one-line summary of capability and purpose)
- Very specific: line 279
Check remotes.yaml first to see if the skill is synced from upstream and/or patched (see Remote Skills above).
- Distinctive: line 281
Read the full current skill before editing
- Distinctive: line 285
Verify routing table accuracy
- Very specific: line 286
Keep README.md Skills table in sync when changes are substantial: new or removed skills, renamed skill directories, or material shifts 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
<!--
Adapted from & credit to: https://github.com/Jeffallan/claude-skills/blob/main/CLAUDE.md
-->Agent Skills Project Configuration
This file governs an agent's behavior when working on the skills repository.
Plugin Layout
This repository is a single Agent Plugin (spec v1.0.0), a Cursor Plugin, and a Codex plugin. The repository root is the plugin root for all of them.
.
├── plugin.json # Agent Plugins manifest (portable: skills + MCP servers; Codex reads it)
├── .agents/plugins/
│ └── marketplace.json # Codex marketplace; one local entry (path "./") for the repo root
├── .claude-plugin/
│ └── marketplace.json # Claude Code marketplace; the entry (source "./") is the plugin manifest
├── .cursor-plugin/
│ ├── plugin.json # Cursor Plugin manifest (adds agents, rules, commands, hooks)
│ └── marketplace.json # makes the repo a Cursor marketplace containing just this plugin
├── skills/ # every skill lives in skills/<skill-name>/SKILL.md
├── agents/ # Cursor custom agents (*.md)
├── hooks/
│ ├── hooks.json # Claude Code hooks (auto-discovered; Claude format)
│ ├── cursor.json # Cursor hooks (selected by .cursor-plugin/plugin.json)
│ ├── codex.json # Codex hooks (selected by plugin.json extensions.com.openai.hooks)
│ └── wakapi.sh # shared Wakapi sync; no-ops unless a Wakapi config exists
└── mcp.json # (optional) MCP servers, same spec version as plugin.json- Skills are discovered only as immediate children of
skills/(no nesting, and no skills outside ofskills/). The skill directory name must match itsname. plugin.jsonhas a closed schema. Only$schema,name,version,description,author,homepage,repository,license,keywords, andextensionsare allowed top-level fields. Client-specific manifest data goes underextensions.- Keep
name,description, and metadata in.cursor-plugin/plugin.json, the plugin entry in.cursor-plugin/marketplace.json, the plugin entry in.claude-plugin/marketplace.json, and the plugin entry andinterfacein.agents/plugins/marketplace.jsonin sync withplugin.json. Codex-specific manifest data (hooks,interface) lives underextensions.com.openaiinplugin.json, with paths starting with./. Do not add a.codex-plugin/plugin.json. There is deliberately no.claude-plugin/plugin.json, so Claude Code uses the marketplace entry as the manifest. Validate withclaude plugin validate .. - The portable spec only defines skills and MCP servers. Other component types are
client-specific. For Cursor, use
agents/,rules/,commands/, andhooks/at the root (discovered automatically). Files for other clients belong in a top-level directory named for that client's reverse-domain namespace (e.g.com.example.client/). - Cursor, Claude Code, and Codex all default to
hooks/hooks.json. Claude Code auto-discovershooks/hooks.json..cursor-plugin/plugin.jsonsetshookstohooks/cursor.json, which replaces Cursor's folder discovery so Cursor does not parse the Claude file.plugin.jsonsetsextensions.com.openai.hooksto./hooks/codex.json, so Codex reports ascodexrather than running the Claude file (Codex also setsCLAUDE_PLUGIN_ROOT). Codex hooks use${PLUGIN_ROOT}, need trusting with/hooks, and Codex CLI 0.166 does not run plugin hooks at all. All three runhooks/wakapi.sh. Leave that split in place. The script exits immediately unless$WAKATIME_HOME/.wakatime.cfg(~/.wakatime.cfgby default) has anapi_urlwhose host is outsidewakatime.com, an API key, andwakatime-cliis installed. It does not install the CLI or write a config. - All files must resolve within the repository root. Do not add symlinks that point outside of it.
- Dev-only content (
.github/,.cursor/,.agents/skills/,test-prompts/,tmp/) is not part of the plugin's components, and must never be referenced by skills or agents. ./.github/scripts/install-symlinks.sh(task) symlinks the repo root into~/.agents/plugins/<plugin name>. When thecodexCLI is present, it adds this repo as a git marketplace (codex plugin marketplace add <repo> --ref master, orupgradeif already added) and runscodex plugin add. When the CursoragentCLI is present, it runsagent plugin marketplace add(orupdate) for this repo. Neither client reads~/.agents/plugins, and both install from the git remote, so changes must be pushed first. Codex is deliberately not given a local-path marketplace: installs copy the whole plugin root, which would include the ignoredtmp/../.github/scripts/refresh-clients.sh(task refresh) updates the installed plugin in Claude Code and Codex (marketplace upgrade, thencodex plugin addagain) and re-indexes the Cursor marketplace, so new skills show up without reinstalling. Push first. Claude Code needs a restart, Codex needs a new session, and Cursor's installed plugin must be updated from its customize page. If the Cursor marketplace was added pinned to a commit, the script reports it and prints the remove +add --git-ref masterfix.
Skill Authorship Standards
Skills follow the Agent Skills specification. This section covers project-specific conventions that go beyond the base spec.
The Description Trap
Critical: Never put process steps or workflow sequences in descriptions. When descriptions contain step-by-step instructions, agents follow the brief description instead of reading the full skill content. This defeats the purpose of detailed skills.
Brief capability statements (what it does) and trigger conditions (when to use it) are both appropriate. Process steps (how it works) are not.
BAD - Process steps in description:
description: Use for debugging. First investigate root cause, then analyze
patterns, test hypotheses, and implement fixes with tests.GOOD - Capability + trigger:
description: Diagnoses bugs through root cause analysis and pattern matching.
Use when encountering errors or unexpected behavior requiring investigation.Format: [Brief capability statement]. Use when [triggering conditions].
Descriptions tell WHAT the skill does and WHEN to use it. The SKILL.md body tells HOW.
Frontmatter Requirements
Per the Agent Skills specification, only
name and description are top-level required fields. Custom fields go under
metadata.
---
name: skill-name-with-hyphens
description: [Brief capability statement]. Use when [triggering conditions] - max 1024 chars
license: MIT
metadata:
author: https://github.com/lrstanley
domain: frontend
triggers: keyword1, keyword2, keyword3
role: specialist
scope: implementation
output-format: code
related-skills: foo-bar, baz-qux
---Top-level fields (spec-defined):
name: Letters, numbers, and hyphens only (no parentheses or special characters)description: Maximum 1024 characters. Capability statement + trigger conditions. No process steps.license: AlwaysMITfor this projectallowed-tools: Space-delimited tool list (only on skills that restrict tools)
Metadata fields (project-specific):
author: GitHub profile URL of the skill author.domain: Category from the domain list below.languagebackendfrontendinfrastructureapi-architecturequalitydevopssecuritydata-mlplatform
triggers: Comma-separated searchable keywords.role:specialistexpertarchitectengineer
scope:implementationreviewdesignsystem-designtestinganalysisinfrastructureoptimizationarchitecture
output-format:codedocumentreportarchitecturespecificationschemamanifestsanalysisanalysis-and-codecode+analysis
related-skills:- Comma-separated skill directory names (e.g.,
foo-bar, baz-qux). - Must resolve to existing skill directories.
- Comma-separated skill directory names (e.g.,
Reference File Standards
Reference files follow the Agent Skills specification. No specific headers are required.
Guidelines:
- 100-600 lines per reference file.
- Keep files focused on a single topic.
- Complete, working code examples with necessary types.
- Cross-reference related skills where relevant.
- Include "when to use" and "when not to use" guidance.
- Practical patterns over theoretical explanations.
- Do not use em-dashes, smart quotes, or other non-ASCII characters for formatting.
Framework Idiom Principle
Reference files for framework-specific skills must reflect the idiomatic best practices of that framework, not generic patterns applied uniformly across all skills. If a framework provides a built-in mechanism (e.g., global error handling, middleware, dependency injection), reference examples should use it rather than duplicating that behavior manually. Each framework's conventions for error handling, architecture, and code organization take precedence over cross-project consistency.
Progressive Disclosure Architecture
Tier 1 - SKILL.md (~80-100 lines)
- Role definition and expertise level.
- When-to-use guidance (triggers).
- Core workflow (5 steps).
- Constraints (MUST DO / MUST NOT DO).
- Routing table to references.
Tier 2 - Reference Files (100-600 lines each)
- Deep technical content.
- Complete code examples.
- Edge cases and anti-patterns.
- Loaded only when context requires.
Goal: 50% token reduction through selective loading.
Project Workflow
Remote Skills (remotes.yaml)
Some skills are synced from upstream Git repositories rather than authored directly in
this repo. remotes.yaml is the source of truth for which skills are remote-sourced
and how they are customized.
Before modifying any skill, check remotes.yaml first.
- If the skill directory (
skills/<name>/) appears under a remote'sfile_includesdestentry, it is pulled from upstream. Direct edits to files in that directory will be overwritten on the next sync. - If the remote entry lists
patches, local customizations belong in.github/patches/. Add or edit patch files there, register them underpatchesinremotes.yaml, then re-sync withtask sync(or./.github/scripts/update-remotes.py --filter <remote-name>). - To bump an upstream remote to a newer commit, use
task up(or./.github/scripts/update-remotes.py --update).
When Creating New Skills
- Check existing skills for overlap
- Create
skills/<skill-name>/SKILL.mdwith capability + trigger description (no process steps) - Create reference files for deep content (100+ lines)
- Add routing table linking topics to references
- Test skill triggers with realistic prompts
- Add the skill to the Skills table in
README.md(link toSKILL.md, one-line summary of capability and purpose)
When Modifying Skills
- Check
remotes.yamlfirst to see if the skill is synced from upstream and/or patched (see Remote Skills above). Do not edit remote-synced skill files directly. - Read the full current skill before editing
- Maintain capability + trigger description format (no process steps)
- Preserve progressive disclosure structure
- Update related cross-references
- Verify routing table accuracy
- Keep
README.mdSkills table in sync when changes are substantial: new or removed skills, renamed skill directories, or material shifts in what the skill is for (typically reflected in frontmatterdescriptionor core scope). Routine reference edits or typo fixes that do not change purpose do not require a README update.
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.

