# Rust deps visualizer

> Rust deps visualizer is an open-source agent skill for developer tools. Renders a Rust project's dependency tree as ASCII art, with optional feature flags. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/k1-c/linear-tui/tree/main/.claude/skills/rust-deps-visualizer
- **Repository:** https://github.com/k1-c/linear-tui
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** rust-deps-visualizer
- **Collection:** https://github.com/k1-c/linear-tui
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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, 依赖图, 依赖可视化, 显示依赖

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-deps-visualizer)
- [Asks for: Bash, Read, Glob](https://github.com/k1-c/linear-tui/blob/HEAD/.claude/skills/rust-deps-visualizer/SKILL.md)
- [License: MIT](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-deps-visualizer)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Rust symbol analyzer](https://ai-powered.com/skills/rust-symbol-analyzer): Rust symbol analyzer is an open-source agent skill for developer tools.
- [Rust code navigator](https://ai-powered.com/skills/rust-code-navigator): Rust code navigator is an open-source agent skill for developer tools.
- [M11 ecosystem](https://ai-powered.com/skills/m11-ecosystem): M11 ecosystem is an open-source agent skill for developer tools.
- [Rust trait explorer](https://ai-powered.com/skills/rust-trait-explorer): Rust trait explorer is an open-source agent skill for developer tools.
- [Rust call graph](https://ai-powered.com/skills/rust-call-graph): Rust call graph is an open-source agent skill for developer tools.
- [Domain CLI](https://ai-powered.com/skills/domain-cli): Domain CLI is an open-source agent skill for developer tools.
- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [Rust skill creator](https://ai-powered.com/skills/rust-skill-creator): Rust skill creator is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rust-deps-visualizer
