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-020-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: |
indexarchitecturesearchget_symboltrace_pathstrace_pathssearch.hex-skills/codegraph/index.dbCall: index_project({ path: "{project_path}" })Call: index_project({ path: "{project_path}" })| 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" | | |
| "Watch for changes" | | |
| "Find duplicate code" | | |
| "Risky hotspots" | | |
| "Unused exports" | | |
| "Circular dependencies" | | |
| "Module coupling" | | |
| "Implementations / overrides" | | |
| "Dataflow / propagation" | | |
symbol_idworkspace_qualified_namequalified_namenamefilesearch_symbolsworkspace_qualified_nameget_symboltrace_pathsfind_referencesfind_implementationsfind_dataflowssource.anchorsink.anchorparamlocalreturnpropertyaccess_pathget_symboltrace_pathsfind_referencesmin_confidencelowinferredexactprecisehex-line read_filesearch_symbolsget_symbolworkspace_qualified_nameget_symboltrace_pathstrace_pathsfind_referencesfind_implementations| 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"]
}
}
}