Install this skill into Claude Code or another AI agent so it writes smaller, more minimal code by default.
Reduce token usage and cost on AI coding sessions while keeping validation and security checks intact.
Compare AI coding agent output against a similar minimalism skill using the included benchmark harness.
| anshaneja5/scalpel | aim-uofa/reasonmatch | airbone42/360-data-athlete | |
|---|---|---|---|
| Stars | 12 | 12 | 12 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 5/5 | 4/5 |
| Audience | developer | researcher | general |
Figures from each repo's GitHub metadata at analysis time.
Install via a Claude Code plugin command or by copying one file into a project's skills folder, no infra required.
Scalpel is a set of instructions, called a skill, that you can install into an AI coding agent such as Claude Code to change how it writes code. Instead of writing brand new code for every request, it tells the agent to first check whether something is really needed, then look for an existing way to solve it: something already in the project's own code, something built into the programming language or platform, or an already installed package, before writing anything new. Only if none of those exist does it write new code, and only the smallest amount needed. The skill also tells the agent to make a plan for a task once and stick with it, rather than reconsidering its approach on every reply, which the author says wastes time and cost. It protects certain things from being cut for the sake of brevity, such as input validation, error handling, security checks, and accessibility, and its replies are meant to be mostly code with very little explanatory text. The README includes benchmark results comparing this skill to a similar project called ponytail, using that other project's own test setup so the comparison uses the same tasks and scoring method. Across tests with several Claude models, the author reports this skill produced less code, used fewer tokens, cost less to run, and matched or beat the other project on correctness in every case tested. A separate test using real coding sessions on a sample web app project found the two projects performed about the same overall. To install it, you can use a plugin command in Claude Code, or copy a single instructions file into a project's skills folder, or paste its contents into the system prompt of any AI agent that accepts one. It can be turned off at any time by telling the agent to stop using it or switch to normal mode, and it will still build a fuller version of something if you specifically ask for one. The project is released under the MIT license.
A drop-in skill for AI coding agents like Claude Code that makes them write the smallest working code by reusing existing tools first, while still protecting validation, security, and accessibility.
Mainly Python. The stack also includes Python, Claude Code Plugin, Promptfoo.
MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.