/thinking-skills:idea-bankfrom thinking-skills
Shared store and formats for the owner's idea work: where the bank lives ($IDEA_HOME), the schema for idea cards, bricks, lenses, moves, readings, scout batches and the owner's state files, how bricks are split, bound and linked (`parts`, `links`), the index script that finds links, convergence and migration gaps, the search script (embeddings + BM25) that finds existing bricks, and how to commit the bank. Use when another idea skill (idea-scout, co-read, idea-forge, idea-mine) writes or reads the bank, when the owner asks to search the bank or their ideas for something, find or dedupe bricks, see what a brick is part of or linked to, run the idea index, or see convergence and migration gaps. Not for deciding what to read or how to collaborate; the caller skills own that.
Ships in thinking-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill owns the mechanism: location, formats, links, index, commits. The caller skills own policy: what to read, how the owner and Claude split the work, what goes in a batch. Keep that split, so one schema change reaches every caller.
Every idea skill works with bricks. Read this before you split, bind, name or match one.
A brick is any piece of an idea that does one job you can name: it takes something in, gives something out, and keeps to a constraint. "Filters bad samples" is a brick. "A cheap check before a strong one" is a brick. A whole method seen as one block is a brick too.
cut
(references/schema.md, Parts and links). A new cut never replaces an old one.Bricks live in bricks/, one per file (type: Brick). A card records one
source and the bricks its recipe uses. A lens records a way of seeing. A move
records how one source changed another source's bricks.
The owner is the person whose bank this is: the one the idea skills read, scout and forge for. Every idea skill uses this word for that person. In a bulk brief the reader is a lead agent, not the owner.
Facts about the owner (name, handle, chat language, presence default, compute,
starting scopes) live in the bank's me/profile.md (references/schema.md,
State files), never in a skill. Read it once per session, with the bank root.
When it is missing, use the defaults: chat in the language the owner writes in,
absent mode, heavy runs only on this machine. Tell the owner once that they can
create the file.
Resolve the root once per session, in this order:
$IDEA_HOME, when it is set.~/ideas.Create the root and the layout below on first use. When the root came from a default, tell the owner once which path you use. Never write bank files anywhere else, because a second copy splits the links.
| Path | Holds | Type (schema.md) |
|---|---|---|
bricks/ | One brick per file, named by its role-level slug | Brick |
lenses/ | One view model per file | Lens |
moves/ | One move (diff between a source and its parent) per file | Move |
cards/ | One six-layer card per source | Idea Card |
people/ | Optional profiles | Person |
readings/ | YYMMDD-<slug>.md, one per reading session | Reading |
batches/ | YYMMDD-batch-<n>.md, one per scout batch | Scout Batch |
me/ | The owner's state: profile, scopes, interest-state, known-bricks, taste, progress | State |
Bulk runs (idea-mine) stage outside the bank and merge in only after the
index on the staged folder shows no broken links (schema.md, Bulk staging).
Every directory has an index.md (no frontmatter). Add a line there and a dated
line in the bundle's log.md when you create a concept. bricks/index.md is the
exception: idea_index.py --write regenerates it. The bank is an area of an
OKF bundle: load the okf skill before restructuring it.
references/schema.md only. Read it before writing any
bank file. Do not invent fields in a caller skill; add them to the schema.(inferred). Without this
rule a model writes tidy intentions the author never had.(inferred) and make it anyway. Record
each correction the owner makes (in the unit's file, and as a row in
me/progress.md), so the next pass starts from it.me/profile.md sets Presence default: present). Claude does every step itself, best effort: splits,
recombines, writes variants, cards and kill-test predictions, files drafts.
It never stops to ask the owner to write first, and logs no skip: absence is not a
skip./idea-present (or /idea-present on) in
this conversation, until /idea-present off. The "owner writes first" steps of
co-read, idea-forge and idea-scout then run as written, and skips are counted.me/.
No skill hardcodes a topic level or a number the owner can change at runtime.Two bricks are the same when their structural signatures match (input, output, objective, constraint, math form), whatever each field calls them. Judge this by structure mapping: compare the relations, not the names. Name or embedding similarity misleads here, because each field renames the same structure ("sparse coding", "dictionary learning", "SAE features").
To merge: keep the older file, move the other names into names, append the
other file's migrations and cards, and leave the removed file as
status: deprecated with a link to the kept one. Log the merge.
uv run <this skill's folder>/scripts/idea_search.py <bank-root> index # embed changed chunks
uv run <this skill's folder>/scripts/idea_search.py <bank-root> search "<text>" --type brick [--rerank]
uv run <this skill's folder>/scripts/idea_search.py <bank-root> like <brick> --other-fields
search fuses EmbeddingGemma 2 vectors (several chunks per file: signature,
gloss, names per field, migrations; card layers and rows) with BM25 and returns
30 candidates. like ranks bricks by signature and shows topic similarity and
shared fields beside it. It starts llama.cpp's llama-server for one command
and stops it after (first index of the author's bank: about a minute on a laptop).
Vectors are cached in <bank-root>/.index/, which is git-ignored derived data.
The list is a shortlist, not an answer. Judge each candidate by structure
before you link or merge it: measured on the author's bank, the correct brick
was in the top 10 for 72% of real links and in the top 30 for 81%. --rerank
reorders the brick shortlist by structure with one fast-tier model call
(Claude Code CLI with Haiku, about $0.002; it needs that CLI): on held-out rows the
right brick came first 53% of the time instead of 39%. Use it when a reader will
look at only the first few rows (bulk mode); a model that reads all 30 does the
same job itself. --graph adds Personalized PageRank over the links; no graph
variant beat plain fusion on held-out rows at this bank size.
uv run <this skill's folder>/scripts/idea_index.py <bank-root> [--json out.json]
uv run <this skill's folder>/scripts/idea_index.py <bank-root> --write # regenerate link views
uv run <this skill's folder>/scripts/idea_index.py <bank-root> --check # exit 1 if views are stale
It is deterministic and offline. It reports:
moves/);tensions in a field the brick has not reached yet;migrate-brick moves (they widen a brick's fields; hot slots count only
substitute-brick);me/known-bricks.md).Gap candidates are a list for judgement, not findings. Open each candidate and judge by structure whether the brick could fill the role in that field before you show it to the owner.
Once a month, or when the owner asks: run the index, then show the owner the convergence
list, the top gap candidates you judged real, and bricks that moved from "seen" to
"owned" in me/known-bricks.md. Callers (idea-scout retro) use this view.
The bank sits inside a git repo (often the repo of a knowledge bundle). After a session that changed bank files:
idea_index.py <bank-root> --write, then
refresh the search cache: idea_search.py <bank-root> index.validate skill, when installed):
uv run <validate skill folder>/scripts/okf_validate.py <bundle-root> --strict.log.md: git -C <repo> add <bank-root> <bundle>/log.md.feat(ideas): add card for <slug>.
Add no AI attribution lines.If the root is not in a git repo, say so once and suggest git init; do not
create a repo yourself.
references/schema.md: every type's frontmatter and body template, the gem
taxonomy, the unpopularity diagnosis and the mutation operators.scripts/idea_search.py: hybrid search; scripts/test_idea_search.py
tests it without a model. The numbers above were measured on the author's bank.scripts/idea_deal.py: deals a hand (bricks, lenses, moves) for idea-forge's
deal mode; scripts/test_idea_deal.py tests it.scripts/idea_index.py: the index; scripts/test_idea_index.py and
scripts/fixtures/ test it.references/schema.md (opens in a new tab)scripts/fixtures/bank/bricks/fixed-basis-transform.md (opens in a new tab)scripts/fixtures/bank/bricks/sparse-overcomplete-code.md (opens in a new tab)scripts/fixtures/bank/cards/gene-programs.md (opens in a new tab)scripts/fixtures/bank/cards/jpeg.md (opens in a new tab)scripts/fixtures/bank/cards/ksvd-2006.md (opens in a new tab)scripts/fixtures/bank/cards/olshausen-field-1996.md (opens in a new tab)scripts/fixtures/bank/cards/sae-features.md (opens in a new tab)scripts/fixtures/bank/cards/sleep-gate.md (opens in a new tab)scripts/fixtures/bank/index.md (opens in a new tab)scripts/fixtures/bank/me/known-bricks.md (opens in a new tab)scripts/fixtures/bank/moves/fixed-to-learned-basis.md (opens in a new tab)scripts/fixtures/bank/moves/learned-basis-ksvd.md (opens in a new tab)scripts/fixtures/bank/moves/sparse-code-to-sae.md (opens in a new tab)scripts/fixtures/bank/readings/261102-sae.md (opens in a new tab)scripts/fixtures/cuts-bank/bricks/compare-to-reference.md (opens in a new tab)scripts/fixtures/cuts-bank/bricks/filter-bad-samples.md (opens in a new tab)scripts/fixtures/cuts-bank/bricks/generate-candidates.md (opens in a new tab)scripts/fixtures/cuts-bank/bricks/score-samples.md (opens in a new tab)scripts/fixtures/cuts-bank/bricks/self-improve-from-own-samples.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/ambitionDo a task, or rewrite a prompt, at a higher level of ambition on seven axes, each with a 0-3 ladder: Altitude (the goal behind the goal), Depth (an expert's raw data, real instruments and an outside judge), Range (methods from other fields), Speed (a clock tight enough to change the method), Reach (the whole class, not the instance), Horizon (lasts and makes the next task cheaper) and Proof (evidence a sceptic accepts). Use when the user says be ambitious, think bigger, aim higher, go deeper, 10x this, what would the best in the field do, or asks to make a prompt more ambitious. Say 'ambition high' for the deep mode (classify, mental models, three approaches, leverage). Not for quick one-liners or mechanical changes./arenaRun a single-elimination tournament of N sub-agents (default 16, --quick for 8, --full for 100) over one task, each with a distinct strategy card (reasoning mode, workflow, strategy), with attack/defend/judge rounds and a post-final learn step. Invoke with /arena when you want competing solutions fought out to one winner.Other plugins' skills for the same job
/co-readRead one paper, journal article, article or social post together with the owner, idea-first instead of verification-first: what the authors believed and intended, the bricks of their recipe by the job each does, the limits of their time, the gems, and what to reuse or change. Two modes: brief (the default: Claude explains, the owner asks) and deep (only after the owner turns on present mode with /idea-present: they do the generative steps, Claude guides, reviews and runs experiments). Use when the owner picks a source to read with them, says 'read this together', 'brief this', 'co-read', 'go deep on this paper', opens a scout card, or asks what the idea behind a source is and what we can build from it. Not for judging whether a study is trustworthy (paper-appraisal), breaking sources into bricks without the owner (idea-mine) or sweeping many sources (idea-scout).npx claudepluginhub samhvw8/thinking-skills --plugin thinking-skills