跳到正文
Skillpedia
提示词与 LLM20k · #10408

BitterLessonEngineering

它能做什么

这个技能审查一组 AI 指令,并依据更聪明的模型是否仍需要某条规则,将每条规则标记为删除、保留或重写。它适用于维护 AI 设置文件、并希望指令更精简的人。

适用场景

  • ✓当你的 AI 指令文件变得很长,并想删除模型已不再需要的规则的时候。
  • ✓当你怀疑设置中的某条规则是在过度提示模型的时候。
  • ✓当你想快速检查一个文件或一组规则,而不是进行完整审查的时候。

技能链接

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/BitterLessonEngineering/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/BitterLessonEngineering/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请审查我的 CLAUDE.md 文件,并告诉我哪些规则可以放心删除。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会针对每条规则询问:更聪明的模型是否会让它变得不必要;然后按类型对规则分类,并为每条规则给出一个分类结论及理由。安全关卡和输出格式规则始终保留。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

BitterLessonEngineering

Audits any AI instruction set for over-prompting: every rule goes through the Six Questions below and gets one classification from CUT to KEEP, with an estimate of the tokens saved. Two intents: Audit (full system) and QuickCheck (a single file or rule set). The core test for every rule: "Would a smarter model make this unnecessary?" If yes, it is scaffolding, not architecture, and a candidate to cut. Unnecessary rules compete for attention with the ones that matter, so a bloated setup produces worse output than a lean one.

Ideal State

  • Every audited rule is first sorted by kind under The First Sort below, and the report counts each kind. A preference is never cut, by judgment, score or ablation; a prescriptive step that is not a keep-class leaves as CUT or as REWRITE to the outcome it protects.
  • Every audited rule carries one classification from the table below with a one-line reason, and no keep-class rule (safety gate, verified gotcha, tool contract, output-format contract) is ever marked CUT.
  • No declarative content a model cannot derive (environment facts, domain invariants, API shapes, worked examples) is ever marked CUT; question 6 cuts imperative reasoning steps only.
  • No rule is cut as default behavior unless it is still default on the current model and the failure it was added for is truly gone.
  • Every report states its scope, the rule count and the verdict counts; a full audit also states estimated savings in lines and tokens.
  • The audited files change only after the user approves the trimmed versions.

Intent Routing

Intent Trigger File
Audit "audit setup", "full audit", "check all rules" Intents/Audit.md
QuickCheck "quick check", "check this file", "check these rules" Intents/QuickCheck.md

The First Sort

Whether a rule is BLE is decided by its kind, never by the length of the file it sits in (principal directive, 2026-10-25). Sort every rule into one kind before asking the Six Questions:

Kind What it says Verdict
Preference What the principal wants: an outcome, a taste, a word's meaning, who is trusted, which tool is ours KEEP. A smarter model still cannot know it. Questions 2, 3 and 5 may still MERGE, RESOLVE or SHARPEN it.
Move guard What must exist before a move is allowed: evidence before a fix or a close, an approval before a deploy, an independent mind before a verdict, a re-check before building on uncertain direction, who rules a contradiction KEEP, rigid. Its purpose is authority, accountability, independence, an external commitment or irreversibility, and a smarter model leaves each of those standing (author bias does not shrink with capability). System prompt § Rigid moves, free work.
Prescriptive step How to do something: an order of actions, a method, reasoning choreography CUT, or REWRITE as the outcome it protects, unless it is a move guard or safety gate
Verified gotcha A non-obvious failure of a tool or the install KEEP where it fires before the mistake; MOVE to tool once the tool can make the mistake impossible
Tool contract An exact command, path, flag or API shape KEEP, beside the outcome it serves
Safety gate / output-format contract An approval or destructive-op guard; a required deliverable shape KEEP

A with/without ablation measures steps, never preferences: most tasks never exercise a given preference, so an ablation scores it useless and would delete what only the principal could say.

The Six Questions

Ask each question of every rule, instruction, or preference found; a yes gives the verdict and action in its row.

# Question Verdict Action
1 Default behavior? Does Claude already do this without being told? CUT The model already does this.
2 Contradiction? Does it conflict with another rule in the same or a different file? RESOLVE Pick one, cut the other.
3 Redundancy? Is it already covered by a different rule or file? MERGE One location, one statement.
4 One-off fix? Was it added to fix one specific bad output rather than improve outputs generally? EVALUATE Still relevant, or already learned?
5 Vague? Would Claude interpret it differently every time (e.g., "be more natural", numeric personalit
常见问题

它会删除安全规则吗?

不会。该技能规定安全关卡、已验证的注意事项和输出格式约定永远不会被标记为删除。

它能节省多少?

报告会估算被标记删除的规则所节省的 token 数。

它会检查想法中的逻辑错误吗?

不会。它只处理指令。挑战观点中的逻辑缺陷是另一个技能。

详情

作者的原始描述

Audits any AI instruction set for over-prompting by asking whether a smarter model would make each rule unnecessary, then classifies every rule from CUT to KEEP. USE WHEN BLE, bitter lesson, audit setup, over-prompting, trim instructions, dead weight, simplify setup, clean up CLAUDE.md. NOT FOR attacking logical flaws in ideas (RedTeam).

repo: danielmiessler/LifeOS

热度

GitHub 星标
20k
排名
#10408
许可证
MIT
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能