← 返回 Skills 市场
johnnywang2001

Dep Graph

作者 John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
126
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dep-graph
功能描述
Analyze and visualize project dependency trees from manifest files. Supports Node.js (package.json), Python (requirements.txt, pyproject.toml), Go (go.mod),...
使用说明 (SKILL.md)

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)
安全使用建议
This skill is a small, local dependency manifest parser and appears coherent with its description. If you install it, note it will run the included Python script with the permissions of the agent and will read files in whatever project directory you point it at. If you want extra safety, inspect the script (scripts/dep_graph.py) yourself and run it in a controlled environment before allowing the agent to run it against sensitive directories.
功能分析
Type: OpenClaw Skill Name: dep-graph Version: 1.0.0 The skill is a legitimate utility for analyzing and visualizing project dependency trees across multiple languages (Node.js, Python, Go, etc.). The Python script (scripts/dep_graph.py) uses only the standard library, performs safe file reading of specific manifest files, and contains no network activity, obfuscation, or execution of arbitrary commands.
能力评估
Purpose & Capability
Name/description match the implementation: the script parses common manifest files (package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, Gemfile, composer.json) and formats a tree or JSON. It does not request unrelated permissions or environment variables.
Instruction Scope
SKILL.md instructs running the included script against a project directory and using flags for JSON/summary/formatting. The script only reads files in the target directory (manifest files) and prints output; there are no instructions to read other system files, call external endpoints, or exfiltrate data.
Install Mechanism
No install spec is provided (instruction-only). The script uses only the Python standard library as claimed. Nothing is downloaded or written to disk by an installer.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not reference credentials or external services. Requested access is minimal and appropriate for the described task.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or attempt to modify other skills or global agent settings. Autonomous invocation is allowed (platform default) but is not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dep-graph
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dep-graph 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
dep-graph 1.0.0 — Initial release - Analyze and visualize dependency trees for Node.js, Python, Go, Rust, Ruby, and PHP projects. - Auto-detects manifest files; supports multiple manifests in a single project. - Outputs tree-structured, JSON, or summary views of dependencies, grouped by type (e.g., production, dev). - Command-line options: select output format, show/hide version constraints, force project type. - Requires only Python 3.8+ standard library (no external dependencies).
元数据
Slug dep-graph
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论