ericgandrade/claude-superskills/agent-skill-discovery
Claude Code and agent skill by ericgandrade/claude-superskills
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user wants to see all installed plugins, agents, skills, and MCP servers, and also inspect the current repository for local agents, skills, and MCP configuration. Scans the environment and presents a structured catalog of available resources. Works across all AI CLI platforms (Claude Code, GitHub Copilot, Gemini CLI, OpenCode, OpenAI Codex).
Install
npx vskill@latest install ericgandrade/claude-superskills/agent-skill-discoverySKILL.md
agent-skill-discovery
Purpose
Automated inventory of AI CLI resources across two scopes: resources installed on the system and resources present in the current repository. This skill provides a comprehensive, platform-agnostic catalog of plugins, agents, skills, and MCP servers available in the current environment.
The skill operates in discovery-only mode—it scans, lists, and presents resources without performing analysis, recommendations, or orchestration. It serves as the foundation layer for resource awareness across all supported AI CLI platforms.
When to Use
Invoke this skill when:
- User wants to know what resources are installed
- Before planning complex tasks (foundation for orchestration)
- Debugging missing resources or capabilities
- Auditing available tools and integrations
- Discovering newly installed plugins or MCP servers
- Verifying skill installation after setup
- Understanding platform capabilities
- Checking whether the current repository contains local agents, skills, or MCP configs
Progress Tracking
Display a progress gauge before each step to keep the user informed:
Parallel Scanning Strategy
After platform detection (Step 0), launch Steps 1–4 as four simultaneous agents in a single block:
| Agent | Role | |
|---|---|---|
PluginScanner | Glob for plugin.json files, extract name/version/agents metadata | |
SkillScanner | Glob for SKILL.md files, parse YAML frontmatter, extract name/description/triggers | |
McpScanner | Read .mcp.json, run ToolSearch per server, build tool inventory | |
RepoScanner | Scan current working directory for local agents, skills, and MCP configs |
Each agent prompt header: # {AgentName} — Resource Discovery Agent
Wait for all four to complete, then apply filters (Step 5) and generate catalog (Step 6).
Workflow
Step 0: Platform Detection
Objective: Identify which AI CLI platform is executing the skill.
Detection Strategy:
Check for platform-specific base directories in order:
Platform Configuration:
Platform configuration is uniform across all 5 platforms — pluginsDir, skillsDir, and mcpConfig paths follow the same structure relative to BASE_DIR. Use BASE_DIR resolved from the detection above for all subsequent path construction.
Step 1: Scan for Plugins
Objective: Discover all installed plugins and their agents.
Actions:
Use Glob to find plugin manifests:
For each plugin found:
- Read plugin manifest:
``bash Read: {plugin_path}/plugin.json ``
- Extract metadata:
- Plugin name
- Plugin version
- Plugin description
- Agents array
- Parse agent details:
For each agent in the agents array:
- Agent name
- Agent description
- Available tools (Glob, Grep, Read, Write, Bash, etc.)
- Agent color/category (if specified)
Data Structure:
Graceful Handling:
- If plugins directory doesn't exist: Return empty plugin array
- If plugin.json is malformed: Log warning, skip plugin, continue
- If agents array is missing: Include plugin with 0 agents
Step 2: Scan for Skills
Objective: Discover all installed skills and their metadata.
Actions:
Use Glob to find skill definitions:
For each skill found:
- Read skill file:
``bash Read: {skill_path}/SKILL.md ``
- Parse YAML frontmatter:
Extract the YAML block between --- delimiters: ```yaml
name: skill-creator description: "This skill should be used when..." triggers:
- "create a skill"
- "new skill"
version: 1.0.0 category: development
```
- Extract metadata:
- Skill name
- Description
- Triggers (array of phrases)
- Version
- Category
- Tags (if present)
Data Structure:
Graceful Handling:
- If skills directory doesn't exist: Return empty skill array
- If SKILL.md has no YAML frontmatter: Skip skill, continue
- If required fields missing (name, description): Log warning, skip
- If triggers is empty: Include skill with empty triggers array
Step 3: Scan for MCP Servers
Objective: Discover configured MCP servers and their available tools.
Actions:
3.1 Read MCP Configuration:
If file exists, parse JSON:
3.2 Discover Available Tools:
Use ToolSearch with pattern mcp__{server_name}__* to list available tools for each configured MCP server. Build tool inventory from results. If ToolSearch fails, mark the server's tools as "unavailable" and continue.
3.3 Build MCP Server Inventory:
Graceful Handling:
- If .mcp.json doesn't exist: Return empty MCP array
- If .mcp.json is malformed: Log warning, return empty array
- If ToolSearch fails: Continue with server info, mark tools as "unavailable"
- If no tools found for server: Include server with toolCount = 0
Step 4: Scan Current Repository
Objective: Discover local resources inside the repository where the user is currently working.
Scope:
Scan from current working directory (repository root when available). Do not use hardcoded absolute paths.
4.1 Discover Local Agents:
Search for agent manifests in common conventions:
**/plugin.jsonfiles containingagentsarrays**/agents/*.mdand**/agents/*.json**/.claude/agents/*and similar platform-local agent folders
For each candidate:
- Parse safely (JSON/YAML/Markdown metadata)
- Extract agent name, description, and source path
- Mark resource scope as
local
4.2 Discover Local Skills:
Search for skill definitions in common conventions:
**/skills/*/SKILL.md**/.*/skills/*/SKILL.md(hidden platform folders in repo)
Parse YAML frontmatter using same validation rules as installed skills.
4.3 Discover Local MCP Configurations:
Search for MCP configuration files in common conventions:
./.mcp.json./mcp.json./.config/mcp.json**/.mcp.json(nested workspace folders)
If multiple files exist:
- Parse all valid configs
- Merge by server name
- Deduplicate with installed scope by server name + command
4.4 Deduplication Rules:
- Keep installed and local inventories in separate sections
- Inside each section, deduplicate by normalized name
- If same resource appears in both scopes, keep both entries and label scope explicitly
Graceful Handling:
- If repository has no local resources: Return empty local arrays
- If a local file is malformed: Skip file, continue scan
- If repository root cannot be determined: Fallback to current working directory
Step 5: Apply Filters (Optional)
Objective: Filter results based on user-specified criteria.
Filter Types:
5.1 By Resource Type:
5.2 By Category:
5.3 By Keyword Search:
Filter by keyword: match the search term (case-insensitive substring) against plugin names, skill names and descriptions, trigger phrases, MCP server names, and tool names. Return only matching entries.
Filter Detection:
Detect filter intent from user request:
- "only", "just", "show me" → Type filter
- "related to", "about", "for" → Keyword search
- Category names (development, content, analysis) → Category filter
Step 6: Generate Catalog
Objective: Present discovered resources in clean, structured markdown.
Output Format:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-skill-discovery/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 5
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ericgandrade/claude-superskills/agent-skill-discovery)