Official agent skill

Principle Subtract Before You Add

by cursor in cursor/plugins

Apply when sequencing an addition, refactor, or rewrite. An agent skill from cursor/plugins.

OfficialNo licenceAuto-check passedDevelopment

Install Principle Subtract Before You Add

skills CLI
$ npx skills add cursor/plugins --skill principle-subtract-before-you-add -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cursor/plugins principle-subtract-before-you-add --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cursor/plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/pstack/skills/principle-subtract-before-you-add .claude/skills/principle-subtract-before-you-add && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
principle-subtract-before-you-add
GitHub stars
11k
Used in
4 other repos
Token cost
~274 tokens
SKILL.md length
121 words
Files
1
Skills in repo
99
Repo updated
First seen
Licence
None found

At a glance

Apply when sequencing an addition, refactor, or rewrite. An agent skill from cursor/plugins.

  • Tasks that involve Code simplification
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Principle Subtract Before You Add is an agent skill from cursor/plugins, published by the product's own GitHub organization. Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base.

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code simplification. The repository describes itself as: Cursor plugin specification and official plugins.

When your agent uses it

  • Tasks that involve Code simplification

Example prompts

  • “/principle-subtract-before-you-add”

What it can do on your machine

Read from SKILL.md and the folder at commit d73344b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Principle Subtract Before You Add loads about 274 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~274

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 121 words (~274 tokens).

“When evolving a system, remove complexity first, then build.”

— opening of SKILL.md by cursor
name
principle-subtract-before-you-add
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in pstack/skills/principle-subtract-before-you-add of cursor/plugins.

Open the folder on GitHubat commit d73344b

Used in 4 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in cursor/plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Principle Subtract Before You Add next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Principle Subtract Before You Add compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Principle Subtract Before You Add this skillcursor/plugins11k4 repos~274Automated safety check: PassNone
Ponytail Lazy Developer ModeDietrichGebert/ponytail160k1 repos~873Automated safety check: PassMIT
Ponytail Reviewkortix-ai/suna20k4 repos~593Automated safety check: PassCustom licence
PonytailDavidObando/gsharp5657 repos~1.7kAutomated safety check: PassMIT
Code Simplification for ego-litecitrolabs/ego-lite17k—~1.2kAutomated safety check: PassMIT
Refactor Pass for Simplicitystar-history/star-history9.6k1 repos~168Automated safety check: PassMIT

Similar skills

  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    160k GitHub starsUsed in 1 repo~873 tokens
    DevelopmentAuto-check passed
  • Ponytail Review

    kortix-ai/suna

    Code review focused exclusively on over-engineering. An agent skill from kortix-ai/suna.

    20k GitHub starsUsed in 4 repos~593 tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    565 GitHub starsUsed in 7 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Finds and implements evidence-backed simplifications in the ego-lite repository, such as dead code, duplicated state and speculative abstractions, without hiding behavior changes.

    17k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Refactor Pass for Simplicity

    star-history/star-history

    Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal…

    9.6k GitHub starsUsed in 1 repo~168 tokens
    DevelopmentAuto-check passed
  • Reviews RTK's Rust code for over-engineering and verbose patterns, applying idioms like iterator chains and early returns while protecting a specific list of constraints from being simplified away.

    83k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed

More from cursor/plugins

All 99 skills in this repo
  • Official

    Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.

    11k GitHub starsUsed in 8 repos~1.6k tokens
    Auto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    11k GitHub starsUsed in 9 repos~2.6k tokens
    Auto-check passed
  • Official

    Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.

    11k GitHub starsUsed in 5 repos~1.2k tokens
    Auto-check passed
  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    11k GitHub starsUsed in 10 repos~2.4k tokens
    Auto-check passed
  • Advisor Mode

    cursor/plugins

    Official

    Adds a second, stronger model that the main agent consults before major decisions, when stuck and before finishing, controlled by /advisor commands.

    11k GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Official

    Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior.

    11k GitHub starsUsed in 3 repos~569 tokens
    Auto-check passed

Categories

Questions about Principle Subtract Before You Add

What does Principle Subtract Before You Add do?

Apply when sequencing an addition, refactor, or rewrite. An agent skill from cursor/plugins. Principle Subtract Before You Add is an agent skill from cursor/plugins, published by the product's own GitHub organization. Apply when sequencing an addition, refactor, or rewrite.

When should I use Principle Subtract Before You Add?

Principle Subtract Before You Add fits situations like: tasks that involve Code simplification.

How do I install Principle Subtract Before You Add in Claude Code?

Run `npx skills add cursor/plugins --skill principle-subtract-before-you-add -a claude-code`. Or copy the skill folder (pstack/skills/principle-subtract-before-you-add in cursor/plugins) into .claude/skills/principle-subtract-before-you-add in your project. Claude Code loads it when a task matches its description.

How do I install Principle Subtract Before You Add in Codex?

Run `npx skills add cursor/plugins --skill principle-subtract-before-you-add -a codex`. Or copy the skill folder (pstack/skills/principle-subtract-before-you-add in cursor/plugins) into .agents/skills/principle-subtract-before-you-add in your project. Codex loads it when a task matches its description.

Can I use Principle Subtract Before You Add in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cursor/plugins --skill principle-subtract-before-you-add -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/principle-subtract-before-you-add, .gemini/skills/principle-subtract-before-you-add, .github/skills/principle-subtract-before-you-add and .opencode/skills/principle-subtract-before-you-add in your project.

What does Principle Subtract Before You Add need to run?

SKILL.md names no scripts, command-line tools or credentials: Principle Subtract Before You Add is instructions for the agent only.

Does Principle Subtract Before You Add access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Principle Subtract Before You Add safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Principle Subtract Before You Add use?

No licence was found for Principle Subtract Before You Add or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Principle Subtract Before You Add use?

About 274 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Principle Subtract Before You Add?

Skills that share tags, products or a category with Principle Subtract Before You Add: Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars), Ponytail Review (kortix-ai/suna, 20k stars), Ponytail (DavidObando/gsharp, 565 stars) and Code Simplification for ego-lite (citrolabs/ego-lite, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Principle Subtract Before You Add?

cursor (a GitHub organization, an official publisher) maintains it in cursor/plugins, which has 10,636 GitHub stars. The repository holds 99 skills in this directory. The repository was last updated on October 10, 2026.

Source: cursor/plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.