agent-skills
CLAUDE.md18 starsChanged 10 months agoMITView on GitHub
Guidance for AI coding agents working with this repository. Before completing any task, run npm run check and npm run build to ensure CI passes. Skills follow the Agent Skills Open Standard. SKILL.md is the core of every skill. It consists of YAML frontmatter followed by Markdown instructions. The description is the primary trigger mechanism. Claude uses it to decide when to activate the skill. Include both: Do not put "when to use" in the body. The body loads only…
In this repository12 other files it gives its agents.
- skills/dbos-golang/AGENTS.mdAGENTS.md
- skills/dbos-java/AGENTS.mdAGENTS.md
- skills/dbos-python/AGENTS.mdAGENTS.md
- skills/dbos-typescript/AGENTS.mdAGENTS.md
- skills/dbos-golang/CLAUDE.mdCLAUDE.md
- skills/dbos-java/CLAUDE.mdCLAUDE.md
- skills/dbos-python/CLAUDE.mdCLAUDE.md
- skills/dbos-typescript/CLAUDE.mdCLAUDE.md
- dbos-golangSkill
- dbos-javaSkill
- dbos-pythonSkill
- dbos-typescriptSkill
The file
We split this CLAUDE.md into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Create SKILL.md following the format below
- Very specific: line 40
Add references/_sections.md defining sections
- Very specific: line 41
Add reference files: {prefix}-{reference-name}.md
- Very specific: line 70
Must not start or end with -
- Very specific: line 71
Must not contain consecutive hyphens (--)
- Distinctive: line 72
Must match the parent directory name
- Distinctive: line 118
Use imperative form ("Create the table", not "You should create the table")
- Very specific: line 119
Keep under 500 lines; move detailed content to references/
- Distinctive: line 120
Prefer concise examples over verbose explanations
- Very specific: line 158
Keep SKILL.md lean. Move detailed reference material to separate files and link to them.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
Guidance for AI coding agents working with this repository.
Repository Structure
skills/
{skill-name}/
SKILL.md # Required: skill manifest (Agent Skills spec)
AGENTS.md # Generated: navigation guide for agents
CLAUDE.md # Generated: symlink to AGENTS.md
references/
_sections.md # Required: section definitions
{prefix}-{name}.md # Reference files
packages/
skills-build/ # Generic build system for all skillsCommands
npm run build # Build all skills
npm run build -- {skill-name} # Build specific skill
npm run validate # Validate all skills
npm run validate -- {skill-name} # Validate specific skill
npm run check # Format and lint (auto-fix)Before completing any task, run npm run check and npm run build to
ensure CI passes.
Creating a New Skill
Skills follow the Agent Skills Open Standard.
- Create directory:
mkdir -p skills/{skill-name}/references - Create
SKILL.mdfollowing the format below - Add
references/_sections.mddefining sections - Add reference files:
{prefix}-{reference-name}.md - Run
npm run build
Writing SKILL.md Files
SKILL.md is the core of every skill. It consists of YAML frontmatter followed by Markdown instructions.
Frontmatter (Required)
---
name: skill-name
description: What this skill does and when to use it.
---| Field | Required | Constraints |
name | Yes | 1-64 chars. Lowercase alphanumeric and hyphens only. Must match directory name. |
description | Yes | 1-1024 chars. Describe what the skill does AND when to use it. |
license | No | License name or reference to bundled license file. |
metadata | No | Arbitrary key-value pairs (e.g., author, version). |
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
# Valid
name: pdf-processing
name: data-analysis
# Invalid
name: PDF-Processing # uppercase not allowed
name: -pdf # cannot start with hyphen
name: pdf--processing # consecutive hyphens not allowedDescription Field (Critical)
The description is the primary trigger mechanism. Claude uses it to decide when to activate the skill.
Include both:
- What the skill does
- Specific triggers/contexts for when to use it
# Good - comprehensive and trigger-rich
description: >
Supabase database best practices for schema design, RLS policies,
indexing, and query optimization. Use when working with Supabase
projects, writing PostgreSQL migrations, configuring Row Level Security,
or optimizing database performance.
# Bad - too vague
description: Helps with databases.Do not put "when to use" in the body. The body loads only after triggering, so trigger context must be in the description.
Body Content
The Markdown body contains instructions for using the skill. Write concisely—Claude is already capable. Only add context Claude doesn't already have.
Guidelines:
- Use imperative form ("Create the table", not "You should create the table")
- Keep under 500 lines; move detailed content to
references/ - Prefer concise examples over verbose explanations
- Challenge each paragraph: "Does this justify its token cost?"
Recommended structure:
- Quick start or core workflow
- Key patterns with examples
- Links to reference files for advanced topics
## Quick Start
Create a table with RLS:
[concise code example]
## Common Patterns
### Authentication
[pattern with example]
## Advanced Topics
- **Complex policies**: See
[references/rls-patterns.md](references/rls-patterns.md)
- **Performance tuning**: See
[references/optimization.md](references/optimization.md)Progressive Disclosure
Skills use three loading levels:
- Metadata (~100 tokens) - Always loaded for all skills
- Body (<5k tokens recommended) - Loaded when skill triggers
- References (as needed) - Loaded on demand by Claude
Keep SKILL.md lean. Move detailed reference material to separate files and link to them.
Reference File Format
Reference files in references/ extend skills with detailed documentation.
---
title: Action-Oriented Title
impact: CRITICAL|HIGH|MEDIUM-HIGH|MEDIUM|LOW-MEDIUM|LOW
impactDescription: Quantified benefit
tags: keywords
---
## Title
1-2 sentence explanation.
**Incorrect:** \`\`\`sql -- bad example \`\`\`
**Correct:** \`\`\`sql -- good example \`\`\`What NOT to Include
Skills should only contain essential files. Do NOT create:
- README.md
- INSTALLATION_GUIDE.md
- QUICK_REFERENCE.md
- CHANGELOG.md
The skill should contain only what an AI agent needs to do the job.
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.

