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 /context early.
  • 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)

  1. Undo / escape-cancel — cancel mid-run, rewind a few messages.
  2. /rewind — rewind to a point in the conversation.
  3. Slash-command session — start a clean, scoped session.
  4. git recovery — git diff, git stash, git reset as the last resort. Git is the ground truth.
Installs
4
GitHub Stars
1
First Seen
Sep 25, 2026