/insight-blueprint:analysis-journal [design_id]from insight-blueprint
Records reasoning steps during hypothesis-driven analysis as an Insight Journal. Supports observation logging, evidence tracking, method decisions, question management, and hypothesis branching. Journal data is stored as YAML alongside design files. Triggers: "journal", "記録して", "ジャーナル", "推論を残す", "分析ログ", "分析の経緯", "なぜこの結論に至ったか記録", "evidence log".
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.
Records the reasoning process behind an analysis design as a structured event journal. Each event captures a discrete reasoning step — observation, hypothesis, evidence, question, decision, reflection, conclusion, or branch.
Based on Narrative Scaffolding (Huang+ IUI 2026) and Sensemaking Loop (Pirolli & Card) frameworks.
If $ARGUMENTS contains a design ID (e.g., "FP-H01"), use it directly.
Otherwise, run design_io list --status analyzing
and ask the user to select.
Validate with design_io get --id {design_id}
(empty {} output means not found).
Read .insight/designs/{design_id}_journal.yaml using the Read tool.
metadata:
design_id: "{design_id}"
created_at: "{now in ISO 8601 JST}"
updated_at: "{now in ISO 8601 JST}"
events: []
Listen to user input and classify into InsightType:
| User says... | InsightType | Example content |
|---|---|---|
| データを見たら〜 / 〜が見えた / 〜に気づいた | observe | "2026年1月以降、売上が前年比15%低下" |
| 〜だと思う / 仮説: / 〜が原因では | hypothesize | "価格改定(+8%)が売上低下の主因" |
| 〜で確認した / データが示す / 〜のエビデンス | evidence | "回帰分析でp<0.01の有意な負の相関" |
| 〜が気になる / 〜を調べたい / なぜ〜 | question | "季節要因を除外できているか?" |
| 〜さんに聞いたら / 担当者によると / ヒアリングで | hearing | "金曜に確保した本は月曜にまとめて通知している(予約担当)" |
| 〜を使う / 〜で分析する / 手法: | decide | "CausalImpact で因果効果を推定する" |
| 振り返ると / 見直すと / 反省点 | reflect | "初期の相関分析では交絡が未考慮だった" |
| 結論: / まとめると / 〜と言える | conclude | "価格改定は売上低下の主因と確認" |
| 別の仮説 / 分岐したい / fork | branch | → Step 4 (Branch Workflow) |
For each event, construct and append to the journal YAML:
- id: "{design_id}-E{nn:02d}" # Sequential within journal
type: "{insight_type}"
content: "{user's description}"
evidence_refs: [] # Ask: "関連するデータソースID or ナレッジIDはある?"
parent_event_id: null # Ask: "どのイベントから派生した?" (show recent events)
metadata: {} # Type-specific (see Metadata Convention below)
created_at: "{now in ISO 8601 JST}"
Update metadata.updated_at in journal file header.
Efficiency rule: Don't ask for evidence_refs and parent_event_id on every event.
Ask only when the user's statement implies a connection. Default to empty/null.
When the analyst wants to look again in a design derived from this one:
parent_id set to the source's id, the source's theme_id, and
the answer of step 1 as the draft. It asks the intent first, writes a question to explore
or a hypothesis to confirm with its own background, and fixes the criterion of a
confirmation before the new analysis
(ADR-0048).
Never create the design here with design_io create: it would default to confirmatory
without a criterion, and an exploration has no hypothesis_background to carry over.id that /analysis-design
returned:
tree_io link-derived --theme LIB --design LIB-H02
--theme is the source's theme_id.node_ids in the output are those nodes. Tell the
analyst which nodes the design now sits on. Do not ask which node to link.node_ids means the source is on no node, or the theme has no tree. Nothing
was linked; go on. Say that the design is on no node of a question tree and that
/analysis-framing {theme_id} can place it.tree_io link or tree_io add-node here, and never write the tree file. A
derived design that answers another question is placed by /analysis-framing.branch event in source journal:
- id: "{source_id}-E{nn}"
type: branch
content: "分岐: {new_design_id} — {new_title}"
metadata:
new_design_id: "{new_design_id}"
reason: "{why branching}"
hypothesize event. When /analysis-design already started
it (a hearing event copied from the node), append the event instead:
metadata:
design_id: "{new_design_id}"
created_at: "{now}"
updated_at: "{now}"
events:
- id: "{new_id}-E01"
type: hypothesize
content: "{the new design's hypothesis_statement or exploration_question}"
metadata:
forked_from: "{source_design_id}"
created_at: "{now}"
When user is done recording, show:
── Journal Summary: {design_id} ──
Phase: {inferred_phase}
Events: {total} ({observe}obs / {hypothesize}hyp / {evidence}evi / {hearing}hear / {question}q / {decide}dec / {reflect}ref / {conclude}con)
Open questions: {count}
- {question_content} ({event_id})
Branches: {list of child design IDs}
Latest decision: {method} ({package})
Next: /analysis-reflection {design_id} で振り返りと結論導出
| type | When to use | metadata fields |
|---|---|---|
observe | Raw data observation, pattern noticed | — |
hypothesize | Hypothesis formed or refined | {forked_from?: design_id} |
evidence | Evidence found from data analysis | {direction?: "supports" | "contradicts"} — the lean against hypothesis_statement; an exploration's evidence has no direction |
hearing | What a person answered when asked | {answered_by: str, answered_at: "YYYY-MM-DD", ask?: str, node_id?: str} |
question | New question or uncertainty raised | {priority?: "high" | "medium" | "low"}; a confirmation a handed-over analysis asks of the analyst holds asks_analyst: true, written by design_io ask-analyst |
decide | Method, tool, or approach chosen | {method: str, package?: str, reason?: str}; the analyst's answer to a confirmation holds answers: event_id, written by design_io answer-analyst; the reason an analysis was stopped holds stopped: true, written by design_io stop; the reason a result is not used yet holds not_used_yet: true, written by design_io not-used-yet |
methodology への昇格: decide イベントで記録した method/package は、analysis-design の methodology フィールドに昇格できる。
design_io update --id {design_id}に{"methodology": {method, package, reason}}を渡す。
| reflect | Meta-level thinking about the analysis | — |
| conclude | Conclusion drawn from evidence | {resolves?: event_id \| [event_id]} |
| branch | Fork to alternative hypothesis | {new_design_id: str, reason?: str} |
direction:
directionsays whether the evidence supports or contradicts the design's hypothesis (hypothesis_statement), so it exists only for a design of the confirmation form. An exploration answers its question without an expectation, so leavedirectionout of its evidence, an exploration saved with a hypothesis included (ADR-0050). A guess formed during an exploration is ahypothesizeevent, not adirection: record the guess in its own words, and test it with a confirmation later.
marks of a handed-over analysis: never write
asks_analyst,answers,stoppedornot_used_yetby hand, in this skill or any other. They decide the stage of the analysis (waiting for the analyst, running again, stopped, not used yet), so onlydesign_io ask-analyst,design_io answer-analyst,design_io stopanddesign_io not-used-yetwrite them, after checking the stage allows it. The pre-write hook refuses a Write or Edit of a journal that adds, removes or changes an event holding one of them; events without them are free (ADR-0067, ADR-0064). A stopped analysis is not resumed: derive another design (Step 4). The hook keeps the mark, not what it does: any event but a hearing written after anot_used_yetmark is read as a new result, and the analysis goes back to waiting for its reflection.
hearing: a
hearingevent is what a person said, not anobserveof the data and notevidencefrom an analysis. Ask who answered and when, and keep the answer in their words.tree_io copy-hearingwrites one when a design is made on a question node whose next candidate holds a heard answer; it addsaskandnode_id(ADR-0028).
The current phase is inferred from the latest event type:
| Latest event type | Inferred phase |
|---|---|
observe, hypothesize | Narrative Development |
evidence, hearing, question, decide | Investigation |
reflect | Reflection |
conclude, branch | Integration |
.insight/designs/{design_id}_journal.yaml
This file is skill-managed data (see the YAML Format Reference in analysis-design
SKILL.md). design_io exposes load_journal / write_journal thin wrappers, but
direct Read/Write of this file is also fine.
List designs via design_io list (JSON), then filter by parent_id / theme_id:
designs = json(`design_io list`) # list[dict]
siblings = [d for d in designs if d["parent_id"] == target["parent_id"] and d["id"] != target["id"]]
roots = [d for d in designs if d["parent_id"] is None]
# Recursively build children from parent_id references
A question event is considered open if no conclude event references it via
metadata.resolves. metadata.resolves holds one event id or a list of event ids
(/analysis-reflection writes a list). A confirmation a handed-over analysis asked
(asks_analyst) that a decide event names in answers is not open either: the analyst's
answer settled it. To list open questions:
questions = [e for e in events if e.type == "question"]
resolved_ids = set()
for e in events:
if e.type == "conclude" and e.metadata.get("resolves"):
r = e.metadata["resolves"]
resolved_ids |= set(r) if isinstance(r, list) else {r}
answered_ids = {e.metadata["answers"] for e in events
if e.type == "decide" and e.metadata.get("answers")}
open_questions = [
q for q in questions
if q.id not in resolved_ids
and not (q.metadata.get("asks_analyst") and q.id in answered_ids)
]
design_io <command> (available on PATH via the plugin):
| Command | Used for |
|---|---|
get --id ID | Load target design |
list [--status S] | Find designs for tree/sibling queries (filter by parent_id/theme_id in the JSON) |
tree_io <command> (available on PATH via the plugin):
| Command | Used for |
|---|---|
tree_io link-derived --theme T --design ID | Branch workflow (link the child design to the nodes of its source) |
| Situation | Action |
|---|---|
| Design not found | Show error, suggest design_io list |
| Journal file corrupted | Backup corrupt file, reinitialize |
| Event ID conflict | Re-scan existing IDs and use max+1 |
| From | To | When |
|---|---|---|
| /analysis-design | → /analysis-journal | After design creation: "推論過程を記録するなら /analysis-journal {id}" |
| /analysis-review | → /analysis-journal | Design approved (analyzing): "分析を始めるなら /analysis-journal {id}" |
| /analysis-notebook | → /analysis-journal | Notebook を実行後に手動の推論を追記 |
| /analysis-journal | → /analysis-reflection | Evidence gathered: "振り返りと結論は /analysis-reflection {id}" |
| /analysis-journal | → /analysis-design | Branch: "派生の分析設計は /analysis-design(parent_id に {design_id})" |
| /analysis-journal | → /analysis-journal | After branch: "分岐先のジャーナル: /analysis-journal {new_id}" |
| /analysis-reflection | → /analysis-journal | Need more evidence: "追加調査は /analysis-journal {id}" |
| /data-lineage | → /analysis-journal | Lineage diagram generated: "リネージ結果を証拠として記録するなら /analysis-journal {id}" |
| /analysis-revision | → /analysis-journal | Need to investigate before fixing: "調査してから修正するなら /analysis-journal {id}" |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub etoyama/insight-blueprint-skills --plugin insight-blueprint15 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",
"分析設計を作りたい", "仮説を立てたい", "新しい仮説", "仮説ドキュメント".
/analysis-framingExplores existing data and analyses to help frame a question to explore or a hypothesis to confirm.
Triggers: "framing", "何を分析する", "分析テーマ", "仮説を考えたい",
"データを探して", "既存分析を確認", "analysis framing".
/analysis-notebookGenerates a notebook (a plain Python script) from an analysis design's methodology, runs it,
and records the results to the Insight Journal. Turns a reviewed/approved design into an
executed, lineage-tracked analysis. Fills the design→analysis step (successor to the
removed batch-analysis, now interactive).
Triggers: "notebook を作って分析", "分析を実行", "ノートブック生成", "run analysis",
"generate notebook", "分析ノートブック".
/analysis-reflectionGuides structured reflection on an analysis design using its Insight Journal.
Helps say what the results tell, check the open questions, and decide how the design ends:
a verdict for a confirmation, `explored` for an exploration, or a derived design.
Given a theme, writes the current answer of each node of its question tree across the
designs of the theme, citing journal events, and checks it before the analyst sees it.
Triggers: "振り返り", "reflection", "まとめ", "結論を出す", "分析を振り返る",
"この仮説どうなった", "wrap up analysis", "テーマの振り返り", "現時点の答え".
/analysis-reviewProduces a structured review of an analysis design and records it as a review batch.
Claude critiques the design (question or hypothesis, methodology, metrics, confounders, charts)
and, after the analysis, the result (notebook, verdict, figures),
the user confirms the comments, and they are written via design_io review-batch with a
post-review status — feeding /analysis-revision. The producer side of the review loop
(there is no web UI).
Triggers: "レビューして", "design をレビュー", "批評して", "review this design",
"review design", "レビュー依頼".