Agent skill

Nap

by bradygaster in bradygaster/squad

Context hygiene — compress, prune, archive .squad/ state. An agent skill from bradygaster/squad.

MITAuto-check passed

Install Nap

skills CLI
$ npx skills add bradygaster/squad --skill nap -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bradygaster/squad nap --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.squad-templates/skills/nap .claude/skills/nap && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nap
GitHub stars
3.3k
Token cost
~197 tokens
SKILL.md length
84 words
Files
1
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Context hygiene — compress, prune, archive .squad/ state. An agent skill from bradygaster/squad.

  • SKILL.md covers What It Does, When To Use, Invocation and Confidence
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nap is an agent skill from bradygaster/squad. Context hygiene — compress, prune, archive .squad/ state

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Squad: AI agent teams for any project. The licence is MIT.

Example prompts

  • “/nap”

What it can do on your machine

Read from SKILL.md and the folder at commit 1fd7e03. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nap loads about 197 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 84 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~197

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from bradygaster/squad at commit 1fd7e03, republished under its MIT licence (© bradygaster). 84 words, ~197 tokens.

Download SKILL.mdSave it as .claude/skills/nap/SKILL.md (or your agent's skills folder).
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

© bradygaster, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .squad-templates/skills/nap of bradygaster/squad.

Open the folder on GitHubat commit 1fd7e03

Compare with similar skills

Nap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nap this skillbradygaster/squad3.3k—~197Automated safety check: PassMIT
Compressionthedaviddias/Front-End-Checklist74k—~421Automated safety check: PassMIT
Squadsinternet-court/internet-court-skill6.4k2 repos~5.9kAutomated safety check: PassApache-2.0
Image Compressionthedaviddias/Front-End-Checklist74k—~405Automated safety check: PassMIT
Agent Squadsickn33/agentic-awesome-skills47k1 repos~1.7kAutomated safety check: WarnMIT
OmniRoute Prompt Compressiondiegosouzapw/OmniRoute74k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Compression

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Enable text-based compression.

    74k GitHub stars~421 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Squads

    internet-court/internet-court-skill

    Complete guide for Squads Protocol - Solana's leading smart account and multisig infrastructure.

    6.4k GitHub starsUsed in 2 repos~5.9k tokens
    Business, Finance & HRAuto-check passed
  • Image Compression

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing image assets, markup, and CDN or build transforms related to Compress images without quality loss.

    74k GitHub stars~405 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Agent Squad

    sickn33/agentic-awesome-skills

    Main agent orchestrator that coordinates a specialized squad of agents

    47k GitHub starsUsed in 1 repo~1.7k tokens
    Agent WorkflowsAuto-check: warnings
  • OmniRoute Prompt Compression

    diegosouzapw/OmniRoute

    Configures OmniRoute's RTK, Caveman and stacked compression modes, manages language packs and rules, and previews token savings of 60 to 90 percent.

    74k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    71k GitHub starsUsed in 3 repos~5.6k tokens
    DevelopmentAuto-check passed

More from bradygaster/squad

All 31 skills in this repo
  • Fact Checking

    bradygaster/squad

    Review and validate claims using counter-hypothesis testing.

    3.3k GitHub stars~503 tokensUpdated today
    Auto-check passed
  • Architectural Review

    bradygaster/squad

    How to review PRs for architectural quality — module boundaries, dependency direction, export surface, pattern consistency

    3.3k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Archival Integrity

    bradygaster/squad

    Preserve content when moving entries between tracked Squad state files

    3.3k GitHub stars~735 tokensUpdated today
    Auto-check passed
  • CI Validation Gates

    bradygaster/squad

    Defensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection

    3.3k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • CLI Wiring

    bradygaster/squad

    Checklist and patterns for wiring new CLI commands into cli-entry.ts

    3.3k GitHub stars~501 tokensUpdated today
    Auto-check passed
  • Enables squad agents on different machines to share work via git-based task queuing

    3.3k GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Questions about Nap

What does Nap do?

Context hygiene — compress, prune, archive .squad/ state. An agent skill from bradygaster/squad. Nap is an agent skill from bradygaster/squad.

How do I install Nap in Claude Code?

Run `npx skills add bradygaster/squad --skill nap -a claude-code`. Or copy the skill folder (.squad-templates/skills/nap in bradygaster/squad) into .claude/skills/nap in your project. Claude Code loads it when a task matches its description.

How do I install Nap in Codex?

Run `npx skills add bradygaster/squad --skill nap -a codex`. Or copy the skill folder (.squad-templates/skills/nap in bradygaster/squad) into .agents/skills/nap in your project. Codex loads it when a task matches its description.

Can I use Nap in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bradygaster/squad --skill nap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nap, .gemini/skills/nap, .github/skills/nap and .opencode/skills/nap in your project.

What does Nap need to run?

SKILL.md names no scripts, command-line tools or credentials: Nap is instructions for the agent only.

Does Nap access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nap safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nap use?

Nap is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nap use?

About 197 tokens (SKILL.md is roughly 788 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nap?

Skills that share tags, products or a category with Nap: Compression (thedaviddias/Front-End-Checklist, 74k stars), Squads (internet-court/internet-court-skill, 6.4k stars), Image Compression (thedaviddias/Front-End-Checklist, 74k stars) and Agent Squad (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nap?

bradygaster (a GitHub user) maintains it in bradygaster/squad, which has 3,257 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 8, 2026.

Source: bradygaster/squad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.