reduce

reduce is a skill for Claude Code from saadshahd/moo.md. It costs 32 tokens per session (284 once invoked), scanned A, original, MIT.

A method for shortening existing text while keeping every case, point, or responsibility it must cover.

In plain words
What is it for?
It reduces rules, documents, prompts, or answers after identifying the complete set of situations and duties they need to address.
Why use it?
It removes unnecessary wording without accidentally dropping something the text is supposed to handle.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hope plugin — 22 skills, 1 command, 1 agent shipped together

Good fit It reduces rules, documents, prompts, or answers after identifying the complete set of situations and duties they need to address.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saadshahd/moo.md/reduce
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add saadshahd/moo.md --skill reduce
Clone the repo
git clone --depth 1 https://github.com/saadshahd/moo.md

Made for: Claude Code.

Or install hope, the plugin that ships this one along with the rest of its 22 skills, 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reduce

README.md
[![agentmods](https://agentmods.dev/badge/skills/saadshahd/moo.md/reduce/github.svg)](https://agentmods.dev/skills/saadshahd/moo.md/reduce)
Your own site
<a href="https://agentmods.dev/skills/saadshahd/moo.md/reduce"><img src="https://agentmods.dev/badge/skills/saadshahd/moo.md/reduce/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reduce

Your own site · 80×15
<a href="https://agentmods.dev/skills/saadshahd/moo.md/reduce"><img src="https://agentmods.dev/badge/skills/saadshahd/moo.md/reduce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00284
Opus 5.5 $0.00013 $0.00114
Sonnet 5.5 $0.00006 $0.00057
Haiku 4.5 $0.00003 $0.00028

Measured 3d ago against content hash 2024ba8acadb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reduce scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

hope/skills/reduce/SKILL.md · 17 lines

What it actually says

Reduce only against a closed set: what the text must cover is in hand and nothing unseen is coming. This runs inside one turn — nothing waits on the user.

Set the old wording aside. Take what the text must cover and derive the shortest statement that covers all of it — deleting sentences keeps whichever ones happened to be there, which is not the shortest way to cover the set. Try a tree or a table as a candidate where the covered cases nest, run in order or stand side by side; it wins only by being shorter.

If what it must cover has moved since the text was written — cases now in hand it was not derived on, an objective it was not written for — derive from the coverage as it stands today.

Push the derived statement shorter, pass by pass. When a pass makes it stop covering something, it went too far — back off by the minimum that recovers it. The floor is where every remaining cut costs coverage.

Hand back the reduced statement alone.

What it must cover can't be stated or recovered → every cut is blind. Something unseen will meet it — a class no rule yet decides, or a rule that decides only the cases it came from → use widen skill.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 2024ba8acadb
  2. 1mo ago Changed 0e98a16bc2e3
  3. 2mo ago Changed c0397f941ee2
  4. 2mo ago Changed · -34 lines 042680f6b4a0
  5. 3mo ago First seen · 51 lines · 32 tokens per session scan A 370cd99bdb90

Subscribe to this mod's changes

reduce is a skill published in the GitHub repository saadshahd/moo.md (39 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 284 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

reduce compared with skills from other repositories

reduce next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reducesaadshahd/moo.mdSkill39yesterdayMITA32Claude Code
session-recapsxhmilyoyo/sundayhao-pluginsSkill811d agoApache-2.0A39Claude Code
knowledge-bank-lookupsxhmilyoyo/sundayhao-pluginsSkill811d agoApache-2.0A94Claude Code
kb-ingestsxhmilyoyo/sundayhao-pluginsSkill811d agoApache-2.0A152Claude Code
kb-lintsxhmilyoyo/sundayhao-pluginsSkill811d agoApache-2.0A103Claude Code
session-managersxhmilyoyo/sundayhao-pluginsSkill811d agoApache-2.0A49Claude Code
lark-openapi-explorerDropFan/claude-code-pluginsSkill81mo agoMITA76Claude Code