Index of every page on this site: llms.txt
All skills
tirth8205 avatar

/explore-codebase

@bbdda4b
Run it yourself

Navigate and understand codebase structure using the knowledge graph

Use this Skill: https://skilld.dev/gh/tirth8205/code-review-graph/explore-codebase

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈22 tokens for metadata: the name and description. ≈400 when used: this file.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈87 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Explore Codebase

Use the code-review-graph MCP tools to find your way around the codebase.

Steps

  1. Call get_architecture_overview_tool for the community structure. Call list_communities_tool, then get_community_tool, only for the modules you need.
  2. Call semantic_search_nodes_tool to find a function or class by name or keyword. Pass include_source=True, expand_neighbors=True to get the code of the hits and their direct callers and callees, so you need not open the files. Leave detail_level at its default for this call: minimal drops the source.
  3. Call query_graph_tool with callers_of, callees_of or imports_of to trace relationships. children_of on a file lists its functions and classes, and path_to with to shows how one symbol reaches another.
  4. Call list_flows_tool, then get_flow_tool for one flow, to follow an execution path.
  5. Call find_large_functions_tool to find oversized functions.
  6. Call list_graph_stats_tool only when you need node, edge and language counts.

Token Efficiency Rules

  • Call get_minimal_context_tool(task="<your task>") before any other graph tool.
  • Pass detail_level="minimal" unless it is not enough. Minimal drops source, so leave semantic_search_nodes_tool(include_source=True) and get_review_context_tool at standard.
  • Prefer a targeted query_graph_tool call over a broad listing call.
  • Budget: about five tool calls per task. Source snippets stand in for file reads.
  • Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill provides instructions for navigating and understanding a codebase using a set of specialized graph-based tools. It does not contain any malicious code, obfuscation, or suspicious commands. The identified attack surface for indirect prompt injection is inherent to the skill's purpose of reading source code and is considered a standard functional risk.

  • Socket9d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

Signed by skilld at bbdda4b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for tirth8205/code-review-graph/explore-codebase