nap
Session nap in Claude Code - save where the session stands with trace, clear it, and resume it with next, with no question and no gesture from anyone.
SKILL.mdplugins/nap/skills/nap/SKILL.md
GitHubNap
The session saves where it stands, empties its context and wakes up fresh on
the same work. Ask nothing at any step. Resolve scripts/wake.cjs from this
skill's directory.
- Save with the trace skill (
trace:trace), save mode, without its questions and without its closing lines. Text given after/napis the--nextfield, word for word. Without it, write the next step yourself. - Run
node scripts/wake.cjs --detect(a normal Bash call). - On
none: end with « Tu peux /clear. » in the conversation language, then/next:nextas the last line. Stop. - Otherwise, as the last tool call of the turn, run
node scripts/wake.cjswith Bashrun_in_background: true: only a background Bash sees the session's own terminal. Then end the turn with one line, in the conversation language: « Sieste : je reprends ensuite <next>. »
Do nothing after that line. Once the turn ends, the wake-up types /clear,
runs next and answers « oui » to its single resume question, in any
language. A list from next waits for the user.