analyze-function
Deep dive analysis of a specific function including callers, callees, complexity, and data flow
Explore and understand an unfamiliar codebase
> /plugin marketplace add postrv/narsil-mcp > /plugin install narsil@narsil-mcp
How it fires
How this command gets triggered: by you, by Claude, or both.
/exploreContext preview
What this command does when you run it.
Explore and understand an unfamiliar codebase
description: Explore and understand an unfamiliar codebase
Help the user understand the structure and organization of an unfamiliar codebase.
Execute the following steps:
1. **Identify repository**: If $ARGUMENTS is provided, use it as the repo name. Otherwise, use `list_repos` to show available repositories and ask which one to explore.
2. **Check capabilities**: Use `get_index_status` to see which features are enabled (git, call-graph, etc.)
3. **Show structure**: Use `get_project_structure` with `max_depth=3` to show the directory tree
4. **Find main components**:
5. **Understand dependencies**: Use `get_import_graph` to show how modules connect
6. **Check for issues**: Use `find_circular_imports` to identify potential architectural problems
7. **Optional graph manifest** (only if `get_index_status` shows `--graph` enabled): Use `get_ccg_manifest` for a compact AI-context-friendly summary of repository identity, symbol counts, and security posture.
8. **Summarize**: Provide a clear summary of:
Repository to explore: $ARGUMENTS
The blazing-fast, privacy-first MCP server for deep code intelligence A Rust-powered MCP (Model Context Protocol) server providing AI assistants with deep code understanding through 90 specialized tools.
Deep dive analysis of a specific function including callers, callees, complexity, and data flow
Find where a specific feature or concept is implemented in the codebase
Analyze supply chain security including dependencies, vulnerabilities, and licenses