sequenzia/agent-alchemy/dependency-checker
Claude Code and agent skill by sequenzia/agent-alchemy
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Analyzes the Agent Alchemy plugin ecosystem to detect dependency issues across all plugin groups
Install
npx vskill@latest install sequenzia/agent-alchemy/dependency-checkerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sequenzia/agent-alchemy/dependency-checker.
Dependency Checker
Analyze the Agent Alchemy plugin ecosystem to detect dependency issues, broken paths, orphaned components, and documentation drift. Produces a health report with severity-ranked findings.
CRITICAL: Complete ALL 5 phases. The workflow is not complete until Phase 5: Report is finished. After completing each phase, immediately proceed to the next phase without waiting for user prompts.
Critical Rules
AskUserQuestion is MANDATORY
IMPORTANT: You MUST use the AskUserQuestion tool for ALL questions to the user. Never ask questions through regular text output.
- Report presentation -> AskUserQuestion
- Action selection -> AskUserQuestion
- View mode selection -> AskUserQuestion
Text output should only be used for:
- Displaying progress updates between phases
- Presenting intermediate analysis summaries (inventory counts, graph stats)
- Phase transition markers
If you need the user to make a choice or provide input, use AskUserQuestion.
NEVER do this (asking via text output):
ALWAYS do this (using AskUserQuestion tool):
Plan Mode Behavior
CRITICAL: This skill performs an interactive analysis workflow, NOT an implementation plan. When invoked during Claude Code's plan mode:
- DO NOT create an implementation plan for how to build the analysis
- DO NOT defer analysis to an "execution phase"
- DO proceed with the full analysis workflow immediately
- DO write report files as normal if
--report-fileis specified
Phase Overview
Execute these phases in order, completing ALL of them:
- Load & Discover — Parse arguments, load settings, build component inventory
- Build Dependency Graph — Parse every component file to extract dependency edges
- Analyze — Run 7 detection passes over the dependency graph
- Cross-Reference Documentation — Compare graph against CLAUDE.md/README docs for drift
- Report — Present findings interactively; optionally export
Phase 1: Load & Discover
Goal: Parse arguments, load settings, build a complete component inventory of the plugin ecosystem.
Step 1: Parse Arguments
Parse $ARGUMENTS for:
--plugin <group>— Filter to one plugin group by short directory name (e.g.,core-tools). Default: analyze all groups.--verbose— Include healthy/passing entries in the report, not just issues. Default:false.--report-file <path>— Export the full report as a markdown file to the given path. Default: none (interactive only).
Set variables:
FILTER_GROUPfrom--pluginvalue (default:null= all groups)VERBOSE_MODEfrom--verboseflag (default:false)REPORT_FILEfrom--report-filevalue (default:null)
Step 2: Load Settings
Read settings from .claude/agent-alchemy.local.md if it exists. Look for the plugin-tools.dependency-checker section in the YAML frontmatter.
| Setting | Default | Description | |
|---|---|---|---|
severity-threshold | low | Minimum severity to show: critical, high, medium, low | |
check-docs-drift | true | Whether to run Phase 4 documentation cross-referencing | |
line-count-tolerance | 10 | Percentage tolerance for line count drift in CLAUDE.md tables |
If the settings file doesn't exist or the section is missing, use defaults.
Step 3: Load Marketplace Registry
Read the marketplace registry:
Build a registry map: { plugin_name -> { version, source_dir, description } } for each entry in the plugins array. The source_dir is derived from the source field (strip leading ./).
Step 4: Discover Components
For each plugin group directory under claude/ (or only FILTER_GROUP if set), enumerate all components using Glob:
Skills:
For each found skill, read its YAML frontmatter to extract:
name,description,user-invocable,disable-model-invocationallowed-toolslistskillslist (if present — for agent-like skill composition)
Agents:
For each found agent, read its YAML frontmatter to extract:
name,description,modeltoolslistskillslist (these are skill bindings that must resolve to real skills)
Shared references (plugin-level):
Skill-local references:
Hooks:
If found, read and parse the JSON to extract hook entries.
Hook scripts:
Step 5: Display Inventory Summary
Display a text summary of what was discovered:
Phase 2: Build Dependency Graph
Goal: Parse every component file to extract all dependency edges, building a directed graph of the ecosystem.
Step 1: Define Edge Types
The graph has the following edge types:
| Edge Type | Source | Target | Pattern | |
|---|---|---|---|---|
skill-loads-skill | Skill | Skill (same plugin) | ${CLAUDE_PLUGIN_ROOT}/skills/{name}/SKILL.md (without /../) | |
skill-loads-skill-cross | Skill | Skill (other plugin) | ${CLAUDE_PLUGIN_ROOT}/../{group}/skills/{name}/SKILL.md | |
skill-loads-shared-ref | Skill | Shared reference | ${CLAUDE_PLUGIN_ROOT}/references/{path} | |
skill-loads-local-ref | Skill | Skill-local reference | ${CLAUDE_PLUGIN_ROOT}/skills/{name}/references/{path} | |
skill-loads-cross-ref | Skill | Cross-plugin reference | ${CLAUDE_PLUGIN_ROOT}/../{group}/(skills/{name}/)?references/{path} | |
skill-spawns-agent | Skill | Agent | subagent_type references in skill body | |
skill-reads-registry | Skill | Registry | ${CLAUDE_PLUGIN_ROOT}/../../.claude-plugin/ patterns | |
agent-binds-skill | Agent | Skill | skills: list in YAML frontmatter | |
hook-runs-script | Hook config | Hook script | ${CLAUDE_PLUGIN_ROOT}/hooks/{script} in command strings |
Step 2: Extract Edges from Skills
For each SKILL.md file discovered in Phase 1, scan the full file content (not just frontmatter) using these regex patterns:
Cross-plugin skill loads:
Creates edge: skill-loads-skill-cross from current skill to {group}:{skill_name}
Same-plugin skill loads:
Match only if the path does NOT contain /../ before it. Creates edge: skill-loads-skill from current skill to {skill_name} within the same plugin.
Shared reference loads (same plugin):
Creates edge: skill-loads-shared-ref
Skill-local reference loads:
Creates edge: skill-loads-local-ref
Cross-plugin reference loads:
Creates edge: skill-loads-cross-ref
Agent spawning:
Creates edge: skill-spawns-agent from current skill to the resolved agent name.
Registry reads:
Creates edge: skill-reads-registry
Step 3: Extract Edges from Agents
For each agent .md file, parse its YAML frontmatter and extract the skills: list.
Each entry in the skills: list creates an agent-binds-skill edge. The skill name must be resolved to a skill within the same plugin group as the agent (since agent frontmatter skill bindings are group-local).
Step 4: Extract Edges from Hooks
For each hooks.json file, parse the JSON and scan all command strings for script references:
Creates edge: hook-runs-script from the hook config to the referenced script file.
Step 5: Display Graph Summary
Phase 3: Analyze (7 Detection Passes)
Goal: Run 7 detection passes over the dependency graph to find issues. Each pass produces findings with a severity level.
Filter findings by severity-threshold setting — only retain findings at or above the configured threshold.
Pass 1: Circular Dependencies (Critical)
Run DFS cycle detection on the skill-loads-skill and skill-loads-skill-cross edges (the skill-to-skill subgraph).
Algorithm:
- For each skill node, perform DFS tracking the visit stack
- If a node is encountered that is already in the current visit stack, a cycle is detected
- Record the full cycle path:
skill_A -> skill_B -> ... -> skill_A
Each cycle found is a Critical severity finding.
Pass 2: Missing Dependencies (High)
For every edge in the graph, verify that the target node exists on disk:
skill-loads-skill/skill-loads-skill-cross: Check the target SKILL.md file existsskill-loads-shared-ref/skill-loads-local-ref/skill-loads-cross-ref: Check the target .md file existsskill-spawns-agent: Resolve the agent name to a file. Agent names may be:- Bare names (e.g.,
"code-explorer") — look in the same plugin group'sagents/directory - Qualified names (e.g.,
"agent-alchemy-core-tools:code-explorer") — map marketplace name to source dir, then look in that group'sagents/ agent-binds-skill: Check the skill exists in the same plugin group'sskills/directoryhook-runs-script: Check the script file exists
Each missing target is a High severity finding. Include the source file, expected target path, and edge type.
Pass 3: Broken Cross-Plugin Paths (Medium)
Scan all SKILL.md and agent .md files for path anti-patterns:
Anti-pattern 1 — Marketplace name in path:
Paths should use short directory names (e.g., core-tools), not marketplace names (e.g., agent-alchemy-core-tools).
Anti-pattern 2 — Hardcoded absolute paths:
Paths should use ${CLAUDE_PLUGIN_ROOT} variable, not absolute paths.
Anti-pattern 3 — Incorrect nesting depth:
Triple ../ or deeper should not appear (maximum is ../../ for registry access).
Each finding is Medium severity.
Pass 4: Orphaned Components (Low)
Find components with zero inbound edges (nothing references them):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 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 repositoryCheckingclaude/plugin-tools/skills/dependency-checker/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 7
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
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/sequenzia/agent-alchemy/dependency-checker)