npx claudepluginhub jwadhwa2259/codescopeDeep codebase analysis for AI-powered code changes that respect existing conventions and stay within safe blast radius
Share bugs, ideas, or general feedback.
A Claude Code plugin that gives AI deep, persistent understanding of your codebase.
Analyzes your project's conventions, dependencies, and risk zones so that every AI-generated change fits naturally into your existing code.
npx codescope init
"Every AI session starts from zero. CodeScope fixes that."
The Problem · How It Works · Install · Commands · MCP Tools
/plugin marketplace add jwadhwa2259/codescope
/plugin install codescope@codescope
npx codescope init
When you ask an AI to modify code in an existing project, it starts from zero every time. It doesn't know your naming conventions, your module boundaries, which files are high-risk, or how your imports are structured. The result: code that works in isolation but clashes with everything around it.
CodeScope fixes this by analyzing your codebase once, building a knowledge graph of how everything connects, and then injecting that context into every Claude Code interaction automatically.
CodeScope runs as a Claude Code plugin with an MCP server. Once bootstrapped, it works invisibly through Claude Code's hook system:
You don't need to do anything for this to work. It's invisible.
| Feature | Description |
|---|---|
| Knowledge Graph | Full dependency map with community detection and centrality analysis |
| Convention Detection | Discovers coding patterns with adoption rates and confidence scores |
| Danger Zone Mapping | Identifies high-risk files by centrality and coupling |
| AI Readiness Score | Grades your codebase on convention coverage, type safety, test coverage, and import health |
| Blast Radius Analysis | BFS traversal shows everything affected by a change |
| Interactive Dashboard | Explore the graph, conventions, readiness trends, and blast radius in your browser |
| Autonomous Pipeline | Research, plan, execute, verify, evaluate, and self-correct -- with only two approval gates |
| Session Continuity | Pause and resume analysis workflows across Claude Code sessions |
| Pre-commit Enforcement | Optional convention checking on staged files |
node --versionOpen Claude Code in your project directory and run:
/codescope:onboard
This walks you through a short wizard:
/codescope:bootstrap
CodeScope scans your project, parses every source file into an AST, builds a knowledge graph, detects conventions, identifies danger zones, and computes an AI Readiness Score. For a typical project, this takes 1-5 minutes.
When it completes, you'll see a readiness report:
AI Readiness: B+ (82%)
| Dimension | Score |
|----------------------|-------|
| Convention Coverage | 87% |
| Type Safety | 91% |
| Test Coverage Proxy | 68% |
| Import Graph Health | 83% |
That's it. CodeScope is now active. Every time Claude Code edits or writes a file, CodeScope automatically injects relevant context about that file's conventions, danger level, and blast radius.
/codescope:orient add a caching layer to the user service
This runs the full autonomous pipeline: