Agent History Hygiene

Commit SpecStory transcripts and Claude/Cursor/OpenCode/Codex plans with feature diffs, derive staged `AI-Assisted-By` plus transcript/plan trailers, prevent secret leaks, and ignore SpecStory machine-local state. Use when asked to commit/save/stage agent sessions, record cross-harness provenance, bootstrap pre-commit, fix `.specstory/statistics.json` churn, scrub a transcript, or remediate accidental secret commits/pushes with rotate-first discipline.

daviddwlee84 Updated

File contents

daviddwlee84/agent-skills/tree/main/skills/local/agent-history-hygiene commit 346d5d6c7a

Frequently asked questions

npx skillmds@latest add daviddwlee84/agent-history-hygiene