nap

Compress agent histories, prune logs, and archive decisions to reclaim context window space.

3|5|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ronniegeraghty/hyoka --skill nap-ronniegeraghty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nap
Source: https://github.com/ronniegeraghty/hyoka/tree/main/.squad/templates/skills/nap
Command: npx skills add https://github.com/ronniegeraghty/hyoka --skill nap-ronniegeraghty

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reclaims context window budget by compressing agent histories, pruning old logs, archiving stale decisions, and cleaning orphaned inbox files.

Core Features & Use Cases

  • Context hygiene: compress histories to free memory and improve responsiveness.
  • Prune and archive: remove stale logs and archived decisions to keep squad state lean.
  • Use Case: Before heavy fan-out work or after long-running sessions to reclaim resources.

Quick Start

Run squad nap to compress agent histories, prune old logs, and archive stale decisions to reclaim context.

Frequently Asked Questions about nap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I free up context window space for long-running agent sessions?

To free up context window space, compress agent histories, prune old logs, and archive stale decisions. This reclaims memory budget and keeps squad state lean before heavy fan-out work.

What is context hygiene and how does it improve agent responsiveness?

Context hygiene is the process of compressing histories and archiving stale decisions to reclaim context window budget. Cleaning orphaned inbox files and old logs improves agent responsiveness and saves space.

When should I archive squad state and prune agent logs?

Archive squad state and prune agent logs after long-running sessions or before heavy fan-out work. This deterministic cleanup removes stale logs and orphaned files to reclaim resources and save space.

Does cleaning orphaned inbox files help reclaim context window budget?

Yes, cleaning orphaned inbox files helps reclaim context window budget. Combined with compressing histories and pruning old logs, it automates context hygiene tasks to free memory and save space.

What's the best way to automate context hygiene for multi-agent squads?

The best way to automate context hygiene is running deterministic archiving and compression steps. This compresses histories, prunes old logs, and archives stale decisions to save space and reclaim resources.