Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

explore-experiment

БесплатноБез исполняемых скриптовНе проверен

Open-ended, Claude-driven exploration of a completed experiment — you decide per-experiment which figures matter and what the results mean. Optional and…

niznik-devот niznik-dev★ 15 звёзд на GitHub

Об этом скилле

Explore Experiment

You are Claude, exploring a completed experiment. You decide — for this specific experiment — which figures are worth making and what the results mean. There is no fixed plot menu: the value of this step is your per-experiment judgment, not a deterministic pipeline.

The artifact you produce is "Claude's Exploration" — a deliberately non-deterministic record of what you looked at and concluded this time. The human usually does not intervene while you work, so the name is honest about what this is: your exploration, not a reproducible deterministic report. To keep it auditable anyway (Principle #1: Scientific), you log what you did.

The summarize / explore boundary

summarize-experiment is the required, script-driven, deterministic backbone — the always-correct facts that hold for every experiment (run status, loss, accuracy with CIs, provenance including eval-set class balance, and the structure-free cross-cell fact of saturation). Read its summary.md first.

If something is meaningful for every experiment, it belongs to summarize. Everything else is yours.

You interpret the facts summarize establishes — which figures matter here, what the results mean, what to do next. You do not recompute the backbone.

Your Task

  1. Read summary.md (from summarize-experiment) and experiment_summary.yaml — understand the question / hypothesis and the deterministic facts summarize already established.
  2. Decide what, if anything, is worth visualizing for this experiment (see "Choose what to show" — it is a toolkit, not a checklist).
  3. Interpret the results to the bar in "Interpret — clear the bar."
  4. Write "Claude's Exploration" (exploration/report.md) and an audit log (logs/explore-experiment.log).

Prerequisites

  • experiment_summary.yaml exists (from design-experiment)
  • Evaluations complete (from run-experiment)
  • Plotting toolkit installed — inspect-viz, matplotlib, seaborn, plotly are all bundled by pip install -e .
  • Conda environment activated (from claude.local.md)
  • Optional: playwright for PNG export (pip install playwright && playwright install chromium)

Dependency version check

Run before proceeding to catch stale envs (user pulled new pins but didn't re-run pip install -e .):

python scripts/check_env.py
  • Exit 0: proceed.
  • Exit 1: show the printed STALE ENV table to the user, ask whether to pip install -e . first or continue anyway.

Workflow

1. Locate Experiment → parsing.md

Find experiment directory and parse experiment_summary.yaml for:

  • Experimental variables (model, task, factors)
  • Run structure and naming conventions
  • Evaluation matrix

See parsing.md for:

  • How to find the experiment directory
  • YAML parsing logic
  • Extracting variable types for inference

2. Load Evaluation Logs → data_loading.md

Use helper functions from src/tools/inspect/viz_helpers.py:

  • deduplicate_eval_files() - Remove duplicate evals (keeps most recent per model+epoch)
  • evals_df_prep() - Prepare eval-level dataframes
  • parse_eval_metadata() - Extract epoch/is_finetuned/source_model from JSON metadata
  • detect_metrics() - Dynamically detect available score columns

See data_loading.md for:

  • Automatic deduplication of re-run evaluations
  • Generic metadata extraction using vis_label and JSON metadata
  • How to construct subdirs list from experiment_summary.yaml
  • Preparing data for each view type

3. Choose what to show — a toolkit, not a menu

There is no fixed plot menu. Decide what, if anything, is worth showing for this experiment. Generating zero plots is a valid outcome if summary.md already tells the story; so is a bespoke figure no pre-built view covers. But when a result has any shape worth seeing, lean toward showing it — a figure the reader can scan beats a sentence describing one, and a near-empty report under-serves them. Err toward the figure when in doubt. Two craft habits worth applying as you choose (detail in generation.md → "Figure craft"): prefer a figure that shows the mechanism — the raw quantity the metrics are computed from — over one that re-expresses a metric you already have; and use color to carry a dimension (map an ordinal axis to a sequential colormap) rather than defaulting to the sparest palette.

The environment ships four plotting tools — peers chosen by fit, not a ranking:

Tool Reach for it when… Output
inspect-viz a pre-built eval view fits as-is (scores by task / model / factor, heatmap, radar) interactive HTML
matplotlib you want full control of a static figure (already how the ROC / calibration / histogram overlays are built) PNG
seaborn statistical cuts with good defaults — distributions, regressions, annotated heatmaps PNG (matplotlib-backed)
plotly you want custom interactivity a pre-built inspect-viz view can't give int
Полный SKILL.md на GitHub

Установить explore-experiment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

data_loading.mdgeneration.mdlogging.mdparsing.md

FAQ

Что делает скилл explore-experiment?

Open-ended, Claude-driven exploration of a completed experiment — you decide per-experiment which figures matter and what the results mean. Optional and runnable any time after run-experiment (summarize-experiment is the required post-run step). Produces "Claude's Exploration": a non-deterministic report of what you examined and concluded, with an audit log.

Как установить скилл explore-experiment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл explore-experiment запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить explore-experiment с