Skip to main content

nap

Context hygiene — compress, prune, archive .squad/ state

来源信息

仓库
github/gh-aw
最近来源活动
2026年8月17日 21:20
检测到的 SKILL.md 语言
英语
星标
5,559
Forks
615

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
在 GitHub 查看