Arenaのロゴ

Arena

コミュニティ
dsebban
arena

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

概要

公開者dsebban
リポジトリskills
スキル名arena
スター
72
フォーク
6
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Arena

Open a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything.

Phase A: Frame

Every candidate gets the same prompt, so the prompt is the contract.

  1. State the artifact each candidate is producing.
  2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on this task. It is the picker's tool in Phase D. Candidates only see the task.
  3. Pick the runner seats. A seat is an agent, never a model slug, and it must be one OMP can spawn (scout, librarian, reviewer, security-reviewer, task, sonic, poteto-agent, comment-sicko, seance). The default seats are task and reviewer. poteto-agent is a third distinct seat. A caller such as the architect skill (skill://architect) may name its own seats. Each agent's model comes from task.agentModelOverrides and modelRoles in ~/.omp/agent/config.yml, which /skill:setup-pstack (skill://setup-pstack) writes. Model diversity exists only when the operator has configured distinct overrides for the seat agents. Claim that two runners ran on different models only from the resolved-model metadata OMP returns with each result. Never infer it from the agent names. Spawn more runners when the arena covers multiple design directions. Use the same agent N times, each item with its own name, when the work is generation-bound rather than judgment-sensitive. Set each item's effort for the job only when the task schema shows an effort field (task.enableEffort). Otherwise omit it.
  4. Give each candidate its own output location, per the separate-before-serializing-shared-state principle skill (skill://principle-separate-before-serializing-shared-state). Use a git worktree you create with git worktree add where possible, otherwise /tmp/arena-<slug>/candidate-<n>/. When the task schema shows isolated (task.isolation.enabled), you may set it on a runner for its own workspace, and the brief still names the output path to read back. Never depend on isolated being present.

N runners plus the judge must fit within task.maxConcurrency (32 by default) so the runners start together. Runners are leaves. They never call task, which also keeps the tree inside task.maxRecursionDepth (2).

Phase B: Fan out

Start all N runners in one task call. context holds the task, the path to the shared grounding, and the output-path convention. Each item carries name (unique, CamelCase, for example CandidateA), agent (its seat), task, and solutionSpace. The task field has the task, the path to the shared grounding, that runner's own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected. Set solutionSpace to how open the candidate's shape is, and never mention the other runners in it.

json
{
  "context": "Task, grounding at local://arena-grounding.md, outputs under /tmp/arena-<slug>/. Each runner writes only to its own candidate directory.",
  "tasks": [
    {
      "name": "CandidateA",
      "agent": "task",
      "task": "<task, grounding path, output path /tmp/arena-<slug>/candidate-1/, rationale instructions>",
      "solutionSpace": "artifact shape open, task and acceptance fixed"
    },
    {
      "name": "CandidateB",
      "agent": "reviewer",
      "task": "<task, grounding path, output path /tmp/arena-<slug>/candidate-2/, rationale instructions>",
      "solutionSpace": "artifact shape open, task and acceptance fixed"
    }
  ]
}

Results deliver on their own. Read each one at agent://<id> and the full transcript at history://<id>. If a runner is heading the wrong way, correct it with write agent://<id>. Cancel one with write proc://<id>/kill. If a candidate produces no output, proceed with N-1 and note the dropout.

Phase C: Cross-judge

After all Phase B candidates complete, spawn one reviewer item as a read-only judge. It is a separate session from every runner. Prefer an operator override for reviewer that resolves to a different model than the parent's, and verify that against the resolved-model metadata before you say it. The judge sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Freeze the candidates first. Don't spawn it while candidates are still writing, and don't edit a candidate while it judges.

Phase D: Pick a base

Read every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.

Pick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.

Phase E: Graft

Walk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in by hand, per the redesign-from-first-principles principle skill (skill://principle-redesign-from-first-principles), so the result stays coherent under one mental model. Don't paste mechanically.

If the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.

Phase F: Verify

Verify the synthesized artifact like any other output, per the prove-it-works principle skill (skill://principle-prove-it-works). If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it.

Outputs

One synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result. When the arena's value rests on model diversity, the note also records each runner's and the judge's resolved model from the OMP metadata, or says the metadata was not reported.

よくある質問

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

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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