> Context hygiene — compress, prune, archive .squad/ state
17 stars
0 votes
0 copies
3 views
Added May 30, 2026
ai-agents
Works with
cli
Security analysis
A100/100
Scanned May 30, 2026
$npx -y skills add gabrielmoreira/agent-skills-mirror --skill nap --agent claude-code
Installs into .claude/skills of the current project.
Are you the author of Nap?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-nap)
# Skill: nap
> Context hygiene — compress, prune, archive .squad/ state
## What It Does
Reclaims context window budget by compressing agent histories, pruning old logs,
archiving stale decisions, and cleaning orphaned inbox files.
## When To Use
- Before heavy fan-out work (many agents will spawn)
- When history.md files exceed 15KB
- When .squad/ total size exceeds 1MB
- After long-running sessions or sprints
## Invocation
- CLI: `squad nap` / `squad nap --deep` / `squad nap --dry-run`
- REPL: `/nap` / `/nap --dry-run` / `/nap --deep`
## Confidence
medium — Confirmed by team vote (4-1) and initial implementation