Skip to main content

nap

Context hygiene โ€” compress, prune, archive .squad/ state

Source facts

Repository
github/gh-aw
Last source activity
August 17, 2026 at 21:20
Detected SKILL.md language
English
Stars
5,200
Forks
564

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions ยท Read-only preview
name
nap
description
Context hygiene โ€” compress, prune, archive .squad/ state
domain
maintenance
confidence
medium
source
extracted
# 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
View on GitHub