360 Secure SkillHub
360 安全技能中心

reduce

面向封闭内容集合的文本精简技能:以必须覆盖的内容为约束重新推导最短表述,而不是直接删句;逐轮压缩并保留不可删的关键条款,最终只返回精简后的文本。若覆盖集合无法确定或存在未预见情形,则提示改用 widen 技能。

分类:效率
saadshahd
热度 0.00
最近更新 2026-11-19 00:00:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add saadshahd/moo.md/reduce
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
reduce
description
Re-derive something written into the shortest version that still covers everything. Use when something already written should get shorter and nothing it covers can be lost.

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. What comes out is a new derivation of the current set, standing on its own. Between candidate statements, prefer the shortest one that covers everything over the one that keeps the original's shape.

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; a clause that survives every pass is load-bearing.

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.