thingscorp/skills

claude-code-habits

- use this when starting a Claude Code session, after a bad run you want to rewind, or before changing what the agent may run — /context checks, rewind options, bash modes, permission hygiene

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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.

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.

Slash commands worth knowing

  • /model — check the model; switching mid-task changes behavior.
  • /permissions — manage what the agent may run without asking.
  • /agents — subagent management.

Bash modes

  • Foreground for interactive; background (&-style runs) for long jobs you monitor.
  • If the harness blocks a command, prefer the supported path over forcing it.

Settings backup

Back up your settings file (~/.claude/settings.json) and skills directory before labs that reset harness config.

来自同一仓库

更多 Skills

全部 Skills