~ / rigs / tirth8205 / code-review-graph

tirth8205/code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

↗ GitHub ★ 31.9k mit updated 21d ago project Claude CodeCodexGemini CLICopilot
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~6.3k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add code-review-graph -- uvx code-review-graph serve
$ npx degit tirth8205/code-review-graph/skills ./rig-code-review-graph/skills
$ npx degit tirth8205/code-review-graph/hooks ./rig-code-review-graph/hooks

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add code-review-graph -- uvx code-review-graph serve
$ npx degit tirth8205/code-review-graph/skills/build-graph .claude/skills/build-graph
$ npx degit tirth8205/code-review-graph/skills/debug-issue .claude/skills/debug-issue
$ npx degit tirth8205/code-review-graph/skills/explore-codebase .claude/skills/explore-codebase
$ npx degit tirth8205/code-review-graph/skills/refactor-safely .claude/skills/refactor-safely
$ npx degit tirth8205/code-review-graph/skills/review-changes .claude/skills/review-changes
$ npx degit tirth8205/code-review-graph/skills/review-delta .claude/skills/review-delta
$ npx degit tirth8205/code-review-graph/skills/review-pr .claude/skills/review-pr

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 6,974 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(~/.aws/**)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(.env)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/.env.*)",
      "Read(**/*.key)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(npm publish:*)",
      "Bash(wget *)",
      "Bash(git rebase *)",
      "Bash(gh pr merge *)",
      "Bash(git commit *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
code-review-graph pypi 2.5k

Skills (7)

Similar rigs

copied ✓