Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By V-Songbird Verifiedv1.9.12MITIn 1 marketplace
YAGNI checks for Claude Code and Codex: reconsider dependencies, file growth and unnecessary code before adding more.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Verified owner:Victor Villegas
Once-per-session build checkledger
One "is all of this needed?" question when a session adds a lot of code with almost no deletions, or a pile of new files.
booleandefault true
Dependency guard (installs)dep_guard
One forced reconsideration before a command installs a new dependency.
booleandefault true
Scope-drift notedrift_note
One line, at most once a session, when a request has left the task the session started on — so you know when a fresh session would help. Never blocks and never asks.
booleandefault true
New-file budget per turnfile_budget
New files allowed in one turn before razor asks whether existing files already cover it. 0 disables the check.
numbermin 0default 4
Dependency guard (imports)import_guard
One forced reconsideration before code imports a package that isn't in the project manifest.
booleandefault true
Dependency guard (manifest edits)manifest_guard
One forced reconsideration before an edit adds a new package to package.json, requirements.txt, or pyproject.toml directly.
booleandefault true
Before adding code, ask whether the project already has what it needs.
Available on
Claude Code | Codex | Antigravity |
Install · How to use it · Does it work? · Learn more
Razor is an add-on for Claude Code, the AI assistant that writes code for you. It keeps a small change small.
You ask for a small feature. The assistant adds a package and helper files. You get more code to look after.
With Razor, the assistant first asks whether the language or your project already has what it needs. Then it writes only what is missing.
Ember is the mascot of the Foundry plugins. The scene is an illustration, not a measurement.
You ask: implement parseQuery in query.js.
You get: 4 lines built on Object.fromEntries and URLSearchParams, against 18 without Razor. One recorded Claude Code session each, on Claude Opus 5, run date not recorded.
You need Claude Code 2.1.323 or later. You also need Node.js 22 or later, a free program that runs Razor's helpers, and Git, a free tool that tracks changes to your files.
Open Claude Code.
Type these two lines, one at a time:
/plugin marketplace add V-Songbird/foundry
/plugin install razor@foundry
Start a new session.
To check that it worked, run claude plugin list in a terminal. The list names razor.
Using Codex or Antigravity? Follow the install guide.
To get a new version, follow Update.
razor off to pause it for this session, and razor on to bring it back. Not on Antigravity./razor:unused to get a report of packages no file uses. It never changes anything.$razor:unused. Codex reads its instructions for that name, but not for a bare $unused.RAZOR_DISABLE=1 to turn Razor off everywhere.Most people never change a setting. Razor settings lists all of them.
On November 17, 2026, Claude Opus 5.5 and Claude Sonnet 5 each did 13 jobs three times. They ran with and without Razor, through the Agent SDK. Razor passed 77 of 78 sessions, against 72 of 78 without it. It wrote fewer lines on both models.
One Claude Sonnet 5 session failed with Razor: 38 of 39 passed. Against a rival plugin, Chisle, the gaps are small. The two models disagree.
The picture below is from an earlier Claude Opus 5 run, 39 sessions per setup, run date not recorded:
Codex was measured separately. No Antigravity session has been measured yet. Results vary between runs.
Razor benchmarks has every batch, the method and every place Razor loses.
Razor limits lists every limit in full.
How Razor works · Install and update · Razor settings · Razor limits · Razor benchmarks
Release notes are on the Razor releases page. Report a bug on Razor's issue tracker, a vulnerability as SECURITY.md says. To change Razor, read CONTRIBUTING.md. Foundry lists the whole family.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Indexed from 20b7d78Marketplace JSON
razor@foundry is listed by v-songbird/foundry — review the source before installing
npx claudepluginhub v-songbird/foundry --plugin razor