/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)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dep-graph - 安装完成后,直接呼叫该 Skill 的名称或使用
/dep-graph触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Dep Graph 是什么?
Analyze and visualize project dependency trees from manifest files. Supports Node.js (package.json), Python (requirements.txt, pyproject.toml), Go (go.mod),... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 126 次。
如何安装 Dep Graph?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dep-graph」即可一键安装,无需额外配置。
Dep Graph 是免费的吗?
是的,Dep Graph 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dep Graph 支持哪些平台?
Dep Graph 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dep Graph?
由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。