By jwadhwa2259
Deep codebase analysis for AI-powered code changes that respect existing conventions and stay within safe blast radius
Analyze your codebase to build the knowledge graph, detect conventions, and identify danger zones. Produces AI readiness score and cross-service dependency map for monorepos.
Score uncommitted changes or run a task against codebase conventions and produce a deterministic scorecard.
Configure CodeScope for this project. Detects project type, languages, and build commands, then walks through agent model selection and workflow preferences. Run this before /codescope:bootstrap.
Take a task description and autonomously research, plan, and execute code changes using graph-informed clarification, hybrid execution, and filesystem coordination.
Save current CodeScope pipeline state for later resumption.
Admin access level
Server config contains admin-level keywords
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
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:
npx claudepluginhub jwadhwa2259/codescope --plugin codescopeCodebase exploration, refactoring, and quality analysis
Personal Claude Code + Codex dev stack: security hooks, AI-first code conventions, /security-review, /repo-map, /stack-check, portable statusline. Designed to complement other skills-based plugins, not replace them.
Live codebase visualization and structural quality gate — 14 health dimensions graded A-F, dependency analysis, and architecture governance via MCP
Codebase vital signs — hotspot detection, ROI-ranked diagnosis, co-change coupling, knowledge risk, and AI provenance tracking
Codebase exploration with structured analysis and optional knowledge base creation
Generate comprehensive analysis and documentation of entire codebase