agentleFS
PaperBackPear3PaperBackPear3/awesome-agent-toolkits/.github/copilot-instructions.md

awesome-agent-toolkits

Copilot instructions0 starsChanged 6 months agoMITView on GitHub

A framework for packaging business logic as discoverable agent skills. Skills are self-contained instruction packages that AI agents load at runtime to perform complex, multi-step tasks. The MCP server makes skills discoverable and exposes their tools to any MCP-compatible client. This is NOT an application. There is no build system, no runtime code, no tests. The deliverables are: Markdown playbooks, Python helper scripts, JSON manifests, and HTML templates.

The file

We split this copilot-instructions.md into the rules it gives an agent

9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Very specific:

    Write SKILL.md — must have YAML frontmatter with name, description (include "Use when..." and "Do NOT use for...")

    line 35
  2. Very specific:

    Write a Python script in skills/<category>/<skill>/tools/ — prints JSON to stdout, uses argparse, stdlib only

    line 42
  3. Very specific:

    Add entry to that skill's tools/mcp_tools.json

    line 43
  4. Very specific:

    Create plugins/<name>/ with .claude-plugin/plugin.json, .codex-plugin/plugin.json, .mcp.json

    line 47
  5. Very specific:

    Don't add requirements.txt or external Python dependencies to tool scripts

    line 64
  6. Distinctive:

    Don't put orchestration logic in MCP tools (keep them stateless)

    line 65
  7. Very specific:

    Don't create skills without registering in manifest.json

    line 66
  8. Very specific:

    Don't hardcode tool registrations — use mcp_tools.json

    line 67
  9. Distinctive:

    Don't mix domains in one skill — create separate skills per concern

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
copilot-instructions.md

Copilot Instructions

What This Repository Is

A framework for packaging business logic as discoverable agent skills. Skills are self-contained instruction packages that AI agents load at runtime to perform complex, multi-step tasks. The MCP server makes skills discoverable and exposes their tools to any MCP-compatible client.

This is NOT an application. There is no build system, no runtime code, no tests. The deliverables are: Markdown playbooks, Python helper scripts, JSON manifests, and HTML templates.

Repository Structure

skills/<category>/<skill-name>/     ← Canonical skill content
  SKILL.md                          ← Entry point (YAML frontmatter + phases)
  tools/                            ← Python scripts (optional, exposed via MCP)
    mcp_tools.json                  ← Tool declarations for auto-discovery
  references/                       ← Reference data (auto-exposed as MCP resources)
  agents/                           ← Sub-agent prompts for fan-out work
  assets/                           ← Report templates
plugins/<plugin-name>/              ← Installable bundles for agent marketplaces
  .claude-plugin/plugin.json
  .codex-plugin/plugin.json
  .mcp.json
  skills/                           ← Symlinks to canonical skills
rules/                              ← Agent behavior rules (per-domain)
mcp-server/                         ← Agent Toolkit MCP server (published separately as `agent-toolkit-mcp-server` via uvx)
skills/manifest.json                ← Machine-readable skill catalog
docs/                               ← Framework documentation

How to Work in This Repo

Adding a new skill

  1. mkdir -p skills/<category>/<name>/{tools,references}
  2. Write SKILL.md — must have YAML frontmatter with name, description (include "Use when..." and "Do NOT use for...")
  3. Optionally add tools/mcp_tools.json to expose scripts as MCP tools
  4. Register in skills/manifest.json
  5. Validate: python3 -c "import json; json.load(open('skills/manifest.json'))"

Adding a new MCP tool

  1. Write a Python script in skills/<category>/<skill>/tools/ — prints JSON to stdout, uses argparse, stdlib only
  2. Add entry to that skill's tools/mcp_tools.json

Adding a new plugin

  1. Create plugins/<name>/ with .claude-plugin/plugin.json, .codex-plugin/plugin.json, .mcp.json
  2. Symlink skills into plugins/<name>/skills/
  3. Register in .claude-plugin/marketplace.json and .agents/plugins/marketplace.json

Conventions — Follow These

  • SKILL.md frontmatter is sacred — name (kebab-case, unique), description (verb phrase + triggers + exclusions), version (integer)
  • Tools are namespaced — <category>__<tool_name> (double underscore)
  • Resources auto-discovered — anything in references/ or assets/ becomes an MCP resource
  • Safety-first — skills never apply changes without user confirmation
  • Stdlib only — Python scripts use no external dependencies
  • One concern per skill — don't combine unrelated workflows in one SKILL.md
  • Phases are linear — agents work through phases sequentially, one per turn
  • Description quality matters — agents route to skills based on the description field; write it like trigger documentation

What NOT to Do

  • Don't add requirements.txt or external Python dependencies to tool scripts
  • Don't put orchestration logic in MCP tools (keep them stateless)
  • Don't create skills without registering in manifest.json
  • Don't hardcode tool registrations — use mcp_tools.json
  • Don't mix domains in one skill — create separate skills per concern

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.