insight-blueprint

A Claude Code skills plugin for hypothesis-driven EDA. Analysis designs, journals,
reviews, and the data catalog live as YAML under .insight/; skills read and write them
directly. Integrity is enforced by an embedded validation library (validate.py) plus
a pre-write hook — no server, no daemon, no SQLite. See
docs/ARCHITECTURE.md and docs/PRD.md.
Quickstart
Prerequisites: Claude Code, uv,
and Python 3.11+. The skills shell out to uv run …, which resolves the Python dependencies
automatically — there is nothing to pip install.
- Install the plugin. In Claude Code, register this repo as a marketplace and install:
/plugin marketplace add etoyama/insight-blueprint-skills
/plugin install insight-blueprint@insight-blueprint-marketplace
- Register a data source in your analysis project. The analysis reads only sources
registered in the catalog:
/catalog-register # register a CSV file, a database table, ...
- Start the analysis. Either let
/analysis-auto walk you through a theme, pausing only at
genuine decisions:
/analysis-auto # single entry: builds the question tree and investigates it node by node
or run the steps yourself:
/analysis-framing # explore your data & frame a direction
/analysis-design # turn it into a hypothesis design document
/analysis-notebook # generate & run the notebook, record the results to the journal
/analysis-journal # record reasoning as you investigate
/analysis-reflection # conclude (or branch) the hypothesis
/report-export # export the theme's final report to Claude Docs (asks before sending)
/knowledge-extract # save reusable, source-scoped knowledge
There is nothing to launch — skills read and write YAML under .insight/ in your project
(created on first use). Writes to design documents are validated automatically by a pre-write hook.
Installation
Claude Code plugin (recommended)
In Claude Code, add this repository as a plugin marketplace and install from it:
/plugin marketplace add etoyama/insight-blueprint-skills
/plugin install insight-blueprint@insight-blueprint-marketplace
Here insight-blueprint is the plugin name and insight-blueprint-marketplace is the
marketplace defined in .claude-plugin/marketplace.json.
The marketplace installs the latest release tag, not the tip of main.
Local clone (for development)
git clone https://github.com/etoyama/insight-blueprint-skills.git
claude --plugin-dir ./insight-blueprint-skills
--plugin-dir loads the plugin for the current session only. Add a shell alias to make it stick:
alias claude-ib='claude --plugin-dir /path/to/insight-blueprint-skills'
What the plugin brings with it
You do not need to install anything for the skills to work. The plugin is
self-contained: its bundled uv environment provides insight_blueprint (models,
validation, lineage) and /analysis-notebook runs pandas/matplotlib/numpy through that same
environment (--extra notebook). See ADR-0006.
See CHANGELOG.md for release notes.
Upgrading
Read the CHANGELOG entry of every version you skip. Changes that need action
on your side are spelled out there. For example, from 0.17.0 a notebook is a plain Python
script cut into # %% <name> cells: the analysis note shows no code for a notebook written
before 0.17.0 until you run /analysis-notebook again.
How it works
- Skills (
skills/) drive the workflow and read/write .insight/ YAML via small
server-free helpers (skills/_shared/design_io.py, catalog_io.py).
- Validation is centralized in
src/insight_blueprint/validate.py (Pydantic schema +
state-transition guard). A pre-write hook (hooks/validate-design.py, shipped with the
plugin via hooks/hooks.json) calls
the same library to block invalid writes to *_hypothesis.yaml and *_tree.yaml.
- Lineage (
src/insight_blueprint/lineage/) records DataFrame transformations and
exports Mermaid diagrams.
Skills