agent-history-hygiene
Installation
SKILL.md
agent-history-hygiene
Keep agent chat transcripts and plan files committed together with the
code they produced, without leaking secrets. Pairs with the
redact-agent-secrets + gitleaks pre-commit hooks the skill installs.
Three surfaces, separated by purpose:
| Surface | Question it answers |
|---|---|
find-session.sh |
"Which transcript / plan file is my current session?" |
stage-agent-artifacts.sh |
"Which agent files belong in the next commit?" |
bootstrap-project.sh |
"How do I get pre-commit + gitleaks + redactor into a repo?" |
scan-staged.sh |
"Is there a leaked secret in what I'm about to commit?" |
references/remediation.md |
"I already pushed a secret — now what?" |