Scalpel v2.0: Codebase Scanner and AI Agent Orchestrator

✍️ OpenClawRadar📅 Published: April 2, 2026🔗 Source
Scalpel v2.0: Codebase Scanner and AI Agent Orchestrator
Ad

Scalpel v2.0 is an open-source tool that scans your codebase across 12 dimensions and assembles a custom AI surgical team. The entire v2.0 was built in a single Claude Code session using agent teams with worktree isolation.

What Scalpel Does

AI agents are powerful but context-blind - they don't know your architecture, tech debt, git history, or conventions, which leads to guessing and bugs at scale. Scalpel addresses this by:

  • Scanning 12 dimensions: stack, architecture, git forensics, database, auth, infrastructure, tests, security, integrations, code quality, performance, documentation
  • Producing a Codebase Vitals report with a health score out of 100
  • Assembling a custom surgical team where each AI agent owns specific files and gets scored on quality
  • Running in parallel with worktree isolation to avoid merge conflicts

Technical Details

The standalone scanner runs in pure bash with zero AI, zero tokens, and zero subscription requirements:

./scanner.sh # Health score in 30 seconds
./scanner.sh --json # Pipe into CI

Sample scans of popular repos:

  • Cal.com (35K stars): 62/100 - 467 TODOs, 9 security issues
  • shadcn/ui (82K stars): 65/100 - 1,216 'use client' directives
  • Excalidraw (93K stars): 77/100 - 95 TODOs, 2 security issues
  • create-t3-app (26K stars): 70/100 - zero test files (CRITICAL)
  • Hono (22K stars): 76/100 - 9 security issues
Ad

Integration and Usage

Scalpel works with 7 AI agents: Claude Code, Codex, Gemini, Cursor, Windsurf, Aider, and OpenCode. It auto-detects your agent on install.

For Claude Code specifically, it's built as a Claude Code agent that lives in .claude/agents/ and activates when you say "Hi Scalpel."

It also ships as a GitHub Action to block unhealthy PRs from merging:

- uses: anupmaster/scalpel@v2
  with:
    fail-below: 60
    comment: true

The v2.0 release includes: scanner + agent brain + 6 adapters + GitHub Action + config schema + tests + docs. The project is MIT licensed with no paid tiers.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Ink: A Deployment Platform Where Claude AI Agents Are the Primary Users
Tools

Ink: A Deployment Platform Where Claude AI Agents Are the Primary Users

Ink (ml.ink) is a deployment platform designed for AI agents like Claude, featuring one tool call deployment, auto-detection of frameworks, and integrated services including compute, databases, DNS, secrets, domains, metrics, and logs.

OpenClawRadar
Claude Desktop Feature Request: Session Start Hook for Automatic Initialization
Tools

Claude Desktop Feature Request: Session Start Hook for Automatic Initialization

A developer building persistent context systems for Claude Desktop identifies a gap: the User Preferences field only injects instructions when the user sends the first message, requiring manual triggers for initialization. They propose adding an "On Session Start" execution field that runs automatically when a new conversation opens.

OpenClawRadar
Doc Harness: A Claude Code Skill for Maintaining Project State Across Sessions
Tools

Doc Harness: A Claude Code Skill for Maintaining Project State Across Sessions

Doc Harness is a Claude Code skill that creates a lightweight documentation system with five structured files to help AI agents maintain project context across sessions. It addresses issues like context resets, forgotten rules, and the need to re-explain projects to new agents.

OpenClawRadar
Werld: Open-Ended Artificial Life Simulation with Evolving Neural Networks
Tools

Werld: Open-Ended Artificial Life Simulation with Evolving Neural Networks

Werld is a real-time artificial life simulation where agents with NEAT neural networks evolve their own neural architecture, sensory processing, and behaviors without hardcoded rules or reward functions. The simulation starts with 30 agents on a Watts-Strogatz small-world graph with 64 sensory channels, 7 continuous motor functions, and 29 heritable genome traits.

OpenClawRadar