Agent skill

ln-021-codegraph

Builds and queries code knowledge graph for dependency analysis, references, implementations, and architecture overview. Use when starting work on unfamiliar codebase or before refactoring.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ln-021-codegraph --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Allowed tools: ReadGrepGlobBashmcp__hex-graph__index_projectmcp__hex-graph__find_symbolsmcp__hex-graph__inspect_symbolmcp__hex-graph__trace_pathsmcp__hex-graph__find_referencesmcp__hex-graph__find_implementationsmcp__hex-graph__trace_dataflowmcp__hex-graph__analyze_changes
Path: skills/analysis/ln-021-codegraph/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

> **Paths:** File paths are relative to skills repo root. # Code Knowledge Graph **Type:** Standalone Utility **Category:** 0XX Dev Environment Indexes codebase into a layered graph (tree-sitter AST → SQLite) and provides dependency analysis, path tracing, references, implementations, and architecture overview via MCP tools. ## Inputs | Input | Required | Source | Description | |-------|----------|--------|-------------| | `project_path` | yes | args or CWD | Project root to index | | `command` | no | args | Specific action: `index`, `search`, `symbol`, `paths`, `refs`, `arch` | ## When to Use - Starting work on an **unfamiliar codebase** → `index` + `architecture` - Before **refactoring** a function/class → `find_symbols` + `inspect_symbol` + `trace_paths` - Understanding **call flow** → `trace_paths` - Finding a **symbol** quickly → `search` ## MCP Availability Tool policy: follow host AGENTS.md MCP preferences; load `references/mcp_tool_preferences.md` and `references/mcp_integration_patterns.md` only when host policy is absent or MCP behavior is unclear. Use `hex-graph` first when the task depends on symbol identity, references, implementations, architecture, dataflow, or edit

What's inside
Steps it walks through
  1. Inputs
  2. When to Use
  3. MCP Availability
  4. Workflow
  5. Phase 1: Index
  6. Phase 2: Query
  7. Phase 3: Present Results
  8. Supported Languages
  9. MCP Server Setup
  10. Definition of Done
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the ln-021-codegraph skill do?

Builds and queries code knowledge graph for dependency analysis, references, implementations, and architecture overview. Use when starting work on unfamiliar codebase or before refactoring.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ln-021-codegraph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going