agentleFS
ysskrishnaysskrishna/ai-agent-skills/AGENTS.md

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…

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
  1. Distinctive:

    When you add or rename a skill, keep these in sync:

    line 21
  2. Very specific:

    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.

    line 49
  3. Very specific:

    Create skills/{skill-name}/SKILL.md with the required frontmatter (see below).

    line 55
  4. Very specific:

    Add optional deep-dive files under skills/{skill-name}/references/ and link them from the body of SKILL.md instead of inflating the main …

    line 56
  5. Distinctive:

    Add a row to the Skills table with a Registry badge (see README registry badges (ClawHub)).

    line 58
  6. Very specific:

    Add the skill to clawhub_slug_map in scripts/publish_clawhub.py if it is published on ClawHub.

    line 59
  7. Distinctive:

    Follow the examples already in the README.

    line 63
  8. Very specific:

    Add a matching entry to the plugins array (name, source, description, and skills as needed).

    line 65
  9. Very specific:

    Ensure name matches the skill directory and the name field in SKILL.md frontmatter so /plugin install resolves correctly.

    line 66
  10. Distinctive:

    If the skill should surface in plugin discovery, consider updating keywords.

    line 67
  11. Very specific:

    When you ship meaningful updates to a skill, bump metadata.version (or your chosen versioning field) if the skill uses one—see …

    line 94
  12. Very specific:

    Must not start or end with -.

    line 99
  13. Very specific:

    Must not contain consecutive hyphens (--).

    line 100
  14. Distinctive:

    Must match the parent directory name.

    line 101
  15. Very specific:

    Write the description so it works at a glance:

    line 107
  16. Very specific:

    Put trigger guidance in frontmatter description, not only in the body—the body loads after the skill is already chosen.

    line 115
  17. Very specific:

    Write concise, imperative instructions.

    line 119
  18. Distinctive:

    Use minimal, consistent tagging.

    line 135
  19. Distinctive:

    When a rule forbids something in a phase (e.g.

    line 137
  20. Distinctive:

    Prefer one plain sentence on strength of case or uncertainty over ordinal scales (e.g.

    line 141
  21. Distinctive:

    When a named workflow step could be mistaken for generic Setup, state explicitly whether Setup satisfies that step or a separate labeled …

    line 142
  22. Very specific:

    If you add references/*.md, use a consistent, scannable format.

    line 149
  23. Very specific:

    When you ship a repository semver release (distinct from per-skill metadata.version in SKILL.md, documented under Writing SKILL.md files …

    line 171

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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_map entry (and publish when listing on ClawHub).
  • .claude-plugin/marketplace.json — plugins catalog 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}):

[![Clawhub](https://img.shields.io/badge/Clawhub-informational)](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:

DirectoryClawHub slug
six-thinking-hatssix-hats-thinking
first-principles-thinkingfirst-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.

  1. Create skills/{skill-name}/SKILL.md with the required frontmatter (see below).
  2. Add optional deep-dive files under skills/{skill-name}/references/ and link them from the body of SKILL.md instead of inflating the main file.
  3. 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_map in 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.
  4. Register the skill in .claude-plugin/marketplace.json.
    • Add a matching entry to the plugins array (name, source, description, and skills as needed).
    • Ensure name matches the skill directory and the name field in SKILL.md frontmatter so /plugin install resolves correctly.
  5. 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).
---
FieldRequiredConstraints
nameYes1–64 chars. Lowercase alphanumeric and hyphens only. Must match the directory name.
descriptionYes1–1024 chars. Primary trigger signal: imperative when-to-use, user intent, concrete triggers (see Description field below).
licenseNoLicense name or reference to a bundled license file.
metadataNoArbitrary 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:

  1. 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.
  2. 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.
  3. 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.
  4. Concrete triggers — topics, tasks, casual and indirect phrasing, and “even if they don’t say …” style coverage where it helps recall.
  5. (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:

  1. Quick start or core workflow.
  2. Key patterns with examples.
  3. Pointers to reference files for advanced topics.

Progressive disclosure

  1. Metadata — always available to the agent.
  2. Body — loaded when the skill triggers; keep it lean.
  3. 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/*.md and 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, or compare/vA.B.C...vX.Y.Z per 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).

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.