Loading...
Loading...
Builds and queries code knowledge graph for dependency analysis, references, implementations, and architecture overview. Use when starting work on unfamiliar codebase or before refactoring.
npx skill4agent add levnikolaevich/claude-code-skills ln-021-codegraphPaths: File paths are relative to skills repo root.
| Input | Required | Source | Description |
|---|---|---|---|
| yes | args or CWD | Project root to index |
| no | args | Specific action: |
indexarchitecturefind_symbolsinspect_symboltrace_pathstrace_pathssearchreferences/mcp_tool_preferences.mdreferences/mcp_integration_patterns.mdhex-graphhex-lineGlob/Grep/Read/Bash.hex-skills/codegraph/index.dbCall: index_project({ path: "{project_path}" })Call: index_project({ path: "{project_path}" })hex-graphGlobGrep/Read| User says | Tool | Parameters |
|---|---|---|
| "Show dependencies" / "What uses X?" | | |
| "Who calls X?" / "What does X call?" | | |
| "Tell me about X" / "Context of X" | | |
| "Project structure" / "Architecture" | | |
| "Find symbol X" | | |
"Find | | `{ path: "{project_path}", pattern: "app\.get\( |
| "Find duplicate code / hotspots / unused exports" | | |
| "Circular dependencies / module coupling" | | |
| "Implementations / overrides" | | |
| "Dataflow / propagation" | | |
| "Review a diff / worktree" | | |
| "Check what editing this range affects" | | |
symbol_idworkspace_qualified_namequalified_namenamefilefind_symbolspathworkspace_qualified_nameinspect_symboltrace_pathsfind_referencesfind_implementationsfind_symbolsexport functionapp.get(...)grep_searchfind_symbolspartial ... truncated=1pathname + fileworkspace_qualified_namepathtrace_dataflowsource.anchorsink.anchorparamlocalreturnpropertyaccess_pathinspect_symboltrace_pathsfind_referencesmin_confidencelowinferredexactprecisehex-line read_fileReadfind_symbolsinspect_symbolworkspace_qualified_namefind_symbolspartial ... truncated=1pathname + fileinspect_symboltrace_pathstrace_pathsfind_referencesfind_implementationstrace_pathsinspect_symbolanalyze_architecture| Language | Extensions | Coverage |
|---|---|---|
| JavaScript | .js, .mjs, .cjs, .jsx | Strongest semantic coverage |
| TypeScript / TSX | .ts, .tsx | Strongest semantic coverage |
| Python | .py | Workspace-aware definitions, calls, imports, unused exports; optional precise overlay when provider is installed |
| C# | .cs | Workspace-aware definitions, calls, project/namespace ownership, type relations; optional precise overlay when provider is installed |
| PHP | .php | Workspace-aware definitions, calls, PSR-4 namespace imports, unused exports; optional precise overlay when provider is installed |
.mcp.json{
"mcpServers": {
"hex-graph": {
"command": "node",
"args": ["{skills_repo}/mcp/hex-graph-mcp/server.mjs"]
}
}
}