spool

spool is a skill for Claude Code, Codex from anneheartrecord/charles-skill. It costs 14 tokens per session (461 once invoked), scanned A, original, MIT.

A command-line search tool for finding conversations from local Claude Code and Codex sessions. It searches an index of saved session history.

In plain words
What is it for?
Searching session text, showing matching projects and dates, and optionally loading a complete session by its identifier.
Why use it?
It avoids manually opening old sessions when you need to recover a past decision, explanation, or piece of reasoning.

Skill for Claude CodeCodex

Part of the dev-tools plugin — 2 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/anneheartrecord/charles-skill/spool
Any agent
npx skills add anneheartrecord/charles-skill --skill spool
Clone the repo
git clone --depth 1 https://github.com/anneheartrecord/charles-skill

Made for: Claude Code, Codex.

Or install dev-tools, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spool

README.md
[![agentmods](https://agentmods.dev/badge/skills/anneheartrecord/charles-skill/spool.svg)](https://agentmods.dev/skills/anneheartrecord/charles-skill/spool)
Your own site
<a href="https://agentmods.dev/skills/anneheartrecord/charles-skill/spool"><img src="https://agentmods.dev/badge/skills/anneheartrecord/charles-skill/spool.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 461 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.00461
Opus 5 $0.00007 $0.00230
Sonnet 5 $0.00003 $0.00092
Haiku 4.5 $0.00001 $0.00046

Measured 4d ago against content hash a8a20e026c29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/spool/SKILL.md · 66 lines

What it actually says

Search your thinking with spool — a local search engine over your Claude Code and Codex CLI sessions.

Steps

  1. Check if spool is installed
which spool

If the command is not found, tell the user:

spool CLI is not installed. Run: npm install -g @spool/cli then spool sync to index your sessions. Stop here.

  1. Run the search
spool search "$ARGS" --json --limit 5

where $ARGS is everything the user passed to /spool.

  1. Present the results

For each result in the JSON array, show:

  • Session title and date (startedAt)
  • Source (claude or codex) and project path
  • The snippet with highlighted terms (strip <mark> / </mark> tags for plain display)
  • A note of the session UUID

Example format:

1. [claude] /code/myproject — 2026-03-20
   "…evaluated the database sharding tradeoffs and reached a decision…"
   UUID: abc123

2. [codex] /code/api — 2026-03-18
   "…the race condition was caused by a shared map write without a mutex…"
   UUID: def456
  1. Offer to load a full session

Ask: "Want to see the full conversation for any of these? I can load it with spool show <uuid>."

If the user says yes (or specifies a number/UUID), run:

spool show <uuid>

Include the output as context in your next reply.

Tips

  • Add --source claude or --source codex to filter by source
  • Add --since 7d to limit to the last 7 days
  • Use quotes for exact phrases: /spool "read replicas"
  • Run spool sync first if results seem stale
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 66 lines · 14 tokens per session scan A a8a20e026c29

Subscribe to this mod's changes

spool is a skill published in the GitHub repository anneheartrecord/charles-skill (3 stars, last pushed 27d ago), licensed MIT. It adds 14 tokens to every session and 461 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-recall

Persistent compounding memory for AI agents. 5 default MCP tools: sessionstart, sessionend, remember, recall, check. Full surface (18 tools) available with --full flag. Two-verb model: inhale (sessionstart) and exhale (sessionend). Correction-first memory with decision trail tracking, watchfor warnings, palace rooms…

Goldentrii/AgentRecall-X · 157 tokens

swarmvault

Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, chat-session, context-pack, task-ledger, static AI export, retrieval, and MCP artifacts to disk from books, notes, transcripts, exports, datasets, slide decks, files, URLs, code, and…

swarmclawai/swarmvault · 76 tokens

linker

Discovers missing cross-domain connections between knowledge documents and creates/updates connection wiki articles.

Yrzhe/pagefly · 20 tokens

intake

Interactive Q&A capture of company knowledge into typed nodes in a company-brain vault. Sub-modes - vision (dictation-friendly six-phase flow), for-doc (document-driven interview that walks a target doc's sections), product, persona, competitor, competitor-ifu, competitor-clearance, competitor-snapshot, metric…

nemock/company-brain · 120 tokens

atomize

Ingest existing documents (markdown, plain text, Word .docx, PDF, interview transcripts, image screenshots) into typed company-brain nodes with provenance. Each ingested document lands as an immutable source node; extracted content becomes derived typed nodes linked via derivedfrom edges. Uses cb extract for binary…

nemock/company-brain · 110 tokens

query

Answer questions against a company-brain vault using staged retrieval, auto-injected pillars, typed edge traversal, and node-id citations. Profile-aware. Cites the graph as the source of truth; flags contradictions, staleness, and confidence.

nemock/company-brain · 51 tokens