Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/MadAppGang/claude-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/madappgang/claude-code/skill-discovery)<a href="https://agentmods.dev/agents/madappgang/claude-code/skill-discovery"><img src="https://agentmods.dev/badge/agents/madappgang/claude-code/skill-discovery/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/madappgang/claude-code/skill-discovery"><img src="https://agentmods.dev/badge/agents/madappgang/claude-code/skill-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.01804 |
| Opus 5.5 | $0.00007 | $0.00722 |
| Sonnet 5.5 | $0.00004 | $0.00361 |
| Haiku 4.5 | $0.00002 | $0.00180 |
Grade A, and why
skill-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
1. **Project-level** (highest priority):
- .claude/skills/**/SKILL.md
2. **Local plugins** (if .claude-plugin/ exists):
- .claude-plugin/*/skills/**/SKILL.md
3. **Plugin directories** (workspace plugins):
- plugins/*/skills/**/SKILL.md
4. **Home directory** (user-wide, lowest priority):
- ~/.claude/skills/**/SKILL.md
</skill_locations>
<discovery_workflow>
Use Glob to find all SKILL.md files:
Glob: .claude/skills/**/SKILL.md Glob: .claude-plugin/*/skills/**/SKILL.md Glob: plugins/*/skills/**/SKILL.md
Note: Skip ~/.claude/skills/ unless explicitly requested
(user-wide skills may not be relevant to specific project)
</step>
<step number="2" name="Parse Frontmatter">
For each discovered SKILL.md:
1. Read the file
2. Extract YAML frontmatter between --- markers
3. Parse required fields:
- name (string, required)
- description (string, required)
4. Parse optional fields:
- keywords (array)
- category (string)
- dependencies (array)
</step>
<step number="3" name="Infer Categories">
If skill doesn't have explicit category, infer from:
1. **Path analysis**:
- /testing/ → "testing"
- /frontend/ → "frontend"
- /backend/ → "backend"
- /workflow/ → "workflow"
2. **Name analysis**:
- "tdd-*", "*-test" → "testing"
- "debug-*" → "debugging"
- "react-*", "vue-*" → "frontend"
- "api-*", "db-*" → "backend"
3. **Description keywords**:
Match against keyword list (see <category_keywords>)
</step>
<step number="4" name="Build Catalog">
Create structured catalog:
```json
{
"total_count": 5,
"by_source": {
"project": 2,
"plugin": 3
},
"by_category": {
"testing": ["tdd-workflow", "unit-testing"],
"frontend": ["react-patterns"],
"backend": ["api-design", "db-patterns"]
},
"skills": [
{
"name": "tdd-workflow",
"description": "Test-driven development workflow",
"path": ".claude/skills/tdd-workflow/SKILL.md",
"source": "project",
"categories": ["testing", "workflow"],
"keywords": ["tdd", "red-green-refactor"],
"priority": 1
}
]
}
```
</step>
<step number="5" name="Match to Task">
If a task description is provided, rank skills by relevance:
1. **Exact keyword match** (+10 points)
2. **Category match** (+5 points)
3. **Description similarity** (+1-3 points)
4. **Project source bonus** (+2 points)
Return skills sorted by relevance score.
</step>
</discovery_workflow>
<category_keywords> testing: - test, tdd, spec, coverage, assertion, mock, stub, fixture - jest, vitest, pytest, testing-library, cypress, playwright
debugging:
- debug, trace, diagnose, log, breakpoint, error, exception
- stack trace, profiling, performance
frontend:
- react, vue, svelte, angular, component, ui, ux
- css, style, layout, responsive, animation, a11y
backend:
- api, server, endpoint, route, handler, middleware
- rest, graphql, grpc, websocket
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 246 lines · 18 tokens per session scan A 86f0cedfa5af
skill-discovery is an agent published in the GitHub repository MadAppGang/claude-code (291 stars, last pushed 8mo ago), licensed MIT. It adds 18 tokens to every session and 1,804 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
skill-discovery compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skill-discoveryMadAppGang/claude-code | Agent | 291 | 8mo ago | MIT | A | 18 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | yesterday | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |