agentleFS
SepantaJoshaniSepantaJoshani/agents-skills/AGENTS.md

agents-skills

AGENTS.md1 starsChanged 5 months agoApache-2.0View on GitHub

This repository publishes open-source agent skills to skills.sh. Skills are discovered and installed via the npx skills CLI, which scans the skills/ directory for valid SKILL.md files. Each skill follows the Agent Skills specification: Every SKILL.md must have: - YAML frontmatter with name (lowercase, hyphens only, must match directory name) and description (used by agents to decide when to activate the skill) - Markdown body with instructions the agent follows when the skill is active The description field is critical…

  • 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,773 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 repository4 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every SKILL.md must have:

    line 24
  2. Very specific:

    Keep SKILL.md under 500 lines (move detailed docs to references/)

    line 32
  3. Very specific:

    Use relative paths (./scripts/, ./references/) for portability across agents

    line 34
  4. Very specific:

    Create/modify skill in skills/<skill-name>/

    line 39
  5. Very specific:

    Test locally: npx skills add .

    line 40
  6. Distinctive:

    Commit and push to GitHub (repo must be public)

    line 41
  7. Distinctive:

    Test a skill before publishing:

    line 48
  8. Distinctive:

    When creating commits in this repository:

    line 73
  9. Very specific:

    Check if generate-commit-message skill is installed (or any commit message generation skill)

    line 74
  10. Distinctive:

    If available, use it to generate commit messages

    line 75
  11. Distinctive:

    If not, examine recent commits (git log --oneline -10) to match the repo's style

    line 76
  12. Distinctive:

    Follow the cbea.ms conventions: imperative mood, ≤50 char subject, capitalized, no trailing period

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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, Codex, Cursor, etc.) when working with code in this repository.

Repository Purpose

This repository publishes open-source agent skills to skills.sh. Skills are discovered and installed via the npx skills CLI, which scans the skills/ directory for valid SKILL.md files.

Skills Architecture

Each skill follows the Agent Skills specification:

skills/
└── <skill-name>/
    ├── SKILL.md           # Required: YAML frontmatter + markdown instructions
    ├── scripts/           # Optional: Python/Bash executables
    ├── references/        # Optional: Documentation loaded on-demand
    └── assets/            # Optional: Templates, images, etc.

SKILL.md Format

Every SKILL.md must have:

  • YAML frontmatter with name (lowercase, hyphens only, must match directory name) and description (used by agents to decide when to activate the skill)
  • Markdown body with instructions the agent follows when the skill is active

The description field is critical — it's always in the agent's context and determines auto-invocation.

Key Constraints

  • Keep SKILL.md under 500 lines (move detailed docs to references/)
  • Directory name must exactly match the name field in frontmatter
  • Use relative paths (./scripts/, ./references/) for portability across agents
  • Generalize for any repository — avoid hardcoded project-specific logic

Publishing Workflow

  1. Create/modify skill in skills/<skill-name>/
  2. Test locally: npx skills add . (installs from local repo)
  3. Commit and push to GitHub (repo must be public)
  4. Trigger indexing: npx skills add SepantaJoshani/agents-skills

Skills.sh automatically indexes via anonymous telemetry — no registration required.

Testing Skills Locally

Test a skill before publishing:

# Install from local directory
npx skills add . --skill <skill-name>

# Verify it installed
npx skills list

# Remove after testing
npx skills remove <skill-name>

Installed skills appear in .claude/skills/, .cursor/skills/, etc. depending on detected agents.

Skill Interdependencies

Skills can reference other skills without hard dependencies. Example pattern from address-pr-comments:

"Examine recent commits (git log --oneline -10) to understand the repository's commit message style. If a commit message generation skill is installed, use it. Otherwise, write a concise commit message from the staged diff that follows the same conventions."

This allows skills to work independently while being enhanced when paired.

Committing Changes

When creating commits in this repository:

  1. Check if generate-commit-message skill is installed (or any commit message generation skill)
  2. If available, use it to generate commit messages
  3. If not, examine recent commits (git log --oneline -10) to match the repo's style
  4. Follow the cbea.ms conventions: imperative mood, ≤50 char subject, capitalized, no trailing period

Requirements

  • GitHub CLI (gh): Required for address-pr-comments skill
  • Python 3.8+: Required for address-pr-comments/scripts/list_comments.py

Skills should document their dependencies in the repo README, not in SKILL.md (which is consumed by agents, not users).

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.