ai-agent-skills
AGENTS.md9 starsChanged 7 months agoMITView on GitHub
This is a curated collection of skills for AI Agents. Skills are packaged instructions and scripts that extend your coding agents capabilities. When you add or rename a skill, keep these in sync: The README Skills table has a right-hand Registry column (generic label—not “ClawHub” in the header). Each cell is a shields.io badge linking to that skill’s public listing on ClawHub. Per-skill badge (copy pattern; substitute {clawhub-slug}): Listing URL: https://clawhub.ai/ysskrishna/{clawhub-slug} Slug source: clawhub_slug_map in scripts/publish_clawhub.py. Keys are skill directory…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analytical-thinkingSkill
- creative-thinkingSkill
- critical-thinkingSkill
- design-thinkingSkill
- ethical-thinkingSkill
- first-principles-thinkingSkill
- lateral-thinkingSkill
- six-thinking-hatsSkill
- strategic-thinkingSkill
- systems-thinkingSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
23 rules. About 0 are common, 9 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When you add or rename a skill, keep these in sync:
- Very specific: line 49
Add a new row to clawhub_slug_map whenever you publish a skill to ClawHub, then add the matching Registry badge in the README table.
- Very specific: line 55
Create skills/{skill-name}/SKILL.md with the required frontmatter (see below).
- Very specific: line 56
Add optional deep-dive files under skills/{skill-name}/references/ and link them from the body of SKILL.md instead of inflating the main …
- Distinctive: line 58
Add a row to the Skills table with a Registry badge (see README registry badges (ClawHub)).
- Very specific: line 59
Add the skill to clawhub_slug_map in scripts/publish_clawhub.py if it is published on ClawHub.
- Distinctive: line 63
Follow the examples already in the README.
- Very specific: line 65
Add a matching entry to the plugins array (name, source, description, and skills as needed).
- Very specific: line 66
Ensure name matches the skill directory and the name field in SKILL.md frontmatter so /plugin install resolves correctly.
- Distinctive: line 67
If the skill should surface in plugin discovery, consider updating keywords.
- Very specific: line 94
When you ship meaningful updates to a skill, bump metadata.version (or your chosen versioning field) if the skill uses one—see …
- Very specific: line 99
Must not start or end with -.
- Very specific: line 100
Must not contain consecutive hyphens (--).
- Distinctive: line 101
Must match the parent directory name.
- Very specific: line 107
Write the description so it works at a glance:
- Very specific: line 115
Put trigger guidance in frontmatter description, not only in the body—the body loads after the skill is already chosen.
- Very specific: line 119
Write concise, imperative instructions.
- Distinctive: line 135
Use minimal, consistent tagging.
- Distinctive: line 137
When a rule forbids something in a phase (e.g.
- Distinctive: line 141
Prefer one plain sentence on strength of case or uncertainty over ordinal scales (e.g.
- Distinctive: line 142
When a named workflow step could be mistaken for generic Setup, state explicitly whether Setup satisfies that step or a separate labeled …
- Very specific: line 149
If you add references/*.md, use a consistent, scannable format.
- Very specific: line 171
When you ship a repository semver release (distinct from per-skill metadata.version in SKILL.md, documented under Writing SKILL.md files …
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
This file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, Antigravity, etc.) when working with code in this repository.
Repository overview
This is a curated collection of skills for AI Agents. Skills are packaged instructions and scripts that extend your coding agents capabilities.
Repository structure
skills/
{skill-name}/
SKILL.md
references/ # optional; add when a skill needs extra on-demand docs
.claude-plugin/ # Claude Code plugin + marketplace metadata
.github/workflows/ # release automation (GitHub Releases on version tags)When you add or rename a skill, keep these in sync:
- README.md — Skills table (including Registry badge column), Installation section, and footer ClawHub link when applicable.
- scripts/publish_clawhub.py —
clawhub_slug_mapentry (and publish when listing on ClawHub). - .claude-plugin/marketplace.json —
pluginscatalog for Claude Code. - Claude Code install line:
/plugin install {skill-name}@ai-agent-skills. - skills.sh install line:
npx skills add ysskrishna/ai-agent-skills --skill {skill-name}. - GitHub CLI install line:
gh skill install ysskrishna/ai-agent-skills {skill-name}.
README registry badges (ClawHub)
The README Skills table has a right-hand Registry column (generic label—not “ClawHub” in the header). Each cell is a shields.io badge linking to that skill’s public listing on ClawHub.
Per-skill badge (copy pattern; substitute {clawhub-slug}):
[](https://clawhub.ai/ysskrishna/{clawhub-slug})Listing URL: https://clawhub.ai/ysskrishna/{clawhub-slug}
Slug source: clawhub_slug_map in scripts/publish_clawhub.py. Keys are skill directory names under skills/; values are the ClawHub slug. When they match, use the directory name as the slug. Remapped today:
| Directory | ClawHub slug |
six-thinking-hats | six-hats-thinking |
first-principles-thinking | first-principles-reasoning |
Add a new row to clawhub_slug_map whenever you publish a skill to ClawHub, then add the matching Registry badge in the README table.
Creating a new skill
Skills follow the Agent Skills Open Standard.
- Create
skills/{skill-name}/SKILL.mdwith the required frontmatter (see below). - Add optional deep-dive files under
skills/{skill-name}/references/and link them from the body ofSKILL.mdinstead of inflating the main file. - Register the skill in README.md.
- Add a row to the Skills table with a Registry badge (see README registry badges (ClawHub)).
- Add the skill to
clawhub_slug_mapin scripts/publish_clawhub.py if it is published on ClawHub. - Extend Installation with a Claude Code line:
/plugin install {skill-name}@ai-agent-skills. - Extend Installation with a skills.sh line:
npx skills add ysskrishna/ai-agent-skills --skill {skill-name}. - Extend Installation with a GitHub CLI line:
gh skill install ysskrishna/ai-agent-skills {skill-name}. - Follow the examples already in the README.
- Register the skill in .claude-plugin/marketplace.json.
- Add a matching entry to the
pluginsarray (name,source,description, andskillsas needed). - Ensure
namematches the skill directory and thenamefield inSKILL.mdfrontmatter so/plugin installresolves correctly.
- Add a matching entry to the
- If the skill should surface in plugin discovery, consider updating keywords.
- .claude-plugin/plugin.json
Writing SKILL.md files
SKILL.md is YAML frontmatter followed by Markdown instructions.
Frontmatter (required)
---
name: skill-name
description: >
Use this skill when the user ... (intent and triggers). Optional: skip when
... (task-shape boundaries only—do not route to other skills by name).
---| Field | Required | Constraints |
name | Yes | 1–64 chars. Lowercase alphanumeric and hyphens only. Must match the directory name. |
description | Yes | 1–1024 chars. Primary trigger signal: imperative when-to-use, user intent, concrete triggers (see Description field below). |
license | No | License name or reference to a bundled license file. |
metadata | No | Arbitrary key-value pairs (e.g. author, version). |
When you ship meaningful updates to a skill, bump metadata.version (or your chosen versioning field) if the skill uses one—see skills/six-thinking-hats/SKILL.md for an example.
Name field rules
- Lowercase letters, numbers, and hyphens only (
a-z,0-9,-). - Must not start or end with
-. - Must not contain consecutive hyphens (
--). - Must match the parent directory name.
Description field (critical)
The description is how agents decide whether to activate the skill. See Optimizing skill descriptions for trigger testing and iteration.
Write the description so it works at a glance:
- Imperative open — start with “Use this skill when…” (or equivalent). The agent is choosing an action; tell it when to load this skill, not only what the skill contains.
- User intent first — say what the user is trying to accomplish (decide, audit, brainstorm in a fixed structure, etc.), then the method labels. Avoid opening with implementation-only framing (“Applies the X framework…”) without a when-to-use clause in the same breath.
- Obvious phrasing early — if people often say the skill name or a stock phrase (“critical thinking”, “six thinking hats”), put that near the start, not only buried in a long parenthetical list. You can still add indirect triggers after.
- Concrete triggers — topics, tasks, casual and indirect phrasing, and “even if they don’t say …” style coverage where it helps recall.
- (Optional) When not to use — only if it materially cuts false activations. State boundaries as task shape (execution-only, plain factual lookup, single-angle hot take with no structured pass, etc.). Do not point at other skills in this repo by name, method, or “use skill Y instead” routing—those lists do not scale as the catalog grows and they go stale fast. The Agent Skills Open Standard does not require negatives—many published skills omit them.
Put trigger guidance in frontmatter description, not only in the body—the body loads after the skill is already chosen.
Body content
Write concise, imperative instructions. Prefer short examples and links to references/ for long material.
Suggested structure:
- Quick start or core workflow.
- Key patterns with examples.
- Pointers to reference files for advanced topics.
Progressive disclosure
- Metadata — always available to the agent.
- Body — loaded when the skill triggers; keep it lean.
- References — load on demand via links from the body.
Skill authoring quality (recommended)
- Use minimal, consistent tagging; avoid parallel bracket vocabularies (e.g. Setup vs phases) without a one-line rule for where each applies. Prefer prose in Setup and a small tag set only where structure matters.
- Keep checklists aligned with body and execution rules—no bullets that contradict optional paths. Either specify branching fully or prefer a fixed canonical phase order unless the skill truly needs skips or reorders; if phases vary by run, Setup must state the exact sequence for that response.
- When a rule forbids something in a phase (e.g. no new factual assertions), say what to do instead (structural gap label, ask the user, etc.).
- Thread early distinctions through later phases and Conclusion (e.g. factual vs normative): if you introduce a split up front, say how later steps use it.
- Align falsifiers, uncertainty, and voice to the skill’s Focus (whose claim, which party, impersonal review)—avoid ambiguous first person.
- Frame short example lists (biases, fallacies, prompts) as examples, not exhaustive catalogs, unless you intend completeness.
- Prefer one plain sentence on strength of case or uncertainty over ordinal scales (e.g. High / Medium / Low) unless you commit to maintaining a rubric in the skill.
- When a named workflow step could be mistaken for generic Setup, state explicitly whether Setup satisfies that step or a separate labeled section is required.
- For content shared across many skills, use one
references/*.mdand one-line links from each skill instead of duplicating large routing or comparison blocks.
Optional reference files
If you add references/*.md, use a consistent, scannable format. Example pattern:
---
title: Short title
impact: HIGH
tags: keyword-one, keyword-two
---
## Title
Brief explanation.
**Avoid:** bad pattern or snippet.
**Prefer:** good pattern or snippet.Repository release versioning
When you ship a repository semver release (distinct from per-skill metadata.version in SKILL.md, documented under Writing SKILL.md files above), update these together:
- CHANGELOG.md — add
## [X.Y.Z]with release notes and a footer reference link at the bottom (e.g.releases/tag/vX.Y.Z, orcompare/vA.B.C...vX.Y.Zper Keep a Changelog). - .claude-plugin/plugin.json — top-level
version. - .claude-plugin/marketplace.json —
metadata.version.
Then push an annotated Git tag vX.Y.Z; .github/workflows/release.yml creates the GitHub Release (notes prefer the tag message, else the matching changelog section).
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.

