sample-agent-skills-for-builders
AGENTS.md51 starsChanged 3 months agoApache-2.0View on GitHub
A collection of sample skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. This repository follows the Agent Skills format. Every skill MUST have a SKILL.md file with YAML frontmatter: 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: For skills that need detailed documentation: For skills that automate…
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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agentcore-browser-web-scrapingSkill
- agentcore-mcp-oauth-facadeSkill
- agentic-responsible-ai-assessmentSkill
- api-gateway-authorizer-securitySkill
- aws-agentic-aiSkill
- aws-cdk-developmentSkill
- aws-cost-operationsSkill
- aws-mcp-setupSkill
- cost-estimatorSkill
- create-install-scriptsSkill
- end-to-end-testingSkill
- gitlab-docs-publishingSkill
- quip-to-gitlab-wikiSkill
- security-scanSkill
- strands-context-managerSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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 25
SKILL.md: Always uppercase, always this exact filename
- Very specific: line 30
Every skill MUST have a SKILL.md file with YAML frontmatter:
- Very specific: line 84
Keep SKILL.md under 500 lines: - put detailed reference material in separate files
- Very specific: line 93
Create a references/ directory in your skill folder
- Distinctive: line 94
Add markdown files with detailed documentation
- Distinctive: line 108
Add bash scripts with proper shebang and error handling:
- Distinctive: line 139
Before committing, verify your skill:
- Distinctive: line 151
Start a new agent session
- Distinctive: line 153
Verify the skill activates and provides correct guidance
≈ “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.
Files
AGENTS.md
This file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, etc.) when working with code in this repository.
Repository Overview
A collection of sample skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. This repository follows the Agent Skills format.
Creating a New Skill
Directory Structure
skills/
{skill-name}/ # kebab-case directory name
SKILL.md # Required: skill definition with frontmatter
metadata.json # Optional: extended metadata
references/ # Optional: supporting documentation
scripts/ # Optional: executable scriptsNaming Conventions
- Skill directory:
kebab-case(e.g.,my-awesome-skill,code-reviewer) - SKILL.md: Always uppercase, always this exact filename
- Scripts:
kebab-case.sh(e.g.,deploy.sh,validate.sh)
SKILL.md Format
Every skill MUST have a SKILL.md file with YAML frontmatter:
---
name: {skill-name}
description: {One sentence describing when to use this skill. Include trigger phrases like "Deploy my app", "Review this code", etc.}
license: MIT
metadata:
author: {author-name}
version: "1.0.0"
---
# {Skill Title}
{Brief description of what the skill does.}
## When to Apply
Reference this skill when:
- {Condition 1}
- {Condition 2}
- {Condition 3}
## How It Works
1. {Step 1}
2. {Step 2}
3. {Step 3}
## Usage
{Show examples with code blocks}
## References
- {Link to documentation}
- {Link to related resources}Required Frontmatter Fields
| Field | Required | Description |
name | Yes | Unique identifier in kebab-case |
description | Yes | One sentence with trigger phrases for discovery |
license | No | Defaults to repository license (MIT) |
metadata | No | Extended metadata object |
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
- Use progressive disclosure - reference supporting files that get read only when needed
- Prefer scripts over inline code - script execution doesn't consume context
Adding References
For skills that need detailed documentation:
- Create a
references/directory in your skill folder - Add markdown files with detailed documentation
- Reference them from SKILL.md:
## References
See [detailed-guide.md](./references/detailed-guide.md) for comprehensive examples.Adding Scripts
For skills that automate tasks:
- Create a
scripts/directory in your skill folder - Add bash scripts with proper shebang and error handling:
#!/bin/bash
set -e
# Your script logic here
echo "Status message" >&2
echo '{"result": "success"}'metadata.json Format
Optional extended metadata:
{
"version": "1.0.0",
"author": "Your Name",
"organization": "Your Org",
"date": "April 2026",
"abstract": "Detailed description for search indexing",
"references": [
"https://example.com/docs"
],
"tags": ["category1", "category2"]
}Validating Skills
Before committing, verify your skill:
- Frontmatter is valid YAML
- Name matches directory name
- Description is a single, clear sentence
- All referenced files exist
Testing Skills
To test a skill locally:
- Copy the skill to your agent's skills directory
- Start a new agent session
- Trigger the skill with phrases from the description
- Verify the skill activates and provides correct guidance
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.

