BitterLessonEngineering

BitterLessonEngineering is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 80 tokens per session (2,163 once invoked), scanned A, original, MIT.

An audit method for instructions given to an AI coding agent. It examines each rule and labels it for removal, rewriting, or keeping based on whether a more capable model would still need it.

In plain words
What is it for?
Use it to review an agent setup, clean up a CLAUDE.md file, or check one group of instructions for unnecessary rules.
Why use it?
It helps reduce long instruction files that distract from rules that genuinely matter. It also identifies important safety, tool, environment, and output requirements that should remain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to review an agent setup, clean up a CLAUDE.md file, or check one group of instructions for unnecessary rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielmiessler/lifeos/bitterlessonengineering
About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 20,481 stars · on GitHub · ourlifeos.ai

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 danielmiessler/LifeOS --skill bitterlessonengineering
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

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 BitterLessonEngineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/bitterlessonengineering/github.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/bitterlessonengineering)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/bitterlessonengineering"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/bitterlessonengineering/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 BitterLessonEngineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/bitterlessonengineering"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/bitterlessonengineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,163 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.00080 $0.02163
Opus 5.5 $0.00032 $0.00865
Sonnet 5.5 $0.00016 $0.00433
Haiku 4.5 $0.00008 $0.00216

Measured 1mo ago against content hash 92b9868f815d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

BitterLessonEngineering 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 1mo 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.

LifeOS/install/skills/BitterLessonEngineering/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on 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:

Read the full file on GitHub · 95 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 95 lines · 80 tokens per session scan A 92b9868f815d

Subscribe to this mod's changes

BitterLessonEngineering is a skill published in the GitHub repository danielmiessler/LifeOS (20,481 stars, last pushed 11d ago), licensed MIT. It adds 80 tokens to every session and 2,163 once invoked, about $0.0003 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-10-28.

Related

BitterLessonEngineering compared with skills from other repositories

BitterLessonEngineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
BitterLessonEngineeringdanielmiessler/LifeOSSkill20k11d agoMITA80Claude Code, Codex
long-running-workZfinix/asterSkill14329d agoApache-2.0A0Claude Code, Codex
i-have-adhdZfinix/asterSkill14329d agoApache-2.0A60Claude Code, Codex
shortcutsZfinix/asterSkill14329d agoApache-2.0A0Claude Code, Codex
plan-devex-reviewGlobal-mindee/WAYSkill112mo agoMITA156Codex
aster-capabilitiesZfinix/asterSkill14329d agoApache-2.0C0Claude Code, Codex
plan-tuneGlobal-mindee/WAYSkill112mo agoMITA170Codex