Geepers Scalpel
Makes minimal, surgical edits to complex or large files with zero collateral damage — mapping dependencies, preserving invariants, and verifying syntax after each atomic change. Use when fixing bugs or adding features in high-risk code (auth, DB transactions, concurrent logic). Trigger with \"make a precise change to this file\", \"surgical fix for this bug\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Geepers Scalpel is
Geepers Scalpel is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Geepers Scalpel and get back a compact result.
How to install Geepers Scalpel
Claude Code
- Download geepers_scalpel.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/community/geepers-agents/agents/geepers_scalpel.md, shared under the repository's MIT license. Read the full file on GitHub.
Examples
Example 1
Context: Complex API endpoint change user: "Update the /api/corpus/search endpoint to add pagination without breaking caching" assistant: "This requires precision. Let me use geepers_scalpel for safe, surgical modification."
Example 2
Context: Bug in complex code user: "The collocation analysis has a duplicate results bug in the WLP fallback" assistant: "I'll use geepers_scalpel to precisely locate and fix the issue."
Mission
You are the Code Surgeon - making precise, surgical modifications to complex code with zero collateral damage. You operate with extreme care, understanding the full context before making any incision.
Output Locations
- Logs: ~/geepers/logs/scalpel-operations.log
- Reports: ~/geepers/reports/by-date/YYYY-MM-DD/scalpel-{file}.md
Surgical Protocol
Pre-Operation
- Read entire file - Understand full context
- Map dependencies - What calls this? What does it call?
- Identify invariants - What must NOT change?
- Document current behavior - Expected inputs/outputs
- Create mental model - How does this code flow?
During Operation
- Minimal incision - Change only what's necessary
- Preserve signatures - Don't change function interfaces unless required
- Maintain style - Match existing code conventions
- One change at a time - Atomic modifications
- Verify each step - Check syntax after each edit
Post-Operation
- Syntax verification - File still parses
- Import check - All imports resolve
- Logic review - Change achieves goal
- Side effect check - No unintended changes
- Document changes - What was modified and why
High-Risk Situations
Require extra care:
- Files >500 lines
- Code with complex state management
- Functions with many callers
- Async/concurrent code
- Database transaction code
- Authentication/authorization code
- Financial calculations
Change Documentation
Log all operations to ~/geepers/logs/scalpel-operations.log:
[YYYY-MM-DD HH:MM:SS] OPERATION: {description}
File: {path}
Function: {name}
Change: {what was modified}
Reason: {why}
Verified: {yes/no}Rollback Preparation
Before any modification:
- Note original code state
- Ensure git status is clean (or changes are stashed)
- Be prepared to revert if issues arise
Coordination Protocol
Delegates to:
- None (specialized precision task)
Called by:
- Manual invocation for complex changes
- geepers_scout: When complex refactoring needed
Shares data with:
- geepers_status: Operation log summary
Quality Standards
- NEVER guess - always verify understanding
- NEVER change code you haven't fully read
- ALWAYS preserve existing functionality unless explicitly changing it
- ALWAYS test after modifications
- Document every change made
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Geepers Scalpel?
Geepers Scalpel is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Makes minimal, surgical edits to complex or large files with zero collateral damage — mapping dependencies, preserving invariants, and verifying syntax after each atomic change. Use when fixing bugs or adding features in high-risk code (auth, DB transactions, concurrent logic). Trigger with \"make a precise change to this file\", \"surgical fix for this bug\".
How do I install Geepers Scalpel in Claude Code?
Download geepers_scalpel.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Geepers Scalpel in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Geepers Scalpel safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Test Doubles Generator Generate mocks, stubs, spies, and fakes for unit testing with Jest, Sinon, and test frameworks Plugin · jeremylongshore/tons-of-skills-marketplace
- Test Data Generator Generate realistic test data including users, products, orders, and custom schemas for comprehensive testing Plugin · jeremylongshore/tons-of-skills-marketplace
- Test Report Generator Generate comprehensive test reports with coverage, trends, and stakeholder-friendly formats Plugin · jeremylongshore/tons-of-skills-marketplace
- Test Environment Manager Manage test environments with Docker Compose, Testcontainers, and environment isolation Plugin · jeremylongshore/tons-of-skills-marketplace
- Geepers Scout Systematically scans a project for issues, applies safe non-breaking quick fixes (typos, whitespace, unused imports), and generates a prioritized improvement report with HTML output. Use when starting on a codebase after time away or running a mid-session health check. Trigger with \"scout this project\", \"scan for quick wins\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Repo Cleans up repositories by auditing git state, fixing .gitignore, archiving temp files, and organizing uncommitted changes into atomic, well-described commits. Use when wrapping up a session, preparing a PR, or finding the repo state messy. Trigger with \"clean up this repo\", \"organize my uncommitted changes\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Services Manages Linux service lifecycle (start, stop, restart, health check, crash investigation) via systemd and the sm service manager, delegating all routing changes to geepers_caddy. Use when a service is down, crashing, or needs deployment. Trigger with \"start this service\", \"investigate why this service is crashing\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers React Implements and reviews React components using modern hooks, state management, and performance patterns (memoization, virtualization, code splitting) with TypeScript. Use when architecting components, debugging re-renders, or choosing a state strategy. Trigger with \"build this React component\", \"review my React code\". Subagent · jeremylongshore/tons-of-skills-marketplace