agent-skills
AGENTS.md0 starsChanged 11 days agoMITView on GitHub
You are assisting in the Agent Skills Hub repository. Your primary responsibility is to design, implement, test, and maintain modular, agent-agnostic skills whenever the user requests one. Whenever the user asks to create a new skill (e.g., "Crea una skill para X" or "Create a skill for Y"), follow these exact steps: Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt examples, CLI script usage, and relative links to SKILL.md and references/).
- Deletes or force-pushes
- Commits and pushes
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 repository26 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- git-cleanupSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- skill-creatorSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- flutter-architectureSkill
- monorepo-architectureSkill
- nestjs-architectureSkill
- nextjs-architectureSkill
- react-native-architectureSkill
- dart-import-organizerSkill
- ssh-connectSkill
- git-cleanupSkill
- gh-cliSkill
- glab-cliSkill
- ts-import-organizerSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Core Standard: Follow docs/SPECIFICATION.md strictly for all skills.
- Distinctive: line 19
Basic Skill (Markdown Only): Use for procedural workflows, design rules, architecture checklists, and standard coding conventions.
- Very specific: line 21
Tool-Assisted Skill: Use when the workflow benefits from executable scripts (scripts/), deep technical documentation (references/), or …
- Distinctive: line 25
Place the skill in:
- Very specific: line 31
Every SKILL.md MUST begin with a valid YAML frontmatter block:
- Very specific: line 51
description: Must be under 350 characters (Progressive Disclosure rule). - Very specific: line 55
Ensure SKILL.md has the following standard sections:
- Very specific: line 64
Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt …
- Distinctive: line 67
ALWAYS: run the linter after creating or updating any skill:
- Very specific: line 74
Ensure the linter exits with PASS, 0 errors and 0 warnings (CI runs it in strict mode).
- Distinctive: line 77
When a skill is added or its frontmatter changes, run:
- Very specific: line 86
When updating an existing skill, bump its frontmatter version (major = breaking, minor = new capability, patch = fix or docs.
≈ “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
Instructions for AI Agents in agent-skills
You are assisting in the Agent Skills Hub repository. Your primary responsibility is to design, implement, test, and maintain modular, agent-agnostic skills whenever the user requests one.
🎯 Repository Overview
- Purpose: Centralized, standardized repository of skills for AI assistants and coding agents (Antigravity, Claude Code, OpenAI Codex, Cursor, Windsurf, etc.).
- Core Standard: Follow
docs/SPECIFICATION.mdstrictly for all skills.
🛠️ Step-by-Step Guide for Creating a New Skill
Whenever the user asks to create a new skill (e.g., "Crea una skill para X" or "Create a skill for Y"), follow these exact steps:
1. Determine Scope and Template
- Basic Skill (Markdown Only): Use for procedural workflows, design rules, architecture checklists, and standard coding conventions.
- Base template:
templates/basic-skill/
- Base template:
- Tool-Assisted Skill: Use when the workflow benefits from executable scripts (
scripts/), deep technical documentation (references/), or reference outputs (examples/).- Base template:
templates/tool-assisted-skill/
- Base template:
2. Choose Directory Location & Name
- Place the skill in:
skills/<category>/<skill-name>/(e.g.,skills/git/conventional-commits/,skills/testing/tdd-workflow/)- OR
skills/<skill-name>/if unclassified.
- Name format: Kebab-case (
^[a-z0-9-]+$), lowercase, maximum 40 characters.
3. Write SKILL.md with Required Frontmatter
Every SKILL.md MUST begin with a valid YAML frontmatter block:
---
name: your-skill-name
version: 1.0.0
description: >-
Concise explanation of what the skill does and when to activate it. Max 350 characters. Include triggering keywords.
tags: [tag1, tag2]
agents: [antigravity, claude-code, codex, cursor, windsurf]
triggers:
- trigger phrase 1
- trigger phrase 2
- palabra clave en español (si aplica)
requirements:
tools: [view_file, replace_file_content, run_command] # As needed
---Critical Frontmatter Rules:
description: Must be under 350 characters (Progressive Disclosure rule). Do not put full runbooks inside the description.triggers: Minimum 2 trigger phrases representing user intent in relevant languages (English / Spanish).
4. Structure the SKILL.md Body and Per-Skill README.md
Ensure SKILL.md has the following standard sections:
# Title of the Skill## 🎯 Propósito / Purpose: Clear objective and problem it solves.## ⚡ Cuándo Activar esta Skill / When to Trigger: Unambiguous conditions for activation.## 📋 Flujo de Trabajo Paso a Paso / Step-by-Step Workflow: Deterministic, numbered steps.## ⚠️ Reglas Críticas / Critical Rules: Security constraints and non-negotiable guidelines.## 📚 Referencias / References(Optional): Links to markdown files inreferences/.## 🛠️ Scripts(Optional): Instructions on scripts inscripts/.
Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt examples, CLI script usage, and relative links to SKILL.md and references/).
5. Validate with the Linter
ALWAYS run the linter after creating or updating any skill:
pnpm lint:strict(Or node scripts/lint-skills.mjs --strict <path-to-skill>)
Ensure the linter exits with PASS, 0 errors and 0 warnings (CI runs it in strict mode). Fix any schema or validation issues before finishing.
6. Regenerate the Catalog
When a skill is added or its frontmatter changes, run:
pnpm catalogThis rewrites catalog/catalog.json and the generated <!-- catalog-table --> block in the root README.md (which links each skill to its own README.md). Never edit that block by hand; CI fails if it is out of date. Keep the root README.md focused strictly on repository-level information; put skill-specific examples and commands in each skill's own README.md.
7. Bump the Skill Version
When updating an existing skill, bump its frontmatter version (major = breaking, minor = new capability, patch = fix or docs; see docs/CONTRIBUTING.md). Changes limited to README.md or evals/ are exempt. Verify with node scripts/check-skill-versions.mjs --base main, then rerun pnpm catalog.
🔒 Safety and Quality Guidelines
- Determinism: Provide explicit, testable instructions rather than vague suggestions.
- No Destructive Operations: Scripts or instructions must never execute unchecked destructive commands (
rm -rf /,git push --force). - File Links: Inside a skill, link to its own files with paths relative to the skill directory (
[label](references/guide.md)). Never use absolute paths orfile:///URLs: skills are installed into other projects and machines, where those paths do not exist. - Script Paths: Show script invocations as
node <skill-dir>/scripts/<script>.mjs(orbash <skill-dir>/scripts/<script>.sh), neverskills/<category>/<name>/scripts/..., and state that<skill-dir>is the directory containing theSKILL.md.
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.

