capture

capture is a skill for Claude Code, Codex from ArcticFox2029/chamnan. It costs 46 tokens per session (490 once invoked), scanned A, original, MIT.

A skill for recording a useful procedure, costly troubleshooting lesson, repeated task, or important design decision as a reusable file. It saves the procedure under .chamnan/skills/.

In plain words
What is it for?
Use it after solving a non-obvious recurring task, diagnosing an expensive failure, repeating a process for the third time, or making a decision whose reason will not be visible in code.
Why use it?
It preserves details while they are still fresh so future sessions do not have to rediscover the same steps or reason.

Skill for Claude CodeCodex

Part of the chamnan plugin — 8 skills, 2 agents, 4 hooks 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/arcticfox2029/chamnan/capture
Any agent
npx skills add ArcticFox2029/chamnan --skill capture
Clone the repo
git clone --depth 1 https://github.com/ArcticFox2029/chamnan

Made for: Claude Code, Codex.

Or install chamnan, the plugin that ships this one along with the rest of its 8 skills, 2 agents, 4 hooks.

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 capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcticfox2029/chamnan/capture.svg)](https://agentmods.dev/skills/arcticfox2029/chamnan/capture)
Your own site
<a href="https://agentmods.dev/skills/arcticfox2029/chamnan/capture"><img src="https://agentmods.dev/badge/skills/arcticfox2029/chamnan/capture.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 490 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.00046 $0.00490
Opus 5 $0.00023 $0.00245
Sonnet 5 $0.00009 $0.00098
Haiku 4.5 $0.00005 $0.00049

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

Security

Grade A, and why

capture 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/capture/SKILL.md · 51 lines

What it actually says

Record what you just worked out

Write a file into .chamnan/skills/<short-name>.md.

When this is worth doing

  • A task took several steps that were not obvious, and will come up again
  • Something failed in a way that was expensive to diagnose
  • You have now done the same thing a third time
  • A decision was made whose reason will not be visible in the code afterwards

When it is not

Anything a competent reader gets from the code itself. A file that restates what the code says costs tokens on every future session and returns nothing. When in doubt, don't — an over-full skills directory trains the next session to skip the directory.

Format

---
description: <one line, under 100 chars — this is what a future session sees in the registry>
---

# <what this is about>

## The trap / the task
What actually happens, concretely. Name real files, real commands, real error text.

## What to do
The steps, in order.

## Why it is like this
The reason. This is the part that stops someone "fixing" it back to the broken version.

The description line is not optional. Session start lists every skill by name and description; a file with no description shows as a bare filename, and a bare filename is not enough for a future session to decide whether to open it. That is the whole cost of the registry wasted.

Write in the language set as language in .chamnan/config.json (default en). These files are re-read on every session, which is why English is the default — but a procedure your team cannot read is worth nothing however cheap it is.

Be specific. "Be careful with the cache" is worthless. "_write_index is a plain write_text with no atomic replace, so two threads writing the same index drop one update and can interleave into invalid JSON, which _read_index turns into [] — batch such updates into one pass" is worth keeping.

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 · 51 lines · 46 tokens per session scan A c6401180e955

Subscribe to this mod's changes

capture is a skill published in the GitHub repository ArcticFox2029/chamnan (4 stars, last pushed 6d ago), licensed MIT. It adds 46 tokens to every session and 490 once invoked, about $0.0002 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

fewword

Use this skill when tool outputs exceed 2000 tokens, tasks span multiple conversation turns, sub-agents need to share state, context window is bloating, plans need to persist across summarization, terminal/log output needs selective querying, or when user mentions "offload context", "dynamic context discovery"…

sheeki03/Few-Word · 86 tokens

cloudflare-browser-rendering

Cloudflare Browser Rendering with Puppeteer/Playwright. Use for screenshots, PDFs, web scraping, or encountering rendering errors, timeout issues, memory exceeded.

secondsky/claude-skills · 37 tokens

cloudflare-workers-performance

Cloudflare Workers performance optimization with CPU, memory, caching, bundle size. Use for slow workers, high latency, cold starts, or encountering CPU limits, memory issues, timeout errors.

secondsky/claude-skills · 42 tokens

better-auth

Skill for integrating Better Auth - comprehensive TypeScript authentication framework for Cloudflare D1, Next.js, Nuxt, and 15+ frameworks. Use when adding auth, encountering D1 adapter errors, or implementing OAuth/2FA/RBAC features.

secondsky/claude-skills · 53 tokens

aceternity-ui

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

secondsky/claude-skills · 48 tokens

auto-animate

AutoAnimate (@formkit/auto-animate) zero-config animations for React. Use for list transitions, accordions, toasts, or encountering SSR errors, animation libraries complexity.

secondsky/claude-skills · 40 tokens