Experiment Registryのロゴ

Experiment Registry

コミュニティ
jiahao-shao1
experiment-registry

Manage ML experiment lifecycle via structured YAML registry — register, record results, compare runs, track status. Triggers: 'register experiment', 'compare experiments', 'experiment results', 'exp init', 'exp list', '注册实验', '对比实验', '查实验', '哪个实验最好', '记录结果'. Not for training monitoring, checkpoints, or launching jobs.

概要

公開者jiahao-shao1
リポジトリsjh-skills
スキル名experiment-registry
スター
43
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    jiahao-shao1がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Experiment Registry」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jiahao-shao1/sjh-skills/tree/main/skills/experiment-registry
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jiahao-shao1/sjh-skills.git /tmp/sjh-skills
mkdir -p .claude/skills
cp -r /tmp/sjh-skills/skills/experiment-registry .claude/skills/experiment-registry
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでExperiment Registryを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にExperiment Registryを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Experiment Registryは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Experiment Registry

Structured YAML experiment registry for ML research. YAML was chosen over databases or JSON because experiment files should be human-readable, git-diffable, and hand-editable — researchers often need to inspect or tweak entries directly.

Prerequisites

The exp CLI must be installed:

bash
pip install exp-registry

If exp is not found, install it first. If the project has no exp.config.yaml, run exp init before any other command.

How to Think About Experiment Registry

This tool manages the metadata layer of experiments — what was run, with what config, and what results came out. It does NOT manage training code, checkpoints, or logs.

The mental model: each experiment gets a YAML file that serves as its "identity card." Over time, benchmark results accumulate in that file as the experiment progresses through training steps. When it's time to report or decide next steps, you compare across experiments.

Decision Flow

When the user mentions experiments, follow this flow:

  1. Check environment first. Does exp.config.yaml exist? If not, ask if they want to initialize (exp init). Don't silently init — the user should confirm the project root.

  2. Understand intent. Map the user's request to the right action:

    • "New experiment" / "register" → exp register (but first exp list to check for ID conflicts)
    • "What's running" / "experiment status" → exp list (suggest filters if there are many)
    • "Record results" / "add benchmark" → exp add-benchmark (ask for dataset and step if not provided)
    • "Compare" / "which is better" → exp compare (auto-discover shared datasets from exp show)
    • "What happened with exp07" → exp show first, then summarize findings
  3. Be proactive with context. After any operation, offer useful next steps:

    • After registering → "Ready to add benchmarks when results come in"
    • After adding a benchmark → suggest comparing with related experiments if they exist
    • After comparing → highlight the best performer and surface any findings

Smart Comparison

When the user asks "compare experiments" or "which is better," don't just dump the table. First run exp show on each experiment to discover which datasets and eval_modes they share, then run exp compare on those shared dimensions. If experiments have no common benchmarks, tell the user — don't produce an empty comparison silently.

Series Grouping

Experiment IDs like exp07a, exp07b, exp07c automatically group into series exp07. This lets you filter by series to see all variants of one experimental idea. When a user discusses "the exp07 experiments," use exp list --series exp07 to get the full picture.

Command Reference

TaskCommand
Initializeexp init
List allexp list
Filter by statusexp list --status completed
Filter by typeexp list --type rl
Filter by seriesexp list --series exp07
Show detailsexp show <id>
JSON outputexp show <id> --json
Register newexp register <id> --type rl --model Qwen3-VL-8B (auto-records git HEAD; --commit <sha> to override)
Add benchmarkexp add-benchmark <id> --dataset mmlu --eval-mode cot --samples 100 --step 50 --extra acc=0.72
Compareexp compare <id1> <id2> --dataset mmlu
Update statusexp update <id> --status completed
Add findingexp update <id> --finding "key insight"

All list/show/compare commands support --json for machine-readable output.

Typical Workflows

Experiment Lifecycle

register → (train) → add-benchmark at step N → add-benchmark at step M → update status + finding

Example:

  1. exp register exp01 --type rl --model Qwen3-VL-8B --reward reward_tool_strict
  2. (user trains the model)
  3. exp add-benchmark exp01 --dataset zebra-cot --eval-mode agent --samples 50 --step 50 --extra text_only=0.42 with_tools=0.52
  4. exp add-benchmark exp01 --dataset zebra-cot --eval-mode agent --samples 50 --step 90 --extra text_only=0.44 with_tools=0.55
  5. exp update exp01 --status completed --finding "tool use improves reasoning"

Benchmarks are organized by step number within each dataset — this tracks how performance evolves during training, which is critical for deciding when to stop or which checkpoint to use.

Compare for Meeting/Report

bash
exp compare exp07a exp07b exp07c --dataset zebra-cot

Outputs a Markdown table — paste directly into docs or slides.

Project Configuration

exp.config.yaml at project root:

yaml
registry_dir: experiments/           # where YAML files live
paths_template:
  local: outputs/{id}/               # {id} is replaced with experiment ID
defaults:
  type: rl                           # default for `exp register`
types:
  rl:
    fields: [model, config, script, reward]
  sft:
    fields: [model, config, script, base_model]

Config is discovered by walking up from CWD. No config = sensible defaults (registry_dir: experiments/).

YAML Schema

Each experiment is one file in <registry_dir>/<exp_id>.yaml:

Required fields: id, name, type, series, date, status

Auto-generated: series (inferred from ID prefix), paths (from template), date (today)

Structured benchmarks:

yaml
benchmarks:
  - dataset: string
    eval_mode: string
    samples: int
    steps:
      <step_number>: { <metric>: <value>, ... }

Error Recovery

ErrorCauseWhat to Do
"experiment already exists"Duplicate IDexp show <id> to check, use a different ID
"experiment not found"Wrong IDexp list to see available IDs
"No benchmark data found"Wrong dataset in compareexp show <id> to check available datasets
"Missing required fields"Corrupted YAMLInspect and fix the YAML file directly — it's designed to be human-editable

よくある質問

AIスキル「Experiment Registry」では何ができますか?

Manage ML experiment lifecycle via structured YAML registry — register, record results, compare runs, track status. Triggers: 'register experiment', 'compare experiments', 'experiment results', 'exp init', 'exp list', '注册实验', '对比实验', '查实验', '哪个实验最好', '记录结果'. Not for training monitoring, checkpoints, or launching jobs.

TypingMindでExperiment Registryを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Experiment Registryはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにExperiment Registryをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jiahao-shao1/sjh-skills/tree/main/skills/experiment-registryを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Experiment Registryを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Experiment Registryで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもExperiment Registryを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Experiment Registry」は無料ですか?

はい。jiahao-shao1がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇