agentleFS
GitHubKnown publishergithub/awesome-copilot/AGENTS.md

awesome-copilot

AGENTS.md40k starsChanged 2 months agoMITView on GitHub

The Awesome GitHub Copilot repository is a community-driven collection of custom agents and instructions designed to enhance GitHub Copilot experiences across various domains, languages, and use cases. The project includes: All agent files (*.agent.md) and instruction files (*.instructions.md) must include proper markdown front matter. Agent Skills are folders containing a SKILL.md file with frontmatter and optional bundled assets. Hooks are folders containing a README.md with frontmatter and a hooks.json configuration file:

Trending

More talk lately.about the whole repository

Dec 2025: 8 mentionsJan 2026: 4 mentionsFeb 2026: 5 mentionsMar 2026: 9 mentionsApr 2026: 4 mentionsMay 2026: 2 mentionsJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 4 mentionsSep 2026: 8 mentionsOct 2026: 4 mentionsNov 2026: 3 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the github/awesome-copilot repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about github/awesome-copilot

The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 79

Talked about on Bluesky, GitHub and Hacker News (79 times).

On Bluesky · 42

37 more on Bluesky

On GitHub · 32

27 more on GitHub

The file

Show its rules and text

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

50 rules. About 0 are common, 23 are distinctive, and 27 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈23

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 27

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All agent files (*.agent.md) and instruction files (*.instructions.md) must include proper markdown front matter.

    line 59
  2. Very specific:

    Must have description field (wrapped in single quotes)

    line 63
  3. Very specific:

    Must have description field (wrapped in single quotes, not empty)

    line 70
  4. Very specific:

    Must have applyTo field specifying file patterns (e.g., '.js, .ts')

    line 71
  5. Very specific:

    Must include a hooks.json file with hook configuration (hook events extracted from this file)

    line 99
  6. Distinctive:

    Follow the GitHub Copilot hooks specification

    line 103
  7. Very specific:

    Must have name field (human-readable name)

    line 109
  8. Very specific:

    Only .md files are accepted — .yml, .yaml, and .lock.yml files are blocked by CI

    line 113
  9. Distinctive:

    Follow the GitHub Agentic Workflows specification

    line 114
  10. Distinctive:

    When adding a new agent, instruction, skill, hook, workflow, or plugin:

    line 130
  11. Distinctive:

    Create the file with proper front matter

    line 134
  12. Distinctive:

    Add the file to the appropriate directory

    line 135
  13. Very specific:

    Update the README.md by running: npm run build

    line 136
  14. Distinctive:

    Verify the resource appears in the generated README

    line 137
  15. Very specific:

    Create a new folder in hooks/ with a descriptive name

    line 141
  16. Distinctive:

    Create README.md with proper frontmatter (name, description, hooks, tags)

    line 142
  17. Very specific:

    Create hooks.json with hook configuration following GitHub Copilot hooks spec

    line 143
  18. Distinctive:

    Add any bundled scripts or assets to the folder

    line 144
  19. Distinctive:

    Verify the hook appears in the generated README

    line 147
  20. Very specific:

    Create a new .md file in workflows/ with a descriptive name (e.g., daily-issues-report.md)

    line 151
  21. Distinctive:

    Verify the workflow appears in the generated README

    line 155
  22. Very specific:

    Run npm run skill:create to scaffold a new skill folder

    line 159
  23. Distinctive:

    Add any bundled assets (scripts, templates, data) to the skill folder

    line 161
  24. Very specific:

    Run npm run skill:validate to validate the skill structure

    line 162
  25. Distinctive:

    Verify the skill appears in the generated README

    line 164
  26. Very specific:

    Run npm run plugin:create -- --name <plugin-name> to scaffold a new plugin

    line 168
  27. Very specific:

    Run npm run plugin:validate to validate the plugin structure

    line 171
  28. Very specific:

    Run npm run build to update README.md and marketplace.json

    line 172
  29. Very specific:

    Verify the plugin appears in .github/plugin/marketplace.json

    line 173
  30. Very specific:

    Create/update the extension in extensions/<extension-id>/ with extension.mjs

    line 177
  31. Very specific:

    Add the matching plugin manifest under plugins/<extension-id>/plugin.json:

    line 178
  32. Very specific:

    Ensure assets/preview.png exists as the primary visual asset

    line 192
  33. Very specific:

    Run npm run plugin:validate to validate plugin and extension metadata

    line 193
  34. Very specific:

    Run npm run build to regenerate website data and marketplace output

    line 194
  35. Very specific:

    Do not open a direct PR that edits plugins/external.json for a public third-party plugin submission

    line 200
  36. Distinctive:

    Ensure all markdown front matter is correctly formatted

    line 228
  37. Distinctive:

    Verify file names follow the lower-case-with-hyphens convention

    line 229
  38. Very specific:

    Run npm run build to update the README

    line 230
  39. Distinctive:

    Check that your new resource appears correctly in the README

    line 232
  40. Distinctive:

    Use proper front matter with required fields

    line 238
  41. Distinctive:

    Keep descriptions concise and informative

    line 239
  42. Distinctive:

    Use lower-case file names with hyphens as separators

    line 241
  43. Very specific:

    Follow Node.js ES module conventions (.mjs extension)

    line 246
  44. Distinctive:

    Use clear, descriptive function and variable names

    line 247
  45. Distinctive:

    When creating a pull request:

    line 251
  46. Distinctive:

    Front matter validation: Ensure all markdown files have the required front matter fields

    line 256
  47. Distinctive:

    File naming: Verify all new files follow the lower-case-with-hyphens naming convention

    line 257
  48. Very specific:

    Build check: Run npm run build before committing to verify README generation

    line 258
  49. Very specific:

    Testing: If adding a plugin, run npm run plugin:validate to ensure validity

    line 261
  50. Distinctive:

    Before submitting your PR, ensure you have:

    line 265

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

AGENTS.md

Project Overview

The Awesome GitHub Copilot repository is a community-driven collection of custom agents and instructions designed to enhance GitHub Copilot experiences across various domains, languages, and use cases. The project includes:

  • Agents - Specialized GitHub Copilot agents that integrate with MCP servers
  • Instructions - Coding standards and best practices applied to specific file patterns
  • Skills - Self-contained folders with instructions and bundled resources for specialized tasks
  • Hooks - Automated workflows triggered by specific events during development
  • Workflows - Agentic Workflows for AI-powered repository automation in GitHub Actions
  • Plugins - Installable packages that group related agents, hooks, and skills around specific themes

Repository Structure

.
├── agents/           # Custom GitHub Copilot agent definitions (.agent.md files)
├── instructions/     # Coding standards and guidelines (.instructions.md files)
├── skills/           # Agent Skills folders (each with SKILL.md and optional bundled assets)
├── hooks/            # Automated workflow hooks (folders with README.md + hooks.json)
├── workflows/        # Agentic Workflows (.md files for GitHub Actions automation)
├── plugins/          # Installable plugin packages (folders with plugin.json)
├── extensions/       # Reusable canvas extension sources (extension.mjs and assets)
├── docs/             # Documentation for different resource types
├── eng/              # Build and automation scripts
└── scripts/          # Utility scripts

Setup Commands

# Install dependencies
npm ci

# Build the project (generates README.md and marketplace.json)
npm run build

# Validate plugin manifests
npm run plugin:validate

# Generate marketplace.json only
npm run plugin:generate-marketplace

# Create a new plugin
npm run plugin:create -- --name <plugin-name>

# Validate agent skills
npm run skill:validate

# Create a new skill
npm run skill:create -- --name <skill-name>

Development Workflow

Working with Agents, Instructions, Skills, and Hooks

All agent files (*.agent.md) and instruction files (*.instructions.md) must include proper markdown front matter. Agent Skills are folders containing a SKILL.md file with frontmatter and optional bundled assets. Hooks are folders containing a README.md with frontmatter and a hooks.json configuration file:

Agent Files (*.agent.md)

  • Must have description field (wrapped in single quotes)
  • File names should be lower case with words separated by hyphens
  • Recommended to include tools field
  • Strongly recommended to specify model field

Instruction Files (*.instructions.md)

  • Must have description field (wrapped in single quotes, not empty)
  • Must have applyTo field specifying file patterns (e.g., '**.js, **.ts')
  • File names should be lower case with words separated by hyphens

Agent Skills (skills/*/SKILL.md)

  • Each skill is a folder containing a SKILL.md file
  • SKILL.md must have name field (lowercase with hyphens, matching folder name, max 64 characters)
  • SKILL.md must have description field (wrapped in single quotes, 10-1024 characters)
  • Folder names should be lower case with words separated by hyphens
  • Skills can include bundled assets (scripts, templates, data files)
  • Bundled assets should be referenced in the SKILL.md instructions
  • Asset files should be reasonably sized (under 5MB per file)
  • Skills follow the Agent Skills specification

Canvas Extensions (extensions/*)

  • Each extension folder must include extension.mjs
  • Extensions are reusable source components, not standalone plugins
  • A shippable extension plugin is registered by a matching plugins/<extension-id>/plugin.json
  • A plugin can bundle additional reusable extensions by listing ./extensions/<name> paths in extensions.com.github.awesome-copilot.extensions
  • Each extension must have assets/preview.png as the primary visual asset
  • Extension metadata is sourced from the matching plugin manifest in plugins/

Hook Folders (hooks/*/README.md)

  • Each hook is a folder containing a README.md file with frontmatter
  • README.md must have name field (human-readable name)
  • README.md must have description field (wrapped in single quotes, not empty)
  • Must include a hooks.json file with hook configuration (hook events extracted from this file)
  • Folder names should be lower case with words separated by hyphens
  • Can include bundled assets (scripts, utilities, configuration files)
  • Bundled scripts should be referenced in the README.md and hooks.json
  • Follow the GitHub Copilot hooks specification
  • Optionally includes tags field for categorization

Workflow Files (workflows/*.md)

  • Each workflow is a standalone .md file in the workflows/ directory
  • Must have name field (human-readable name)
  • Must have description field (wrapped in single quotes, not empty)
  • Contains agentic workflow frontmatter (on, permissions, safe-outputs) and natural language instructions
  • File names should be lower case with words separated by hyphens
  • Only .md files are accepted — .yml, .yaml, and .lock.yml files are blocked by CI
  • Follow the GitHub Agentic Workflows specification

Plugin Folders (plugins/*)

  • Each plugin is a folder containing a root plugin.json file with metadata
  • plugin.json must have "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json" (Agent Plugins v1.0.0)
  • plugin.json must have name field (matching the folder name)
  • plugin.json must have description field (describing the plugin's purpose)
  • plugin.json must have version field (semantic version, e.g., "1.0.0")
  • Plugin content is defined declaratively in plugin.json under extensions.com.github.awesome-copilot using source-only composition fields (agents, hooks, skills, and extensions). Source files live in top-level directories and are materialized into plugins by CI. This namespace is stripped from the served manifest — skills use the standard skills/ directory and Copilot-specific content uses com.github.copilot/.
  • MCP servers are not a composition field. Per the Agent Plugins spec they are declared in an mcp.json file at the plugin root, which is committed alongside plugin.json and shipped as-is. Do not add mcpServers to plugin.json, and do not use the legacy .mcp.json filename.
  • The marketplace.json file is automatically generated from all plugins during build
  • Plugins are discoverable and installable via GitHub Copilot CLI

Adding New Resources

When adding a new agent, instruction, skill, hook, workflow, or plugin:

For Agents and Instructions:

  1. Create the file with proper front matter
  2. Add the file to the appropriate directory
  3. Update the README.md by running: npm run build
  4. Verify the resource appears in the generated README

For Hooks:

  1. Create a new folder in hooks/ with a descriptive name
  2. Create README.md with proper frontmatter (name, description, hooks, tags)
  3. Create hooks.json with hook configuration following GitHub Copilot hooks spec
  4. Add any bundled scripts or assets to the folder
  5. Make scripts executable: chmod +x script.sh
  6. Update the README.md by running: npm run build
  7. Verify the hook appears in the generated README

For Workflows:

  1. Create a new .md file in workflows/ with a descriptive name (e.g., daily-issues-report.md)
  2. Include frontmatter with name and description, plus agentic workflow fields (on, permissions, safe-outputs)
  3. Compile with gh aw compile --validate to verify it's valid
  4. Update the README.md by running: npm run build
  5. Verify the workflow appears in the generated README

For Skills:

  1. Run npm run skill:create to scaffold a new skill folder
  2. Edit the generated SKILL.md file with your instructions
  3. Add any bundled assets (scripts, templates, data) to the skill folder
  4. Run npm run skill:validate to validate the skill structure
  5. Update the README.md by running: npm run build
  6. Verify the skill appears in the generated README

For Plugins:

  1. Run npm run plugin:create -- --name <plugin-name> to scaffold a new plugin
  2. Define agents, hooks, skills, and reusable extensions under extensions.com.github.awesome-copilot in plugin.json
  3. Edit the generated plugin.json with your metadata
  4. Run npm run plugin:validate to validate the plugin structure
  5. Run npm run build to update README.md and marketplace.json
  6. Verify the plugin appears in .github/plugin/marketplace.json

For Canvas Extensions:

  1. Create/update the extension in extensions/<extension-id>/ with extension.mjs
  2. Add the matching plugin manifest under plugins/<extension-id>/plugin.json:
    {
      "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
      "name": "<extension-id>",
      "description": "...",
      "version": "1.0.0",
      "extensions": {
        "com.github.copilot": {
          "logo": "assets/preview.png"
        }
      }
    }
  3. Ensure assets/preview.png exists as the primary visual asset
  4. Run npm run plugin:validate to validate plugin and extension metadata
  5. Run npm run build to regenerate website data and marketplace output

To bundle an extension into another plugin without making a second source copy, add sorted ./extensions/<name> paths to plugins/<plugin-id>/plugin.json under extensions.com.github.awesome-copilot.extensions.

For External Plugins:

  1. Do not open a direct PR that edits plugins/external.json for a public third-party plugin submission
  2. Public external plugin submissions use the external plugin issue workflow documented in CONTRIBUTING.md
  3. In v1, only GitHub-hosted plugins are accepted for public submission, using a public repo plus an immutable ref, sha, or both
  4. The shared validator in eng/external-plugin-validation.mjs is the canonical source of truth for external plugin data rules; reuse it instead of duplicating checks in scripts or workflows
  5. Submission issues move through external-plugin + awaiting-review and then either ready-for-review or requires-submitter-fixes based on automated quality gates
  6. While a submission issue is open, the issue author or a maintainer can comment /rerun-intake to re-run automated intake and quality gates. Maintainer-rejected issues are terminal; contributors who address the rejection feedback must open a new submission issue
  7. Maintainers can explicitly override a quality-gate blocker with /mark-ready-for-review [optional reason], which moves the issue to ready-for-review
  8. Maintainers make the decision with /approve or /reject <reason> issue comments once the issue is in ready-for-review; approved issues are closed and used as the six-month re-review anchor
  9. Approval automation creates or updates the PR against main, updates plugins/external.json, and regenerates marketplace outputs
  10. Nightly re-review automation finds closed external-plugin + approved issues that are at least six months old, applies re-review-due, and opens or updates a tracking issue for maintainers
  11. Maintainers complete re-review on the original approved submission issue with /re-review-keep, /re-review-needs-changes, or /re-review-remove; keep resets the issue closed_at, and remove opens a PR against main

Testing Instructions

# Run all validation checks
npm run plugin:validate
npm run skill:validate

# Build and verify README generation
npm run build

# Fix line endings (required before committing)
bash eng/fix-line-endings.sh

Before committing:

  • Ensure all markdown front matter is correctly formatted
  • Verify file names follow the lower-case-with-hyphens convention
  • Run npm run build to update the README
  • Always run bash eng/fix-line-endings.sh to normalize line endings (CRLF → LF)
  • Check that your new resource appears correctly in the README

Code Style Guidelines

Markdown Files

  • Use proper front matter with required fields
  • Keep descriptions concise and informative
  • Wrap description field values in single quotes
  • Use lower-case file names with hyphens as separators

JavaScript/Node.js Scripts

  • Located in eng/ and scripts/ directories
  • Follow Node.js ES module conventions (.mjs extension)
  • Use clear, descriptive function and variable names

Pull Request Guidelines

When creating a pull request:

Important: All pull requests should target the main branch, not staged.

  1. README updates: New files should automatically be added to the README when you run npm run build
  2. Front matter validation: Ensure all markdown files have the required front matter fields
  3. File naming: Verify all new files follow the lower-case-with-hyphens naming convention
  4. Build check: Run npm run build before committing to verify README generation
  5. Line endings: Always run bash eng/fix-line-endings.sh to normalize line endings to LF (Unix-style)
  6. Description: Provide a clear description of what your agent/instruction does
  7. Testing: If adding a plugin, run npm run plugin:validate to ensure validity

Pre-commit Checklist

Before submitting your PR, ensure you have:

  • Run npm install (or npm ci) to install dependencies
  • Run npm run build to generate the updated README.md
  • Run bash eng/fix-line-endings.sh to normalize line endings
  • Verified that all new files have proper front matter
  • Tested that your contribution works with GitHub Copilot
  • Checked that file names follow the naming convention

Code Review Checklist

For instruction files (*.instructions.md):

  • Has markdown front matter
  • Has non-empty description field wrapped in single quotes
  • Has applyTo field with file patterns
  • File name is lower case with hyphens

For agent files (*.agent.md):

  • Has markdown front matter
  • Has non-empty description field wrapped in single quotes
  • Has name field with human-readable name (e.g., "Address Comments" not "address-comments")
  • File name is lower case with hyphens
  • Includes model field (strongly recommended)
  • Considers using tools field

For skills (skills/*/):

  • Folder contains a SKILL.md file
  • SKILL.md has markdown front matter
  • Has name field matching folder name (lowercase with hyphens, max 64 characters)
  • Has non-empty description field wrapped in single quotes (10-1024 characters)
  • Folder name is lower case with hyphens
  • Any bundled assets are referenced in SKILL.md
  • Bundled assets are under 5MB per file

For hook folders (hooks/*/):

  • Folder contains a README.md file with markdown front matter
  • Has name field with human-readable name
  • Has non-empty description field wrapped in single quotes
  • Has hooks.json file with valid hook configuration (hook events extracted from this file)
  • Folder name is lower case with hyphens
  • Any bundled scripts are executable and referenced in README.md
  • Follows GitHub Copilot hooks specification
  • Optionally includes tags array field for categorization

For workflow files (workflows/*.md):

  • File has markdown front matter
  • Has name field with human-readable name
  • Has non-empty description field wrapped in single quotes
  • File name is lower case with hyphens
  • Contains on and permissions in frontmatter
  • Workflow uses least-privilege permissions and safe outputs
  • No .yml, .yaml, or .lock.yml files included
  • Follows GitHub Agentic Workflows specification

For plugins (plugins/*/):

  • Directory contains a root plugin.json file
  • Directory contains a README.md file
  • plugin.json has "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json"
  • plugin.json has name field matching the directory name (lowercase with hyphens)
  • plugin.json has non-empty description field
  • plugin.json has version field (semantic version, e.g., "1.0.0")
  • Directory name is lower case with hyphens
  • If keywords is present, it is an array of lowercase hyphenated strings
  • If composition arrays are present under extensions.com.github.awesome-copilot, each entry is a valid relative path
  • If the plugin ships MCP servers, they are declared in mcp.json at the plugin root (with the mcp.schema.json $schema), not in plugin.json or .mcp.json
  • The plugin does not reference non-existent files
  • Run npm run plugin:validate and npm run build to verify the plugin passes all checks

Contributing

This is a community-driven project. Contributions are welcome! Please see:

  • CONTRIBUTING.md for contribution guidelines
  • CODE_OF_CONDUCT.md for community standards
  • SECURITY.md for security policies

MCP Server

The repository includes an MCP (Model Context Protocol) Server for searching and installing resources directly from this repository. Docker is required to run the server.

License

MIT License - see LICENSE for details

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.