
Description
Rust Call Graph is an agent skill from the actionbook/rust-skills collection that shows how functions in a Rust codebase call each other, using the Language Server Protocol's call hierarchy. It is invoked as /rust-call-graph with a function name, plus an optional --depth for how many levels to follow (3 by default) and --direction to show callers (in), callees (out) or both. Examples include showing both directions for process_request, only callers of handle_error, or a five-level callee tree from main. It also responds to plain requests such as who calls a function or what a function calls, in English or Chinese. It suits developers exploring unfamiliar Rust code.…
Highlights
- Call hierarchy via LSP
- Callers, callees or both
- Configurable depth, default 3
- Slash command: /rust-call-graph
Ratings & Reviews
No ratings yet
Be the first to rate rust-call-graph.
People also visit
rust-call-graph FAQ
How do I use it?
Run /rust-call-graph <function_name> with optional --depth N and --direction in|out|both.
How do I install this skill?
Use `npx skills add https://github.com/actionbook/rust-skills --skill rust-call-graph`. The skill is then available to your agent alongside your other skills.
What does --direction do?
in shows callers, out shows callees, and both shows each.
How deep does it go by default?
Three levels, unless you set --depth.
What did the security audits report?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best rust-call-graph alternatives?
Popular alternatives to rust-call-graph include rust-code-navigator, rust-symbol-analyzer and rust-deps-visualizer. See all rust-call-graph alternatives














