Nap
Context compactor — prunes old sagaflow runs, archives stale memory files, compacts MEMORY.md indexes, compresses aimee journals. Like Squad's `squad nap` but for our Claude Code setup.
Install
/plugin marketplace add npow/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add npow/claude-skills --skill napgit clone --depth 1 https://github.com/npow/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/nap ~/.claude/skills/napPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# nap Compact Claude Code context state to free disk and reduce token load. ## Usage When invoked, run the nap script: ```bash python3 ~/code/npow-dotfiles/scripts/nap.py [flags] ``` ### Flags from user args - If the user says `--dry-run` or "dry run" or "what would it do": add `--dry-run` - If the user says `--deep` or "deep" or "aggressive": add `--deep` - If no flags specified: run with `--dry-run` first, show the report, then run for real ### What it does 1. **PRUNE** — deletes sagaflow run dirs older than 7 days (3 with --deep) 2. **COMPACT** — removes dead pointers from MEMORY.md index files 3. **ARCHIVE** — moves memory files not touched in 30 days (14 with --deep) to `archive/` subdirs 4. **COMPRESS** — archives old aimee journal entries (>7 days or >50KB; >3 days or >20KB with --deep) ### Workflow 1. Run with `--dry-run` first unless the user explicitly said to just do it 2. Show the report output to the user 3. If dry-run, ask once: "Run it for real?" — then execute without `--dry-run` 4. Show the final report
Details
- Skill name
nap- Repository
- npow/claude-skills
- Path
nap/SKILL.md- License
- Apache-2.0
- Repo updated
- 20 August 2026
FAQ
What does the Nap skill do?
Context compactor — prunes old sagaflow runs, archives stale memory files, compacts MEMORY.md indexes, compresses aimee journals. Like Squad's `squad nap` but for our Claude Code setup.
How do I install the Nap skill?
Claude Code plugin: /plugin marketplace add npow/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Nap popular?
It lives in npow/claude-skills, which has 5 GitHub stars and 1 forks.
Related skills
Autopilot
5npow/claude-skills
Use when the user says "autopilot", "build this", "make it", "ship it", "just do it", "do it", "implement this", or gives a vague idea, spec, task list, or bug fix and expects autonomous execution. Handles decomposition, agent coordination, and verification automatically. "build me end to end", "go from idea to code", "do everything", "run this autonomously". Follows the Spec-Driven Development workflow: specify → clarify → plan → tasks → analyze → implement.
Build Python Library
5npow/claude-skills
Implements pip-installable Python libraries from scratch using src layout, pyproject.toml, and pytest. Use when the user asks to build, create, implement, or scaffold a Python library, package, pip package, middleware, SDK, or wrapper. Covers project scaffolding, proxy/wrapper patterns, provider-agnostic interfaces, async/sync support, and test infrastructure.
Canon Design Review
5npow/claude-skills
Architecture-level design review evaluating 15 Tier 2 best practices drawn from DDD (Evans), POEAA (Fowler), Release It! (Nygard), DDIA (Kleppmann), Team Topologies (Skelton/Pais), How Buildings Learn (Brand), and Systemantics (Gall). Auto-invoke when a PR touches: - Service definitions, infrastructure code, API boundaries, or database schemas - Files matching **/architecture*, **/design*, **/api/*, **/schema*, **/migrations/* - Any directory named services/, infrastructure/, platform/, domain/, core/ Also invoke when the user says: - "design review", "architecture review", "review the design"
Obsidian Vault
5GAGAA-HUE/ASHUO-claude-skills
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
Loop Me
5GAGAA-HUE/ASHUO-claude-skills
Grill me about specs for the workflows I want to build, within this workspace.
Pipeline Health Report
5npow/claude-skills
Use when checking data pipeline health, workflow status, Maestro failures, or generating a daily pipeline report. Trigger phrases: pipeline health, workflow status, data pipeline report, maestro health, pipeline check, are my workflows healthy.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.