nap

Compress agent histories, prune logs, archive decisions, and clean orphaned files in the .squad/ directory.

619|188|Updated Jul 4, 2024
One-click install
npx skills add https://github.com/CommunityToolkit/Aspire --skill nap-communitytoolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nap
Source: https://github.com/CommunityToolkit/Aspire/tree/main/examples/squad/CommunityToolkit.Aspire.Hosting.Squad.AppHost/dev-squad/.squad/templates/skills/nap
Command: npx skills add https://github.com/CommunityToolkit/Aspire --skill nap-communitytoolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the issue of managing the .squad/ state by compressing agent histories, pruning old logs, archiving stale decisions, and cleaning orphaned inbox files, ensuring efficient state management.

Core Features & Use Cases

  • Compress Agent Histories: Reduces the size of agent history files.
  • Prune Old Logs: Removes old log entries to free up space.
  • Archive Stale Decisions: Moves outdated decisions to an archive.
  • Clean Orphaned Files: Removes unused files from the .squad/ directory.
  • Use Case: Before starting a new sprint or when the .squad/ directory exceeds a certain size, use this Skill to maintain the state and ensure optimal performance.

Quick Start

Use the squad nap command to compress, prune, and archive the .squad/ state.

Frequently Asked Questions about nap

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

FAQPage Schema
How do I compress agent histories and prune logs in a .squad directory?

To compress agent histories and prune logs in a .squad directory, use the `squad nap` command to reduce file sizes, remove old log entries, and archive stale decisions.

When should I perform .squad state management and directory cleanup?

You should perform .squad state management and directory cleanup before starting a new sprint, before fanning out agents, when history.md files exceed 15KB, or when the .squad directory exceeds 1MB.

Does the squad nap state management skill require external dependencies?

The squad nap state management skill requires no external dependencies to compress histories, prune logs, archive decisions, and clean orphaned inbox files.

What is the best way to archive stale decisions and clean orphaned files?

The best way to archive stale decisions and clean orphaned inbox files is by running the `squad nap` command, which maintains the .squad state by compressing data and freeing up space.

Can I use this skill for .squad context hygiene on a large scale?

You can use this skill for .squad context hygiene on a large scale, as it triggers maintenance routines specifically when the directory size exceeds 1MB or history files surpass 15KB.