crg
Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.
Not in a marketplace yet, so it loads for one session with --plugin-dir.
Plugin crg in n24q02m/crg. Commands read from the repo's manifest — today.
This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.
What it installs
Skills (7)
build-graphBuild or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
review-deltaReview only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
review-prReview a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.
impact-auditBlast radius of a change you have not made yet -- traces a symbol across federated repositories, splits impact per repo, and reports what must ship together.
onboard-repoIndex an unfamiliar codebase into the knowledge graph, then produce a first orientation map -- entry points, most-depended-upon modules, hotspots, test topology.
refactor-checkSafety analysis before refactoring -- dependency graph, test coverage, public API exposure, blast radius verdict.
security-sweepGraph-driven security sweep -- scan for dangerous sinks, then rank each finding by whether an entry point can actually reach it, and triage the rest into suppressions.
MCP servers (1)
crgruns: uvx --python 3.13 n24q02m-crg
Hooks (4)
- SessionStart
python -c "import os;print('[crg] Knowledge graph available. Prefer the crg tools or CLI (query action=search, query action=query with callers_of/callees_of/imports_of/importers_of/children_of/tests_f
- UserPromptSubmit
python "${CLAUDE_PLUGIN_ROOT}/hooks/stale-graph-check.py"
- PostToolUse
uvx --from n24q02m-crg python -c "from crg.incremental import incremental_update_from_hook; incremental_update_from_hook()" 2>/dev/null || true
- PostToolUse
python "${CLAUDE_PLUGIN_ROOT}/hooks/branch-sync-check.py"
Maintain crg?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.