From onebrain
Quick note capture with automatic wikilink suggestions to related existing notes
npx claudepluginhub kengio/onebrain --plugin onebrainThis skill uses the workspace's default tool permissions.
Quickly capture a note, idea, reference, or piece of information : with automatic linking to related notes.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
Quickly capture a note, idea, reference, or piece of information : with automatic linking to related notes.
If the user invoked /capture without content, ask:
What do you want to capture?
If they provided content after /capture [content], use that directly.
Classify the content : do not ask, infer from context:
| Type | Destination |
|---|---|
| Fleeting note / rough idea | 00-inbox/YYYY-MM-DD-[slug].md |
| Personal insight / synthesis | 03-knowledge/[best-subfolder]/[Topic Name].md |
| External reference / source | 04-resources/[best-subfolder]/[Topic Name].md |
| Ongoing responsibility | 02-areas/[best-subfolder]/[Topic Name].md |
| Project update | append to 01-projects/[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.
Scan 03-knowledge/**/*.md, 04-resources/**/*.md, 02-areas/**/*.md, and 01-projects/**/*.md for related notes. Exclude the destination file itself. Include the top 1–3 most relevant as wikilinks in the note. Do not ask : add them automatically. If no related notes are found, omit the ## Related section entirely.
For inbox (fleeting note):
File: 00-inbox/YYYY-MM-DD-[slug].md
---
tags: [inbox]
created: YYYY-MM-DD
---
# [Title derived from content]
[Content]
## Related
[[Link 1]]
[[Link 2]]
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:
---
tags: [topic-tag]
created: YYYY-MM-DD
---
# [Topic Name]
[Content]
## Related
[[Link 1]]
For project note:
Append to the existing project file:
## [Date] : [Brief heading]
[Content]
Related: [[Link 1]]
Say in one line:
Captured to
[file path]. [If links added: Linked to [[Note A]], [[Note B]].]