nap
Context hygiene — compress, prune, archive .squad/ state
- License 许可
- MIT
- 所属仓库
- github/squad
- 最近更新
- 2026-11-13
- Stars
- ★ 3.4k
- Forks
- 518
01 前言 Front Matter
- name
- nap
- domain
- maintenance
- source
- extracted
- confidence
- medium
- description
- Context hygiene — compress, prune, archive .squad/ state
03 SKILL.md 正文
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
04 同仓库更多 Skills
squad-coordinator-init-mode
Squad coordinator only: Init Mode, proposing and casting a new team. Load when team.md is missing or has an empty roster, or when asked to set up or cast a team.
retro-enforcement
Keep retrospectives on schedule and track their action items as GitHub Issues, not markdown checklists
cli-wiring
Checklist for wiring a new Squad CLI command: route it in cli-entry.ts, add help text, and test that it is reachable
gh-aw-enlistment
Enlist a repository into Squad by installing the supported GitHub Agentic Workflows (gh-aw) bootstrap — with strict compilation, an explicit safe-update allowlist, and a human-reviewed bootstrap PR. Never auto-merges.
My Skill
暂无简介
bad-skill
暂无简介