agent-plugins
Copilot instructions19 starsChanged 5 months agoMITView on GitHub
This repository aggregates agent skills from 41 provider repositories (Anthropic, OpenAI, GitHub, Vercel, HuggingFace, Stripe, Cloudflare, Supabase, and 33+ community repos) into a unified JSON catalog consumed by MCP servers and AI agents. A GitHub Action runs daily at 06:00 UTC to fetch the latest skills, generating versioned releases with YYYY.MM.DD format. Current stats: 250+ skills, 41 providers, 150K+ combined GitHub stars Key consumers: MCP Mother Skills server.
- Reads credentials
- Installs packages
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
21 rules. About 0 are common, 12 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Add new providers by extending this dict - no other code changes needed
- Very specific: line 80
All served via jsDelivr CDN at exports/ path
- Distinctive: line 120
Only fetches/processes providers with new commits
- Very specific: line 122
Daily GH Actions runs: Use --incremental by default
- Very specific: line 167
Commit strategy: Only commits if catalog.json changes
- Distinctive: line 181
Ensure repo follows one of these structures:
- Distinctive: line 184
Check the branch name (main vs master) and adjust URLs accordingly
- Very specific: line 185
Run python scripts/aggregate.py to test
- Very specific: line 186
Verify in catalog.json under providers object
- Distinctive: line 187
Update README.md provider tables if adding a significant provider
- Distinctive: line 194
Update README.md examples if contract changes
- Distinctive: line 195
Consider backward compatibility for existing consumers
- Distinctive: line 198
Check stderr output for warnings about failed fetches or parse errors
- Very specific: line 199
Verify GITHUB_TOKEN is set to avoid rate limits (60 req/hr → 5000 req/hr)
- Very specific: line 200
Use python scripts/aggregate.py locally with verbose output before pushing
- Distinctive: line 213
When adding a new feature that users can interact with (new JSON files, new data types, new endpoints):
- Very specific: line 215
Schema: Create/update schema in schema/ directory
- Very specific: line 216
Docs Site: Update the static docs site in docs/:
- Distinctive: line 220
README.md: Document the feature with usage examples
- Distinctive: line 221
Copilot Instructions: Update this file to document the new feature
- Distinctive: line 222
GitHub Actions: Update workflow if new files need to be committed
≈ “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.
Files
Agent Skills Directory - AI Agent Instructions
Project Overview
This repository aggregates agent skills from 41 provider repositories (Anthropic, OpenAI, GitHub, Vercel, HuggingFace, Stripe, Cloudflare, Supabase, and 33+ community repos) into a unified JSON catalog consumed by MCP servers and AI agents. A GitHub Action runs daily at 06:00 UTC to fetch the latest skills, generating versioned releases with YYYY.MM.DD format.
Current stats: 250+ skills, 41 providers, 150K+ combined GitHub stars
Key consumers: MCP Mother Skills server.
Architecture
Core Components
scripts/aggregate.py- Main aggregation script (425 lines)- Fetches skills from GitHub API using tree endpoints
- Parses
SKILL.mdfiles with YAML frontmatter - Generates 2 output formats:
catalog.json,catalog.min.json - Auto-updates
CHANGELOG.mdwith version metadata - Uses
GITHUB_TOKENenv var to avoid rate limits
- Provider System - Extensible provider configuration (lines 35-207 in aggregate.py)
PROVIDERS = { "provider-id": { "name": "Display Name", "repo": "https://github.com/org/repo", "api_tree_url": "https://api.github.com/repos/.../git/trees/main?recursive=1", "raw_base": "https://raw.githubusercontent.com/.../main", "skills_path_prefix": "skills/", # Can be "" for root-level SKILL.md } }- Add new providers by extending this dict - no other code changes needed
- Supports root-level
SKILL.mdfiles (single-skill repos) withskills_path_prefix: "" - Some repos use
masterbranch instead ofmain- adjust URLs accordingly - Provider stats include
starsanddescriptionfetched from GitHub API
- Category System - Keyword-based auto-categorization (lines 67-74)
- Maps skills to categories:
documents,development,creative,enterprise,integrations,data,security,cloud,mobile,ml-ai,testing,devops,web,other - Based on keyword matching in name/description
- To add categories: extend
CATEGORY_KEYWORDSdict
- Maps skills to categories:
- Quality Scoring System - Composite quality metrics (0-100 points)
- Maintenance score (50pts max): active=50, maintained=40, stale=20, abandoned=5
- active: updated < 30 days ago
- maintained: updated < 6 months ago
- stale: updated < 1 year ago
- abandoned: updated > 1 year ago
- Documentation completeness (30pts max): scripts=10, references=10, assets=10
- Provider trust (20pts max): trusted providers=20, community=10
- Trusted: anthropics, openai, github, vercel, stripe, cloudflare, supabase, etc.
- Used for informed discoverability - helping users choose between similar skills
- Displayed in web UI as colored badges and in CLI with ⭐ emoji
- Maintenance score (50pts max): active=50, maintained=40, stale=20, abandoned=5
- Schema -
schema/catalog-schema.jsondefines the output contract- JSON Schema draft-07
- Validates version format:
^\d{4}\.\d{2}\.\d{2}$ - Each skill has:
source(repo metadata),has_scripts,has_references,has_assetsflags - Includes
quality_score(0-100),maintenance_status,days_since_update
- Static Docs Site -
docs/directory (HTML/JS/CSS)- Pure client-side catalog browser
- Fetches catalog via jsdelivr CDN
- Supports URL query params:
?provider=,?category=,?search=,?tags=,?id= - Shows quality scores, maintenance badges, and similar skills with score comparison
- Tabs: Browse, Bundles, Exports & Badges, CLI, What are Skills, How to Use
- Exports tab: ecosystem-specific CDN URLs, badge generator, validate-skill workflow docs, distribution channels
- Ecosystem Exports -
exports/directory (generated by aggregate.py)claude-skills.json- Quality ≥ 50 skills for Claude Codecopilot-skills.json- Quality ≥ 50 skills for GitHub Copilotmcp-compatible.json- Skills tagged with 'mcp'premium-skills.json- Quality ≥ 70 skillsactive-skills.json- Skills updated within 6 monthsbadge-skills.json- Shields.io endpoint for skills count badgebadge-providers.json- Shields.io endpoint for providers count badgebadge-quality.json- Shields.io endpoint for quality percentage badgeindex.json- Index of all exports with CDN URLs- All served via jsDelivr CDN at
exports/path - Copied to
docs/exports/for GitHub Pages serving
- Badge System - Dynamic shields.io badges + embeddable markdown
- Dynamic badges via shields.io endpoint API (auto-updated on each aggregation)
- "Listed on Agent Skills Directory" static badge for skill authors
- Quality score badge generator on docs site
- Badge markdown snippets in README and docs site
- Validate-Skill GitHub Action -
.github/workflows/validate-skill.yml- Reusable workflow that skill authors reference in their repos
- Validates: YAML frontmatter, required fields, naming conventions, content length, secrets scan
- Generates badge suggestion on success
- Usage:
uses: dmgrok/agent-plugins/.github/workflows/validate-skill.yml@main
Critical Workflows
Running Aggregation Locally
# Required: PyYAML, optional: python-dotenv (for .env support), pytest
python -m venv .venv && . .venv/bin/activate
pip install pyyaml python-dotenv pytest
# Optional: Create .env file with GitHub token to avoid rate limits
echo "GITHUB_TOKEN=your_token_here" > .env
# Run full aggregation (fetches all providers)
python scripts/aggregate.py
# Run incremental aggregation (only fetches changed providers - saves API requests)
python scripts/aggregate.py --incremental
# Outputs: catalog.json, catalog.min.json,
# CHANGELOG.md updated, aggregation_state.json (for incremental mode)Incremental Mode (New!)
The aggregator supports an incremental mode that dramatically reduces GitHub API requests:
- Uses
aggregation_state.jsonto track last run timestamp and provider commit SHAs - Checks each provider's HEAD commit to detect changes
- Only fetches/processes providers with new commits
- Savings: With 41 providers, typically saves 70-80+ GitHub API requests per run
- Daily GH Actions runs: Use
--incrementalby default - Manual full refresh: Available via workflow_dispatch with
full_refresh: true
State file structure:
{
"last_run": "2026-01-31T12:00:00+00:00",
"provider_commits": {
"anthropics": "abc123...",
"openai": "def456..."
},
"skills_count": 250,
"version": "2026.01.31"
}Testing
pytest # Runs tests/test_aggregate.pyChangelog Generation
update_changelog() function (starting around line 335) automatically:
- Inserts new version entry after
## [Unreleased]section - Includes total skills, provider breakdown, categories
- Preserves existing changelog history
Project-Specific Conventions
Skill Metadata Enrichment
last_updated_at: Fetched via GitHub API commits endpoint for eachSKILL.mdfile (seefetch_last_updated_at())has_scripts/has_references/has_assets: Detected by checking tree paths forscripts/,references/,assets/directoriestags: Auto-extracted from name/description using keyword matching (max 10 tags)quality_score: Calculated viacalculate_quality_score()combining maintenance (50pts), documentation (30pts), and provider trust (20pts)maintenance_status: Derived fromdays_since_updateviacalculate_maintenance_status()
Error Handling
- Network requests use retry logic with exponential backoff (3 retries, see
fetch_url()) - Failed skills are logged to stderr but don't stop aggregation
- GitHub API failures gracefully degrade (missing
last_updated_atis allowed)
GitHub Actions Integration
- Workflow:
.github/workflows/update-catalog.yml - Incremental mode: Daily runs use
--incrementalto save API requests - Full refresh option: workflow_dispatch supports
full_refresh: truefor manual full runs - Commit strategy: Only commits if
catalog.jsonchanges - Release strategy: Creates GitHub release with
vYYYY.MM.DDtag on changes - Files committed:
catalog.json,catalog.min.json,CHANGELOG.md,aggregation_state.json - Git user:
github-actions[bot](NOT dmgrok) for automated commits
CDN Delivery
Primary distribution via jsdelivr CDN with two patterns:
- Latest:
https://cdn.jsdelivr.net/gh/dmgrok/agent-plugins@main/catalog.json - Pinned:
https://cdn.jsdelivr.net/gh/dmgrok/agent-plugins@v2026.01.26/catalog.json
Common Development Tasks
Adding a New Provider
- Edit
PROVIDERSdict inscripts/aggregate.py - Ensure repo follows one of these structures:
- Multi-skill repo:
skills/*/SKILL.mdwith YAML frontmatter - Single-skill repo:
SKILL.mdat root (useskills_path_prefix: "")
- Multi-skill repo:
- Check the branch name (main vs master) and adjust URLs accordingly
- Run
python scripts/aggregate.pyto test - Verify in
catalog.jsonunderprovidersobject - Update README.md provider tables if adding a significant provider
Modifying Categorization Logic
Edit CATEGORY_KEYWORDS dict or categorize_skill() function (line 195).
Updating Schema
- Modify
schema/catalog-schema.json - Update README.md examples if contract changes
- Consider backward compatibility for existing consumers
Debugging Aggregation Issues
- Check stderr output for warnings about failed fetches or parse errors
- Verify
GITHUB_TOKENis set to avoid rate limits (60 req/hr → 5000 req/hr) - Use
python scripts/aggregate.pylocally with verbose output before pushing
Anti-Patterns to Avoid
- ❌ Don't hardcode skill data - always fetch from source repos
- ❌ Don't skip CHANGELOG updates -
update_changelog()must be called inmain() - ❌ Don't commit without testing schema validation
- ❌ Don't modify GitHub Actions workflow without updating commit file list (currently: catalog.json, catalog.min.json, CHANGELOG.md, aggregation_state.json, exports/, docs/exports/)
- ❌ Don't use
dmgrokas git user in automated workflows - usegithub-actions[bot]instead - ❌ Don't add new features without updating the docs site - always update
docs/index.html,docs/app.js, anddocs/style.csswhen adding user-facing features
Adding New Features Checklist
When adding a new feature that users can interact with (new JSON files, new data types, new endpoints):
- Schema: Create/update schema in
schema/directory - Docs Site: Update the static docs site in
docs/:index.html: Add new tabs/sections in the UIapp.js: Add fetch logic, rendering functions, and event handlersstyle.css: Add styles for new components
- README.md: Document the feature with usage examples
- Copilot Instructions: Update this file to document the new feature
- GitHub Actions: Update workflow if new files need to be committed
Key Files Reference
scripts/aggregate.py: Core aggregation logic (~1200 lines, 41 providers, incremental mode support)scripts/analyze_repo.py: Utility to evaluate potential new provider reposcli/skills.py: CLI tool for installing/managing skills (npm-like)cli/__init__.py: CLI package initpyproject.toml: Python package configuration for CLI distributionschema/catalog-schema.json: Output contract with stars/description fieldsschema/bundles-schema.json: Curated skill bundles schemaschema/skill-manifest-schema.json: skill.json manifest schema (like package.json).github/workflows/update-catalog.yml: Automation pipeline with incremental modedocs/app.js: Static site catalog, bundles, and exports display logic (shows stars)docs/index.html: Static site HTML with tabs for Skills, Bundles, Exports & Badges, CLI, and Helpdocs/style.css: Static site styling (star badges, CLI styles, exports grid, etc.)tests/test_aggregate.py: Unit tests for parsing and encodingCHANGELOG.md: Auto-generated version historyREADME.md: User-facing documentation with provider tablesbundles.json: Curated skill bundles for common use casescatalog.json: Aggregated skills catalog (auto-generated)aggregation_state.json: Incremental mode state file (tracks commit SHAs)
CLI Tool (cli/skills.py)
The CLI provides npm-like package management for skills:
Commands
skillsdir search <query>- Search skills by name/description/tagsskillsdir info <skill-id>- Show detailed skill informationskillsdir suggest [path]- AI-powered skill recommendations based on project README and structureskillsdir install <skill-id>[@version]- Install a skill to~/.skills/installed/skillsdir uninstall <skill-id>- Remove an installed skillskillsdir list [--json]- List installed skillsskillsdir init- Create a new skill.json manifest interactivelyskillsdir update- Check for and apply updatesskillsdir config list|get|set- Manage CLI configurationskillsdir cache clean|list- Manage cacheskillsdir run <skill-id>- Preview/run a skill (placeholder for runtime integration)
Suggest Command (New!)
The suggest command uses AI to analyze projects and recommend relevant skills:
- Input: Project README + file structure analysis (languages, frameworks, file types)
- Processing: Uses Perplexity MCP's reasoning capability to match project needs with catalog skills
- Output: 5-10 ranked recommendations with confidence levels and quality scores
- Fallback: Heuristic-based matching when LLM is unavailable (keyword matching in README + tech stack)
- Usage:
skillsdir suggest [path] [--verbose]
Implementation details:
find_readme()- Locates README.md in projectcmd_suggest()- Main command handler (uses MCP if available)generate_heuristic_suggestions()- Fallback for when LLM unavailable (scores skills by README keywords, language/framework matching, quality, and maintenance status)
Local Registry Structure
~/.skills/
├── config.json # CLI configuration
├── installed/ # Installed skills
│ ├── provider/
│ │ └── skill-name/
│ │ ├── skill.json # Manifest
│ │ └── SKILL.md # Instructions
└── cache/ # Catalog cacheskill.json Manifest Schema
Defines skill metadata, dependencies, and capabilities (like package.json for skills):
name,version,description- Basic infodependencies- Other skills requiredruntime- Target framework (mcp, langchain, crewai, etc.)capabilities- Required permissions (web-browsing, file-system, etc.)inputs/outputs- Parameter definitions
See schema/skill-manifest-schema.json for full specification.
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.

