A Claude Code skill for browsing and fetching subagents from the awesome-claude-code-subagents catalog.
Copy the subagent-catalog/ folder to ~/.claude/commands/:
cp -r tools/subagent-catalog ~/.claude/commands/| Command | Description |
|---|---|
/subagent-catalog:search <query> |
Find agents by name, description, or category |
/subagent-catalog:fetch <name> |
Get full agent definition |
/subagent-catalog:list |
Browse all categories |
/subagent-catalog:invalidate |
Clear cache (add --fetch to refresh immediately) |
Find security-related agents:
/subagent-catalog:search security
Get the code-reviewer definition:
/subagent-catalog:fetch code-reviewer
Browse all available agents:
/subagent-catalog:list
- Smart caching: 12-hour TTL with graceful fallback on network failure
- Atomic updates: Uses tmp file + mv pattern to prevent partial writes
- Cross-platform: Works on macOS and Linux
- Best practices: Follows Anthropic skill authoring guidelines
- Location:
~/.claude/cache/subagent-catalog.md - TTL: 12 hours (configurable in
config.sh) - Behavior: Auto-refreshes when stale, falls back to old cache on network failure
| Issue | Fix |
|---|---|
| Stale results | /subagent-catalog:invalidate --fetch |
| Network error | Check connection, retry |
| Agent not found | /subagent-catalog:search <partial-name> first |