# Skill Dependency Graph

> Build a dependency graph that exposes central Skills, cycles, and unnecessary coupling — use when analyzing Skill modularity.

- Skill: `quantumquirkxyz/skill-dependency-graph` (Agent Skill)
- Install (CLI): `npx skillmds@latest add quantumquirkxyz/skill-dependency-graph`
- Raw SKILL.md: https://api.skillmd.com/api/skills/quantumquirkxyz/skill-dependency-graph/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: quantumquirkxyz (https://skillmd.com/u/quantumquirkxyz)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/quantumquirkxyz/skill-dependency-graph

---


## Contract

- **Input:** problem or task defined by the skill body.
- **Output:** Markdown artifact or structured result with completion criteria met.
- **Side effects:** none (design/review/documentation only unless explicitly stated).
- **Dependencies:** none (self-contained unless linked to other skills).
- **Stop condition:** all process steps completed; artifact saved; criteria checked.
- **Risk:** low.
- **Boundary:** produces reasoning or documentation artifacts; does not modify external systems unless explicitly instructed.


# Skill Dependency Graph

## Contract

- Input: the canonical Skills directory.
- Output: Mermaid or JSON graph, cycle list, central Skills, and modularity findings.
- Boundary: analyze declared dependencies only; do not rewrite Skill contracts.

Run `node .agents/skills/platform/skill-lab.mjs graph --format mermaid` for a diagram or `--format json` for analysis input. Use incoming-edge counts to identify central Skills and inspect every cycle before adding another dependency.

