claude-code-habits
Installation
SKILL.md
claude-code-habits
Claude Code instance of session-hygiene — read that skill first for the portable doctrine. This skill is only the Claude-Code-specific mechanics.
When
- Starting a Claude Code session — check
/contextearly. - After a bad run you want to rewind — escalate through the rewind options below.
- Before changing what the agent may run — review
/permissions. - Before labs that reset harness config — back up settings + skills first.
Session checks
/context— verify your context floor after big operations; watch for silent jumps.
Rewind options (escalating)
- Undo / escape-cancel — cancel mid-run, rewind a few messages.
/rewind— rewind to a point in the conversation.- Slash-command session — start a clean, scoped session.
gitrecovery —git diff,git stash,git resetas the last resort. Git is the ground truth.