cad-capture

cad-capture is a skill for Claude Code, Codex from crenshawdev/cadence. It costs 44 tokens per session (1,468 once invoked), scanned A, original, MIT.

A capture command for recording a task, future idea, or note in a project planning file. It can link tasks to a project phase and safely handles simultaneous updates.

In plain words
What is it for?
Use it to add phase-related todos, save ideas for later milestones, or record dated notes.
Why use it?
It keeps useful thoughts and follow-up work from being lost while you are focused on another task.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the cadence plugin — 34 skills, 19 agents, 3 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/crenshawdev/cadence/cad-capture
Any agent
npx skills add crenshawdev/cadence --skill cad-capture
Clone the repo
git clone --depth 1 https://github.com/crenshawdev/cadence

Made for: Claude Code, Codex.

Or install cadence, the plugin that ships this one along with the rest of its 34 skills, 19 agents, 3 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 cad-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/crenshawdev/cadence/cad-capture.svg)](https://agentmods.dev/skills/crenshawdev/cadence/cad-capture)
Your own site
<a href="https://agentmods.dev/skills/crenshawdev/cadence/cad-capture"><img src="https://agentmods.dev/badge/skills/crenshawdev/cadence/cad-capture.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 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.00044 $0.01468
Opus 5 $0.00022 $0.00734
Sonnet 5 $0.00009 $0.00294
Haiku 4.5 $0.00004 $0.00147

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

Security

Grade A, and why

cad-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 5d 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/cad-capture/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

  1. Capture through the seam - one call, and the only way this command reaches .planning/CAPTURE.md:

    node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" capture --kind <kind> --text-file <path> --phase <N>
    

    Write the sentence to a scratch file and pass the PATH, never interpolate it (caller-derived text - cadence-core/references/conventions.md). --text remains for a human at a shell.

    Pass --phase only with --kind todo, and leave it off entirely when step 1 found no phase. The seam owns every byte: it creates the file with its headings when absent, puts the bullet under the one heading that kind owns, stamps a note's date itself, and holds a lock so a concurrent writer cannot erase the line. Do not compose the bullet yourself and do not reach that file with any other tool - a second statement of the format is how the queue's writer and its reader drifted apart, and five filed items were lost to it.

    An ok:false return STOPS the capture: report its reason back with the user's own sentence, so nothing is lost and they can re-run it, and skip step 3. A bullet that did not land is never reported as captured. capture-locked means another writer holds the queue at this instant, and running the call again is the whole fix.

  2. Persist - the project-directed arm only, never under --cadence. Stage ONLY .planning/CAPTURE.md and commit docs: capture <kind> (protected-branch guard applies) - this never touches the user's in-flight changes. Report the one line captured and where.

  3. --cadence: the note is about Cadence itself. REPLACES steps 2-3.

    • The queue sits beside the global config layer: CAPTURE.md in the directory part of CADENCE_GLOBAL_CONFIG when that variable is set, in ~/.claude/cadence/ otherwise - the resolution cadence-core/bin/lib/config-merge.mjs performs for the config file. Never ${CLAUDE_PLUGIN_ROOT}: the next upgrade orphans a write there. Resolve that path yourself and hand it to the same seam, which creates the file and its directory when absent, so one writer serves both queues:

      node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" capture --kind <kind> --text-file <path> --file <resolved dir>/CAPTURE.md
      
    • The entry is the user's own sentence plus two fields, carried inside the --text-file sentence and never a phase: <text> (host: <host>, command: /cad-<name>). HOST: this repo's origin URL (git remote get-url origin), else the basename of the root from git rev-parse --show-toplevel, else the absolute working directory when this is not a repo - origin first because a worktree and a detached checkout both still resolve through it. COMMAND: the /cad-* whose behaviour caused the friction, from the invocation when the user names one, asked for once when not.

    • Quote nothing else from this tree - no diff, no file contents, no path out of the user's own work. There is no redaction machinery here, and this rule stands in for it.

    • Three rails. (a) NO commit - not in this repo, not in the global directory, which is not a working tree at all - so step 3 does not run. (b) Nothing is transmitted; a note meant for a maintainer who is not the user stays a manual export the user makes. (c) If that directory cannot be resolved (homedir() throws under an arbitrary UID) or the seam refuses the path, say so and STOP - NEVER fall back to .planning/CAPTURE.md, since a note landing in the host repo is the failure this arm exists to close. Report the one line captured and the file it landed in.

Read the full file on GitHub · 106 lines

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. 5d ago First seen · 106 lines · 44 tokens per session scan A 7acaaa57bbe4

Subscribe to this mod's changes

cad-capture is a skill published in the GitHub repository crenshawdev/cadence (4 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,468 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

collaboration-platform-administration

Administers the email, chat, meeting and file-sharing platform the organization runs on — tenant and domain configuration, mail authentication and routing, phishing and spam controls, shared mailboxes and distribution groups, external sharing and guest access, permission sprawl in file storage, and retention and legal…

cbrock84/headcount · 93 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens

onboarding-and-offboarding

Designs the joining and leaving experience — first-day readiness, ramp to productivity, knowledge capture, and clean exits. Use this to design or fix onboarding, shorten time to productivity, structure a leaver process, capture knowledge before someone leaves, or coordinate the access and asset steps around a joiner…

cbrock84/headcount · 69 tokens

structure-swift-sources

Organize Swift source trees and oversized Swift files by feature, layer, and declaration group; split large files, normalize // MARK: sections, enforce plain-language block-comment file headers, and move TODO and FIXME text into ledger files. Use after format-swift-sources has established a clean formatting baseline.

gaelic-ghost/socket · 69 tokens

tips-helpviewer-workflow

Discover local user-guide topics for installed Apple Mac apps through the Tips HelpViewer catalog, with app matching, installed-version capture, result verification, and authoritative fallback routing. Use when Codex needs task-specific help for an installed Apple app, needs to find a menu command through local Help…

gaelic-ghost/socket · 93 tokens

ws

Create and run workstations - permanent areas for routine, repeated work (independent of projects). Actions - new WS, new subWS, new area, new routine, run, from project, list, overview. Hierarchy depth (2 or 3 levels) is fixed at creation.

protonium-labs/axiomcore-plugin · 60 tokens