agentleFS
shalombshalomb/agent-skills/AGENTS.md

agent-skills

AGENTS.md3 starsChanged 3 months agoMITView on GitHub

This guide helps AI assistants (Claude Code, Pi, etc.) understand how to work with and contribute to this repository of specialized Agent Skills. Starting with skills? → Read docs/explanation/core-principles.md Building a new skill? → Start with docs/how-to/quickstart.md Need reference details? → Check docs/reference/frontmatter.md Troubleshooting? → See docs/troubleshooting/ When creating or updating skills in this repository, use the official skill-creator skill from Anthropic: Location: https://github.com/anthropics/skills/tree/main/skills/skill-creator When to use it: - Creating a new skill from scratch - Validating an existing skill…

  • Installs packages

The file

Show its rules and text

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

33 rules. About 2 are common, 25 are distinctive, and 6 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈25

    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. Distinctive:

    When creating or updating skills in this repository, use the official skill-creator skill from Anthropic:

    line 17
  2. Distinctive:

    Follow skill-creator's step-by-step guidance

    line 33
  3. Distinctive:

    Start here when you have a concrete goal:

    line 54
  4. Distinctive:

    Use when you need exact details:

    line 62
  5. Distinctive:

    Read when you want to understand *why*:

    line 69
  6. Distinctive:

    Check when something doesn't work:

    line 74
  7. Distinctive:

    Before committing changes or new skills, ensure they are free of:

    line 92
  8. Very specific:

    Use {ORGANIZATION} instead of company names (e.g., "Takeda")

    line 102
  9. Very specific:

    Use {WORKSPACE_NAME} instead of specific TFC workspace names

    line 103
  10. Very specific:

    Use {RUN_ID}, {PLAN_ID}, {APPLY_ID} for runtime variables

    line 104
  11. Very specific:

    Use example domains: example.com, your-org.aws.com

    line 105
  12. Very specific:

    Use {ENV} or {ENVIRONMENT} for staging/prod references

    line 106
  13. Distinctive:

    Scripts: Read configuration from standard locations (env vars, config files) rather than hardcoding

    line 121
  14. Distinctive:

    Parameters: Use command-line arguments or environment variables for all variable values

    line 122
  15. Distinctive:

    Examples: Use realistic but non-proprietary scenarios

    line 124
  16. Distinctive:

    When syncing or copying a skill from a private environment to this public repository:

    line 143
  17. Common:

    Remove all credentials, IDs, URLs, employee names

    line 147
  18. Distinctive:

    Check for private documentation links

    line 148
  19. Distinctive:

    Verify example data contains no real information

    line 149
  20. Distinctive:

    Ensure instructions work in different organizations

    line 155
  21. Very specific:

    All links are public or use {PLACEHOLDER} syntax

    line 158
  22. Distinctive:

    No references to internal systems remain

    line 161
  23. Distinctive:

    Start from a real task you or your team has done

    line 171
  24. Distinctive:

    Document what you learned during execution

    line 172
  25. Distinctive:

    Follow its step-by-step guidance

    line 179
  26. Distinctive:

    Check scripts/ for hardcoded values

    line 184
  27. Distinctive:

    Verify references/ contains no private docs

    line 185
  28. Common:

    Test with placeholders, not real credentials

    line 186
  29. Distinctive:

    Update skills/README.md with skill listing

    line 201
  30. Distinctive:

    Ensure directory structure follows spec:

    line 202
  31. Distinctive:

    Follow commit message conventions

    line 210
  32. Distinctive:

    When adding or updating skills in this repository:

    line 215
  33. Distinctive:

    Questions?: Check docs/troubleshooting/ or the official specification at https://agentskills.io

    line 263

≈ “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

AI Agent Guidance for Agent Skills Repository

This guide helps AI assistants (Claude Code, Pi, etc.) understand how to work with and contribute to this repository of specialized Agent Skills.

Quick Navigation

Starting with skills? → Read docs/explanation/core-principles.md

Building a new skill? → Start with docs/how-to/quickstart.md

Need reference details? → Check docs/reference/frontmatter.md

Troubleshooting? → See docs/troubleshooting/

Using the Skill Creator Skill

When creating or updating skills in this repository, use the official skill-creator skill from Anthropic:

Location: https://github.com/anthropics/skills/tree/main/skills/skill-creator

When to use it:

  • Creating a new skill from scratch
  • Validating an existing skill against the specification
  • Refining skill instructions and descriptions
  • Iterating on skill design based on execution results

How to use it:

  1. Load the skill-creator skill from the Anthropic repository
  2. Provide the skill-creator with:
    • Purpose: What problem does this skill solve?
    • Use cases: Real examples of when agents should use it
    • Context: Domain expertise, code examples, templates (if available)
  3. Follow skill-creator's step-by-step guidance
  4. Validate the output using skills-ref tooling (see below)

Key insight: The skill-creator skill is designed to extract real expertise and create high-quality skills. Don't generate skills from thin air — feed it domain knowledge, examples, and your own hands-on experience.

Key Documentation to Understand

1. Official Agent Skills Specification

Link: https://agentskills.io/specification

The authoritative format specification. This is your source of truth for:

  • Frontmatter fields and constraints
  • Directory structure requirements
  • Validation rules
  • Progressive disclosure strategy

2. Repository Documentation Structure

This repository follows the Diataxis framework with four sections:

docs/how-to/ — Task-Oriented Guides

Start here when you have a concrete goal:

  • quickstart.md — 15-30 minute walkthrough
  • structure-skill.md — Organizing SKILL.md and supporting files
  • using-scripts.md — Bundling scripts and supporting files
  • best-practices.md — Writing effective instructions and descriptions
  • implement-skills-support.md — Adding skills to agent platforms

docs/reference/ — Lookup & Specifications

Use when you need exact details:

  • frontmatter.md — Complete field reference with examples
  • yaml-frontmatter.md — Field constraints and validation rules
  • skill-locations.md — Directory structure and file organization
  • skills-ref-tooling.md — Validation tool usage (CLI + Python API)

docs/explanation/ — Design Rationale

Read when you want to understand why:

  • core-principles.md — Progressive disclosure, composability, portability
  • architecture-patterns.md — Three skill categories and how to choose

docs/troubleshooting/ — Problem Solutions

Check when something doesn't work:

  • troubleshooting/ — Problem/fix guides

Core Principle: Universal Applicability

The primary goal of this repository is to provide high-quality, reusable skills that work for anyone in any organization. When developing or updating skills, follow these standards:

1. Strip Sensitive Information

Enable the pre-commit hook (once per clone) to have this enforced automatically: git config core.hooksPath tools/hooks

It blocks staged changes containing credentials, corporate hostnames, or real email addresses. Patterns are in tools/hooks/pii-patterns; add site-specific literals to $XDG_CONFIG_HOME/agent-skills/pii-patterns-local (untracked, so they are never published). Bypass with --no-verify only when you know the match is a false positive.

Before committing changes or new skills, ensure they are free of:

  • Hardcoded Credentials: Tokens, passwords, API keys, secrets
  • Organization-Specific IDs: AWS account numbers, internal project codes, resource IDs
  • Internal URLs: Links to private wikis (Atlassian, Confluence), internal Git repos, private docs
  • Internal Personas: References to specific employees, team names, managers
  • Proprietary Patterns: Custom internal conventions not useful to outsiders

2. Use Generic Placeholders

Replace organization-specific values with clear placeholders:

  • Use {ORGANIZATION} instead of company names (e.g., "Takeda")
  • Use {WORKSPACE_NAME} instead of specific TFC workspace names
  • Use {RUN_ID}, {PLAN_ID}, {APPLY_ID} for runtime variables
  • Use example domains: example.com, your-org.aws.com
  • Use {ENV} or {ENVIRONMENT} for staging/prod references

Example before sanitization:

compatibility: Requires access to Takeda's Terraform Cloud workspace prod-us-east-1

Example after sanitization:

compatibility: Requires Terraform Cloud API token and workspace name (set via {WORKSPACE_NAME})

3. Abstract Logic from Configuration

Design scripts and documentation to be configurable:

  • Scripts: Read configuration from standard locations (env vars, config files) rather than hardcoding
  • Parameters: Use command-line arguments or environment variables for all variable values
  • Documentation: Show how to customize the skill for a different environment
  • Examples: Use realistic but non-proprietary scenarios

Example before abstraction:

# Bad: Hardcoded to specific organization
tfc_token = "glpat-abc123xyz..."
workspace = "takeda-prod-us-east-1"

Example after abstraction:

# Good: Configurable via environment
import os
tfc_token = os.getenv("TFC_TOKEN")
workspace = os.getenv("TFC_WORKSPACE", "default")

4. Privacy-First Review Process

When syncing or copying a skill from a private environment to this public repository:

Step 1: Sanitize

  • Audit every file: SKILL.md, scripts/, references/, assets/
  • Remove all credentials, IDs, URLs, employee names
  • Check for private documentation links
  • Verify example data contains no real information

Step 2: Generalize

  • Transform specific workflows into reusable patterns
  • Replace internal tools with industry-standard equivalents
  • Convert proprietary processes to general principles
  • Ensure instructions work in different organizations

Step 3: Verify

  • All links are public or use {PLACEHOLDER} syntax
  • Examples use generic data (example.com, fictional scenarios)
  • Environment setup instructions work standalone
  • No references to internal systems remain

Step 4: Document Requirements

  • Be clear about what users must provide
  • Include setup instructions for non-obvious dependencies
  • Explain how to adapt the skill to their environment

Workflow: Creating a New Skill

1. Identify Real Expertise

  • Start from a real task you or your team has done
  • Document what you learned during execution
  • Collect code examples, templates, edge cases
  • Note decisions you made and why

2. Use skill-creator to Build

  • Load the skill-creator skill
  • Provide your domain knowledge as context
  • Follow its step-by-step guidance
  • Iterate based on execution results

3. Sanitize for Public Use

  • Review SKILL.md for sensitive information
  • Check scripts/ for hardcoded values
  • Verify references/ contains no private docs
  • Test with placeholders, not real credentials

4. Validate Structure

# Install skills-ref (from agentskills/agentskills)
pip install -e ../agentskills/agentskills/skills-ref/

# Validate your skill
skills-ref validate ./my-skill

# View properties
skills-ref read-properties ./my-skill

5. Document & Commit

  • Update skills/README.md with skill listing
  • Ensure directory structure follows spec:
    my-skill/
    ├── SKILL.md              # Required
    ├── scripts/              # Optional
    ├── references/           # Optional
    └── assets/               # Optional
  • Follow commit message conventions
  • Reference this guide in PR description if needed

Contributing Guidelines for Agents

When adding or updating skills in this repository:

Structure

  • ✓ Every skill has SKILL.md with valid YAML frontmatter
  • ✓ Follow directory structure: skill-name/SKILL.md
  • ✓ name field matches directory name (kebab-case)
  • ✓ description includes "Use when..." trigger conditions
  • ✓ Keep SKILL.md body under 500 lines (< 5000 tokens)
  • ✓ Move detailed content to references/ for on-demand loading

Content Quality

  • ✓ Clear, step-by-step instructions (not vague guidance)
  • ✓ Real examples that agents can follow
  • ✓ Edge cases and error handling documented
  • ✓ Links to relevant references/ files when needed

Privacy & Generalization

  • ✓ No hardcoded credentials, API keys, or secrets
  • ✓ No organization-specific IDs or internal URLs
  • ✓ No employee names or internal team references
  • ✓ Configuration via environment variables, not hardcoding
  • ✓ Generic placeholders for organization-specific values
  • ✓ Works for anyone, not tied to one org

Validation & Testing

  • ✓ Run skills-ref validate before committing
  • ✓ Test skill descriptions trigger on realistic queries
  • ✓ Verify scripts work with example inputs
  • ✓ Check that progressive disclosure pattern is used

Documentation

  • ✓ Update skills/ README with new skill listing
  • ✓ Link to official spec if field definitions are needed
  • ✓ Include setup/configuration examples
  • ✓ Document dependencies (Python version, libraries, etc.)

Standards Alignment

This repository aligns with:


Responsibility: Your adherence to these guidelines ensures this repository remains a valuable, safe resource for the community.

Questions? Check docs/troubleshooting/ or the official specification at https://agentskills.io

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.