跳到正文
FunCoding

nap

官方

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

Star
3,457
许可证
MIT
最近提交
2026年11月30日

templates/skills/nap/SKILL.md

在 GitHub 上查看

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

相似的 Skill

ask-matt

MAmattpocock/skills336k近 7 天新增 5,004 个 star

chief-of-staff

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-matt-pocock-skills

MAmattpocock/skills336k近 7 天新增 5,004 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 5,757 个 star

autonomous-loops

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

agent-eval

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star