Skip to content
Skill

Rust deps visualizer

Renders a Rust project's dependency tree as ASCII art, with optional feature flags

Rust deps visualizer is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Rust deps visualizer

This skill has the agent produce a text-based tree of a Rust project's dependencies, built from cargo metadata and cargo tree output. It works from the Cargo.toml in the current directory and supports a depth limit (default 3) and an option to show feature flags next to each crate.

The documented output includes a simple tree, a feature-aware tree, a categorized view that groups direct dependencies by purpose such as runtime, serialization or development, and an optional size view with bar-style sizes and a total. The categorization step is optional and the size view is presented as an optional visual enhancement.

It expects a Rust project with a Cargo.toml and a working Rust toolchain so that cargo commands can run. The allowed tools are Bash, Read and Glob. The skill also ships a short related-skills table that points to other crate-ecosystem guidance.

When your agent uses it

Visualize Rust project dependencies as ASCII art. Triggers on: /deps-viz, dependency graph, show dependencies, visualize deps, 依赖图, 依赖可视化, 显示依赖

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/rust-deps-visualizer to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rust-deps-visualizer &&
cp -R "$tmp/.claude/skills/rust-deps-visualizer" ~/.claude/skills/rust-deps-visualizer &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/rust-deps-visualizer inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/rust-deps-visualizer to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rust-deps-visualizer &&
cp -R "$tmp/.claude/skills/rust-deps-visualizer" ~/.agents/skills/rust-deps-visualizer &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/rust-deps-visualizer inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/rust-deps-visualizer to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rust-deps-visualizer &&
cp -R "$tmp/.claude/skills/rust-deps-visualizer" ~/.cursor/skills/rust-deps-visualizer &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/rust-deps-visualizer inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/k1-c/linear-tui.git --path .claude/skills/rust-deps-visualizer

Or copy the folder to ~/.gemini/skills/rust-deps-visualizer yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/rust-deps-visualizer:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rust-deps-visualizer &&
cp -R "$tmp/.claude/skills/rust-deps-visualizer" ~/.copilot/skills/rust-deps-visualizer &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/rust-deps-visualizer inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/k1-c/linear-tui.git

Then copy linear-tui/.claude/skills/rust-deps-visualizer into your agent's skills folder as rust-deps-visualizer. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

ASCII dependency tree
Lays out the project's crates as a nested tree using box-drawing characters.
Adjustable tree depth
Limits how many levels of transitive dependencies are shown via a depth option.
Feature flag display
Shows enabled feature flags beside each crate when requested.
Categorized grouping
Optionally groups direct dependencies into runtime, serialization and development sections.
Size breakdown view
Optionally shows crate sizes as bars with a total line.

Good for

  • Show me the dependency tree of this Rust project
  • Visualize the crates my Cargo project depends on, three levels deep
  • Display which feature flags are enabled for each dependency
  • Group my Rust dependencies by runtime, serialization and dev tools

Rust deps visualizer FAQ

What does the skill need to run?

It expects a Rust project with a Cargo.toml in the current directory and uses cargo commands, so the Rust toolchain must be available. It is allowed to use Bash, Read and Glob.

How do I trigger Rust deps visualizer?

It triggers on phrases such as /deps-viz, dependency graph, show dependencies, visualize deps, and several Chinese equivalents for dependency graph and visualization.

Can I control how deep the tree goes?

Yes. The --depth N option limits tree depth, and the default is 3.

Does Rust deps visualizer change any files?

The skill's steps run cargo metadata and cargo tree to read dependency information and format the output as text. It does not describe writing files.

How do I install Rust deps visualizer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rust-deps-visualizer to use it in all your projects, or to .claude/skills/rust-deps-visualizer in one project.

Does Rust deps visualizer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Rust deps visualizer?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Rust deps visualizer?

The closest alternatives to Rust deps visualizer are Rust symbol analyzer, Rust code navigator, M11 ecosystem, Rust trait explorer and Rust call graph.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from k1-c/linear-tui

  1. Gives the agent a quick reference of Rust-specific naming, error handling and async rules

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Guides the agent to write Conventional Commits, splitting mixed changes into several

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Guides an agent through building Rust command-line tools with clap, config layers

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Guides the agent through Rust ownership, borrow and lifetime compiler errors

    • Open source
    • 21 GitHub stars
    • Developer tools
  5. Guides an agent in choosing Rust smart pointers like Box, Rc, Arc, Weak and RefCell

    • Open source
    • 21 GitHub stars
    • Developer tools
  6. Guides a Rust agent through E0596/E0499/E0502 borrow errors and interior mutability

    • Open source
    • 21 GitHub stars
    • Developer tools