agent-skills
AGENTS.md94 starsChanged 25 days agoMITView on GitHub
use skill-creator skill for creating agent skill A collection of skills for AI agents. Skills are packaged instructions and scripts that extend Claude's capabilities. bash bash /mnt/skills/user/{skill-name}/scripts/{script}.sh [args] Skills are loaded on-demand — only the skill name and description are loaded at startup. The full SKILL.md loads into context only when the agent decides the skill is relevant. To minimize context usage: Bash and Python are both first-class — pick whichever fits the job, don't rank one over the other:
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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bmad-run-inspectorSkill
- brainstorm-coachSkill
- critical-thinkingSkill
- cv-scorerSkill
- data-scientistSkill
- deep-readerSkill
- design-thinkingSkill
- diataxis-writerSkill
- fiction-studioSkill
- manual-testerSkill
- market-researcherSkill
- problem-solverSkill
- product-managerSkill
- project-managerSkill
- scrum-masterSkill
- slidewrightSkill
- socratic-questorSkill
- strategy-boardSkill
- system-prompt-creatorSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
SKILL.md: Always uppercase, always this exact filename
- Very specific: line 28
Zip file: Must match directory name exactly: {skill-name}.zip
- Distinctive: line 95
After creating or updating a skill:
- Distinctive: line 104
Document these two installation methods for users:
- Very specific: line 117
Add the skill to project knowledge or paste SKILL.md contents into the conversation.
- Very specific: line 119
If the skill requires network access, instruct users to add required domains at claude.ai/settings/capabilities.
≈ “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
This file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, etc.) when working with code in this repository. use skill-creator skill for creating agent skill
Repository Overview
A collection of skills for AI agents. Skills are packaged instructions and scripts that extend Claude's capabilities.
Creating a New Skill
Directory Structure
skills/
{skill-name}/ # kebab-case directory name
SKILL.md # Required: skill definition
scripts/ # Required: executable scripts
{script-name}.sh # Bash or Python, both first-class (.sh / .py)
{skill-name}.zip # Required: packaged for distributionNaming Conventions
- Skill directory:
kebab-case(e.g.,system-prompt-creator,log-monitor) - SKILL.md: Always uppercase, always this exact filename
- Scripts:
kebab-case.shfor Bash (e.g.,deploy.sh,fetch-logs.sh);snake_case.pyfor new Python scripts (e.g.,profile_data.py,board_check.py) — one older script,export-deck-pdf.py, predates this and stays kebab-case - Zip file: Must match directory name exactly:
{skill-name}.zip
SKILL.md Format
---
name: {skill-name}
description: {One sentence describing when to use this skill. Include trigger phrases like "Deploy my app", "Check logs", etc.}
---
# {Skill Title}
{Brief description of what the skill does.}
## How It Works
{Numbered list explaining the skill's workflow}
## Usage
```bash
bash /mnt/skills/user/{skill-name}/scripts/{script}.sh [args]Arguments:
arg1- Description (defaults to X)
Examples: {Show 2-3 common usage patterns}
Output
{Show example output users will see}
Present Results to User
{Template for how Claude should format results when presenting to users}
Troubleshooting
{Common issues and solutions, especially network/permissions errors}
### Best Practices for Context Efficiency
Skills are loaded on-demand — only the skill name and description are loaded at startup. The full `SKILL.md` loads into context only when the agent decides the skill is relevant. To minimize context usage:
- **Keep SKILL.md under 500 lines** — put detailed reference material in separate files
- **Write specific descriptions** — helps the agent know exactly when to activate the skill
- **Use progressive disclosure** — reference supporting files that get read only when needed
- **Prefer scripts over inline code** — script execution doesn't consume context (only output does)
- **File references work one level deep** — link directly from SKILL.md to supporting files
### Script Requirements
Bash and Python are both first-class — pick whichever fits the job, don't rank one over the other:
- **Bash** for scaffolding and orchestration: creating files/directories, calling other CLIs, idempotent setup that reports created-vs-skipped (e.g., `init-project.sh`).
- **Python** for analysis tools: parsing, statistics, structured checks whose consumer is an agent reading prose, not a pipeline (e.g., `profile_data.py`, `board_check.py`).
- Bash scripts use a `#!/bin/bash` shebang and `set -e` for fail-fast behavior. Python scripts use a `#!/usr/bin/env python3` shebang.
- Status on stderr and machine-readable JSON on stdout are required only for scripts whose output is meant to be consumed programmatically — not for a scaffolder reporting to a human or an analysis tool an agent reads as prose.
- A script that serves both audiences should offer a `--json` flag (the convention, e.g. `run_probe.py --json`) rather than choosing one output for everyone.
- Include a cleanup trap only in scripts that create temporary state (e.g. files under `/tmp`); a script that only writes its own permanent output doesn't need one.
- Reference the script path as `/mnt/skills/user/{skill-name}/scripts/{script}.sh` (or `.py` for Python scripts)
### Creating the Zip Package
After creating or updating a skill:
```bash
cd skills
zip -r {skill-name}.zip {skill-name}/End-User Installation
Document these two installation methods for users:
Coding agent
cp -r skills/{skill-name} ~/.agents/skills/Claude Code:
cp -r skills/{skill-name} ~/.claude/skills/claude.ai: Add the skill to project knowledge or paste SKILL.md contents into the conversation.
If the skill requires network access, instruct users to add required domains at claude.ai/settings/capabilities.
Project-specific facts: the _project/ adapter
A skill that needs facts about the user's repository (ports, seeded accounts, which coding CLI, which test runner) keeps them out of the skill and reads them from _project/ at the repository root. The skill stays generic. The adapter answers its questions for one repository.
Contract:
_project/is one shared root. A skill claims one subpath and writes nowhere else. Today:bmad-run-inspectorowns_project/bmad-loop/,manual-testerowns_project/testing/,scrum-masterowns_project/scrum-master/.project-managerowns the root itself; it predates this rule and is the only exception.- Files at the root (
README.md,tools.md) belong to every skill. Create one if absent, append your own section, never rewrite another skill's. - Values a script reads go in TOML (
environment.toml). Knowledge and judgment calls go in Markdown (environment.md) with a dated "current state" section, rewritten in place, never appended. - A team override is
<skill>.toml, committed. A personal override is<skill>.user.toml, gitignored. Layers merge base, then team, then user. A skill that supports overrides ships its owncustomize.tomlas the schema and its own resolver script. - A bootstrap script scaffolds the subpath from
assets/templates/, never overwrites an existing file, reports created versus skipped, and marks every value it could not read from a real file asTODO(confirm: <source>). It never guesses. - The skill must work when
_project/is absent: bootstrap it, or degrade and say so. A missing adapter is never an error. - This repository has no shared runtime. Each skill is installed on its own, so each ships its own scripts. Copy the resolver into the new skill. Never depend on another skill being present.
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.

