Skip to main content
skill CX Codex

rust-deps-visualizer — Claude Code skill: Rust dependency tree

Draws your Rust project's dependency tree as ASCII art. Handy when you need to see what a Cargo.toml actually pulls in.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add actionbook/rust-skills --skill rust-deps-visualizer -a claude-code
Open on GitHub

What rust-deps-visualizer does

The skill reads Cargo.toml, runs cargo tree, and formats the result with ├── and └── characters. Tree depth defaults to 3 and can be changed with --depth N. Add --features to list the enabled feature flags next to each crate.

Three steps sit behind it: parse the manifest with cargo metadata, pull the full tree with cargo tree, then format. There is a category view that groups crates into runtime, serialization and development, plus an optional size bar chart. The skill uses Bash, Read and Glob, so run it from the directory that holds Cargo.toml.

No cargo binary, or the wrong working directory, and you get nothing back. For crate selection and workspace questions the author points to a separate skill, m11-ecosystem.

What it helps with

  • see the full dependency tree of a Rust project
  • cap output depth when a project has many crates
  • check which feature flags a dependency enables
  • group dependencies into runtime, serialization and development
  • estimate crate sizes in the tree

Example prompts for the agent

  • show me the dependency tree for this project
  • /rust-deps-visualizer --depth 2
  • /rust-deps-visualizer --features

How to install rust-deps-visualizer

1Skills CLI (Vercel)

npx skills add actionbook/rust-skills --skill rust-deps-visualizer -a claude-code

2Manually: put the files in place

~/.claude/skills/rust-deps-visualizer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rust-deps-visualizer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rust-deps-visualizer

How do I install rust-deps-visualizer in Claude?

Run npx skills add actionbook/rust-skills --skill rust-deps-visualizer -a claude-code. The skill lands in ~/.claude/skills/rust-deps-visualizer/SKILL.md.

What does rust-deps-visualizer do?

It builds an ASCII dependency tree for a Rust project from cargo tree and cargo metadata. It can also show feature flags and group crates by category.

Which flags does the skill take?

--depth N limits tree depth and defaults to 3. --features adds the enabled feature flags to each dependency.

Similar skills

All skills for Programming languages →

From the same set33

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor