nap

nap is a skill for Claude Code from mirkobozzetto/arsenal. It costs 34 tokens per session (323 once invoked), scanned A, original, MIT.

A Claude Code skill that records where a work session stopped, clears the conversation context, and resumes with the next step. Claude Code is a coding assistant that runs in a terminal.

In plain words
What is it for?
Use it to pause a coding task, save its next step, clear the session, and continue automatically later.
Why use it?
Long conversations can fill the assistant's context and make it harder to continue accurately. This provides a way to start with a fresh context without manually copying the current state or answering a resume prompt.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the nap plugin — 1 skill shipped together

Good fit Use it to pause a coding task, save its next step, clear the session, and continue automatically later.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mirkobozzetto/arsenal/nap
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mirkobozzetto/arsenal --skill nap
Clone the repo
git clone --depth 1 https://github.com/mirkobozzetto/arsenal

Made for: Claude Code.

Or install nap, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nap

README.md
[![agentmods](https://agentmods.dev/badge/skills/mirkobozzetto/arsenal/nap/github.svg)](https://agentmods.dev/skills/mirkobozzetto/arsenal/nap)
Your own site
<a href="https://agentmods.dev/skills/mirkobozzetto/arsenal/nap"><img src="https://agentmods.dev/badge/skills/mirkobozzetto/arsenal/nap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nap

Your own site · 80×15
<a href="https://agentmods.dev/skills/mirkobozzetto/arsenal/nap"><img src="https://agentmods.dev/badge/skills/mirkobozzetto/arsenal/nap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00323
Opus 5.5 $0.00014 $0.00129
Sonnet 5.5 $0.00007 $0.00065
Haiku 4.5 $0.00003 $0.00032

Measured 3d ago against content hash 525059fb2e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/wake.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/nap/skills/nap/SKILL.md · 27 lines

What it actually says

Nap

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.

  1. Save with the trace skill (trace:trace), save mode, without its questions and without its closing lines. Text given after /nap is the --next field, word for word. Without it, write the next step yourself.
  2. Run node scripts/wake.cjs --detect (a normal Bash call).
  3. On none: end with « Tu peux /clear. » in the conversation language, then /next:next as the last line. Stop.
  4. Otherwise, as the last tool call of the turn, run node scripts/wake.cjs with Bash run_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 . »

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.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 27 lines · 34 tokens per session scan A 525059fb2e83

Subscribe to this mod's changes

nap is a skill published in the GitHub repository mirkobozzetto/arsenal (24 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 323 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.

Related

Other skills, from other repositories

context-bankruptcy

Declare bankruptcy on a long-lived AI agent's accumulated memory — audit what it currently believes, separate ground truth from stale and wrong, purge deliberately, restate the truths that survive, and log what was lost. Use when an agent keeps acting on outdated facts, contradicts itself across sessions, 'remembers'…

mohitagw15856/pm-claude-skills · 108 tokens

run-memory

Shared step of the marketing playbooks (analyze-performance, run-paid-campaigns, research-competitors, email-lifecycle): reads the last run's record, checks whether its recommendations were done and whether they worked, and saves a short record of this run for the next one. Loaded by those playbooks; not for direct…

gooseworks-ai/goose-skills · 72 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf. Team-scope sibling to second-brain — personal notes go there, not here. Modes — capture, compile (wiki pages + INDEX.md), query (trust-weighted, saved to outputs/)…

coreyhaines31/makerskills · 230 tokens

second-brain

When you want to capture into, compile, query, lint, or connect your personal Second Brain. Wraps the Karpathy LLM Wiki schema (Obsidian or any markdown vault) — raw/ (unprocessed sources), wiki/ (AI-compiled interlinked topic pages), outputs/ (generated artifacts). Vault defaults to…

coreyhaines31/makerskills · 240 tokens

give-me-tips

Explains any senpi tip in depth, including Tip: lines in the TUI. Use when the user asks about a tip, what a tipped feature does, or which tips they can see.

code-yeongyu/oh-my-openagent · 45 tokens

context-engineering-review

Review what an LLM feature or agent actually puts in its context window — and find what's bloating, missing, or fighting itself. Use when asked to review a system prompt and context assembly, cut token usage without losing quality, debug an agent that ignores instructions, or audit how retrieval results, history, and…

mohitagw15856/pm-claude-skills · 111 tokens