capture

capture is a skill for Claude Code, Codex from onebrain-ai/onebrain. It costs 97 tokens per session (1,137 once invoked), scanned A, original, Apache-2.0.

A note-taking skill for quickly saving one idea, reference, insight, or piece of information in a vault. It chooses a note location and suggests links to related notes.

In plain words
What is it for?
Use it to capture fleeting ideas, personal insights, external references, project updates, or ongoing responsibilities. It can place the note in the appropriate folder and connect it to existing notes.
Why use it?
It removes the need to decide where each small note belongs or manually find related notes. It is intended for one focused item, not an unstructured collection of thoughts.

Skill for Claude CodeCodex

Part of the onebrain plugin — 32 skills, 5 agents, 2 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/onebrain-ai/onebrain/capture
Any agent
npx skills add onebrain-ai/onebrain --skill capture
Clone the repo
git clone --depth 1 https://github.com/onebrain-ai/onebrain

Made for: Claude Code, Codex.

Or install onebrain, the plugin that ships this one along with the rest of its 32 skills, 5 agents, 2 hooks.

Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,137 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.00097 $0.01137
Opus 5 $0.00048 $0.00568
Sonnet 5 $0.00019 $0.00227
Haiku 4.5 $0.00010 $0.00114

Measured 3d ago against content hash 9a4c2fb77cea, 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 3d 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.

.claude/plugins/onebrain/skills/capture/SKILL.md · 134 lines

How it starts

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

Capture

Quickly capture a note, idea, reference, or piece of information : with automatic linking to related notes.


Step 1: Ask What to Capture

If the user invoked /capture without content, ask:

What do you want to capture?

If they provided content after /capture [content], use that directly.


Step 2: Determine Note Type and Location

Classify the content : do not ask, infer from context:

Type Destination
Fleeting note / rough idea [inbox_folder]/YYYY-MM-DD-[slug].md
Personal insight / synthesis [knowledge_folder]/[best-subfolder]/[Topic Name].md
External reference / source [resources_folder]/[best-subfolder]/[Topic Name].md
Ongoing responsibility [areas_folder]/[best-subfolder]/[Topic Name].md
Project update append to [projects_folder]/[subfolder]/[Project Name].md

For subfolders: glob existing subfolders in the target folder and pick the best fit. If none match, create a new kebab-case name (1–2 words). Do not ask : decide and proceed.


Search for related notes (use the search tools if available, otherwise Glob [knowledge_folder]/**/*.md, [resources_folder]/**/*.md, [areas_folder]/**/*.md, [projects_folder]/**/*.md). Exclude the destination file. For search-tool results, only include candidates with rerank_score ≥ 0.30 (prefer ≥ 0.60) — drop anything below 0.30. Include top 1–3 as wikilinks automatically. Omit ## Related if nothing relevant found (or nothing clears the threshold).


Step 4: Create the Note

For inbox (fleeting note):

File: [inbox_folder]/YYYY-MM-DD-[slug].md

---
tags: [inbox]
created: YYYY-MM-DD
---

# [Title derived from content]

[Content]

## Related

[[Wikilink found in Step 3]]
[[Wikilink found in Step 3]]

For knowledge / reference / area note:

File: [target-folder]/[subfolder]/[Topic Name].md

If the file already exists, append a new section. If not, create it:

Read the full file on GitHub · 134 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. 3d ago First seen · 134 lines · 97 tokens per session scan A 9a4c2fb77cea

Subscribe to this mod's changes

capture is a skill published in the GitHub repository onebrain-ai/onebrain (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,137 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

excalidraw-diagram

Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".

breferrari/obsidian-mind · 67 tokens

mermaid-visualizer

Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.

breferrari/obsidian-mind · 57 tokens

qmd

Search the vault using QMD semantic search. Use PROACTIVELY before reading files. Preference order: (1) MCP tools — mcpqmdquery, mcpqmdget, mcpqmdmultiget, mcpqmdstatus — if they appear in your tool menu, use them first; (2) CLI qmd --index ... as fallback; (3) Grep/Glob only when QMD is not installed. Trigger…

breferrari/obsidian-mind · 142 tokens

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their…

breferrari/obsidian-mind · 102 tokens

deeppapernote

Generate a high-quality deep-reading note for a single paper and write it into an Obsidian-style vault. Use when the user gives a paper title, DOI, URL, arXiv ID, Zotero item, or local PDF and wants a polished Markdown note with strong structure, evidence-based analysis, and figure placeholders.

917Dhj/DeepPaperNote · 71 tokens

paper-glossary

Use when building reusable Obsidian glossary notes from an existing paper source manifest, optionally with a raw-sections override, especially when a reader needs a reviewed shortlist before glossary notes and article links are changed.

917Dhj/DeepPaperNote · 46 tokens