/install dep-graph
Dep Graph
Parse and display project dependency trees from manifest files. Auto-detects project type.
Quick Start
# Analyze current project
python3 scripts/dep_graph.py
# Analyze specific directory
python3 scripts/dep_graph.py /path/to/project
# JSON output
python3 scripts/dep_graph.py --json
# Summary only (just counts)
python3 scripts/dep_graph.py --summary
# Force project type
python3 scripts/dep_graph.py --type node
# Hide version constraints
python3 scripts/dep_graph.py --no-versions
Supported Project Types
| Type | Manifest File | Groups |
|---|---|---|
| Node.js | package.json |
production, dev, peer |
| Python | requirements.txt |
production |
| Python | pyproject.toml |
production |
| Go | go.mod |
production, indirect |
| Rust | Cargo.toml |
production, dev |
| Ruby | Gemfile |
production, dev |
| PHP | composer.json |
production, dev |
Auto-detects multiple manifest files in the same project and reports all.
Output
Tree view shows dependencies grouped by type (production/dev/peer) with version constraints. Use --json for programmatic processing or --summary for quick counts.
Dependencies
- Python 3.8+ (stdlib only, no pip packages needed)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dep-graph - After installation, invoke the skill by name or use
/dep-graph - Provide required inputs per the skill's parameter spec and get structured output
What is Dep Graph?
Analyze and visualize project dependency trees from manifest files. Supports Node.js (package.json), Python (requirements.txt, pyproject.toml), Go (go.mod),... It is an AI Agent Skill for Claude Code / OpenClaw, with 126 downloads so far.
How do I install Dep Graph?
Run "/install dep-graph" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dep Graph free?
Yes, Dep Graph is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Dep Graph support?
Dep Graph is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dep Graph?
It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.