/insight-blueprint:knowledge-extract [design_id]from insight-blueprint
Extracts reusable, source-scoped domain knowledge from a concluded analysis and persists it to the data catalog. Claude reads the design's journal / reflection / review comments, proposes DomainKnowledgeEntry candidates, and — after user confirmation — writes them via catalog_io add-knowledge. Triggers: "知見を抽出", "ナレッジ登録", "knowledge extract", "カタログに知見", "この分析の学びを残す", "extract domain knowledge".
Ships in insight-blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turns the learnings of a concluded analysis into reusable, source-scoped
domain knowledge in the catalog. Claude is the extractor: it reads the design's
analysis artifacts and proposes structured entries; the library only validates and
persists. Replaces the old regex-based extract_domain_knowledge (removed with the
MCP server in E4).
Source-scoped, not design-scoped. A knowledge entry answers "what should anyone
know about this data source?" — e.g. "population column is null before 2019". It
must attach to a registered source (catalog_io add-knowledge rejects unknown
sources). Analytical conclusions ("hypothesis X is supported") are NOT knowledge —
they live in reflection.
design_io get --id {design_id} — load the design.insight/designs/{design_id}_journal.yaml (Read tool) — evidence, decisionsdesign_io list-reviews --id {design_id} — review comments (if any)Knowledge is source-scoped, so decide which registered source each learning attaches to.
catalog_io get --id {source_id}
(empty → not registered → suggest /catalog-register first, or pick another source).Read the artifacts and synthesize candidate entries. For each, decide:
| Field | How to fill |
|---|---|
key | short stable slug, unique per source (e.g. pop-null-pre-2019) — re-running upserts by this key |
title | one-line label |
content | the reusable fact, stated so it helps a future analyst of this source |
category | open string (E5c). Prefer a conventional value — methodology / caution / definition / context — or a domain-specific one (data-quality, regulatory, …). Never finding (findings stay in reflection) |
importance | high / medium (default) / low |
affects_columns | column names this touches (optional) |
source | provenance — set to the originating design_id |
Only extract facts about the data source. Skip anything that is really a conclusion about the hypothesis — that belongs in reflection.
Present the candidates as a table (key / category / importance / content) and let the user drop, edit, or add. Do not persist unconfirmed entries.
Pipe the confirmed entries to add-knowledge (upsert by key):
echo '{
"entries": [
{
"key": "pop-null-pre-2019",
"title": "人口は2019年以前が欠損",
"content": "population 列は2019年以前が欠損。時系列分析では起点を2019に。",
"category": "caution",
"importance": "high",
"affects_columns": ["population"],
"source": "{design_id}"
}
]
}' | catalog_io add-knowledge --id {source_id}
Show the returned container and confirm. Verify with
catalog_io get-knowledge --id {source_id}.
catalog_io <command> (available on PATH via the plugin):
| Command | Purpose | Input |
|---|---|---|
get --id ID | Confirm the source is registered | — |
add-knowledge --id ID | Append/upsert knowledge entries (validates, atomic write) | stdin: {entries:[{key,title,content,category,importance?,affects_columns?,source?}]} |
get-knowledge --id ID [--category C] | Read back knowledge | — |
Validation runs inside catalog_io (DomainKnowledgeEntry model) before writing;
invalid input exits non-zero with nothing written. Unknown source → error.
| From | To | When |
|---|---|---|
| /analysis-reflection | → /knowledge-extract | Conclusion produced reusable source knowledge |
| /catalog-register | → /knowledge-extract | Source registered; now capture what's known about it |
| /knowledge-extract | → /analysis-reflection | The learning is really a conclusion, not source knowledge |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/analysis-autoGuided autopilot and the analyst's single entry. Takes a theme, builds its question tree
(or resumes at the node the latest tree decision names) and walks the tree one decision per round:
design → review → premortem → notebook → journal → reflection → theme reflection →
tree decision. A decision that names several nodes hands their designs over together, after
one check of all of them. Progresses automatically through low-friction steps and
pauses only at genuine decision points (root question and aim, the node to investigate,
intent and the question to explore or the hypothesis, the designs to hand over together,
what a handed-over analysis cannot go on without changing, source registration, cost/risk, code with external effects, conclusion, the results
the theme's answers rest on, the tree decision, sending anything outside this machine).
Triggers: "オートで進めて", "自動で分析を回して", "autopilot", "guided auto",
"最後まで進めて", "analysis auto", "論点を順に調べて".
/analysis-designGuides Claude through creating analysis design documents for hypothesis-driven EDA:
an exploration (a question to measure) or a confirmation (a hypothesis to judge).
Use when the user wants to create, manage, or review analysis designs.
Triggers: "create analysis design", "hypothesis document", "new hypothesis",
"分析設計を作りたい", "仮説を立てたい", "新しい仮説", "仮説ドキュメント".
npx claudepluginhub etoyama/insight-blueprint-skills --plugin insight-blueprint