Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

history-hygiene

FreeNo executable scriptsNot checked

Record final outcomes to history.md, not intermediate requests or reversed decisions

githubby github★ 5,758 GitHub stars

About this skill

Context

History files (.md files tracking decisions, spawns, outcomes) are read cold by future agents. Stale or incorrect entries poison decision-making downstream. The Kobayashi incident proved this: history said "Brady decided v0.6.0" when Brady had reversed that to v0.8.17. Future spawns read the wrong truth and repeated the mistake.

Patterns

  • Record the final outcome, not the initial request.
  • Wait for confirmation before writing to history — don't log intermediate states.
  • If a decision reverses, update the entry immediately — don't leave stale data.
  • One read = one truth. A future agent should never need to cross-reference other files to understand what actually happened.

Examples

✓ Correct:

  • "Migration target: v0.8.17 (initially discussed as v0.6.0, corrected by Brady)"
  • "Reverted to Node 18 per Brady's explicit request on 2024-01-15"

✗ Incorrect:

  • "Brady directed v0.6.0" (when later reversed)
  • Recording what was requested instead of what actually happened
  • Logging entries before outcome is confirmed

Anti-Patterns

  • Writing intermediate or "for now" states to disk
  • Attributing decisions without confirming final direction
  • Treating history like a draft — history is the source of truth
  • Assuming readers will cross-reference or verify; they won't

Install history-hygiene in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the history-hygiene skill do?

Record final outcomes to history.md, not intermediate requests or reversed decisions

How do I install the history-hygiene skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the history-hygiene skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare history-hygiene with