history-hygiene

Record confirmed final outcomes in history.md for agent workflows.

2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/elbruno/md-to-slides --skill history-hygiene-elbruno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: history-hygiene
Source: https://github.com/elbruno/md-to-slides/tree/main/.copilot/skills/history-hygiene
Command: npx skills add https://github.com/elbruno/md-to-slides --skill history-hygiene-elbruno

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents future agents from making bad decisions caused by stale or incorrect entries in history.md when earlier requests were later reversed.

Core Features & Use Cases

  • Outcome-only history logging: Ensures entries record what actually happened rather than what was initially requested.
  • No intermediate-state writes: Avoids poisoning decision context with drafts, “for now” states, or rollback-later notes.
  • Immediate correction on reversals: Updates history as soon as a decision changes so the “one read = one truth” principle holds.

Quick Start

Use the history-hygiene skill to revise your history.md by writing a single, confirmed final outcome entry that reflects the latest decision, not the initial request.

Frequently Asked Questions about history-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent stale decision logging in agent workflows from causing bad future decisions?

To prevent stale decision logging in agent workflows, record only confirmed final outcomes in history.md instead of intermediate requests. This ensures future agents read accurate decision context as ground truth without being poisoned by drafts or rollback-later notes.

What is outcome-only history logging and how does it work for collaborative documentation?

Outcome-only history logging for collaborative documentation records what actually happened rather than what was initially requested. It applies a confirmation-before-write principle to history.md, ensuring entries reflect the latest final decision instead of intermediate states.

How do I update history.md when a previous decision is reversed in an agent workflow?

To update history.md when a decision is reversed in an agent workflow, write a single confirmed final outcome entry reflecting the latest decision immediately. This immediate correction ensures the one read equals one truth principle holds for future agents.

Why should I avoid writing intermediate-state requests to history.md during agent workflows?

Avoiding intermediate-state writes to history.md during agent workflows prevents poisoning decision context with drafts or for now states. Future agents read history as ground truth, so logging unconfirmed requests directly causes bad decisions when earlier requests are later reversed.

Does the history-hygiene skill work without external dependencies for decision logging?

The history-hygiene skill works without external dependencies for decision logging, requiring no components or packages. It directly maintains history integrity by applying confirmation-before-write rules to your history.md file within agent-driven workflows.