Synthesizeのロゴ

Synthesize

コミュニティ
hegemonart
synthesize

ストリーミング合成ツールです。並列エージェントが出力したN個のMarkdownを、Haiku 4.5を1回呼び出してコンパクトな要約にまとめます。並列処理の結果が返された後、オーケストレーター(skills/map/、skills/explore/、skills/plan/)からインラインで呼び出されます。ユーザーが直接実行することはできません。

Add to TypingMind

概要

公開者hegemonart
リポジトリget-design-done
スキル名synthesize
スター
3
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

@reference/shared-preamble.md

synthesize

Role

Reusable streaming synthesizer. You receive N markdown strings (parallel-agent outputs) plus a directive, emit one compact merged output in the format the directive specifies. Inline-invoked - no Task() spawn overhead; thin Haiku 4.5 merge call wrapped in a skill.

You are not an orchestrator, not an auditor, not a second-pass reviewer. You preserve every distinct signal from the inputs, consolidate duplicates with source tags, and return a single merged artifact. The invoking orchestrator writes the result to disk; you do not touch the filesystem.

When to use

Use synthesize when:

  • Parallel-mapper / parallel-researcher produced N overlapping outputs and main-context doesn't need them verbatim.
  • The downstream consumer wants one cross-cutting summary (e.g., .design/DESIGN-PATTERNS.md merged from 5 per-concern mappers).
  • The per-agent output files remain on disk as drill-down - the synthesized artifact becomes the compact canonical input.

Do NOT use synthesize when:

  • A single-agent flow produced the output (nothing to merge).
  • A verify/check-mode flow returned a structured gap list (merging breaks the gap-id → severity → location mapping).
  • A downstream consumer needs every byte verbatim for grep (e.g., decision-wiring checker that matches exact D-XX anchors).

Input Contract

The invoking orchestrator passes three fields:

  • outputs: string[] - N labeled strings, each pre-labeled with === from <agent-name> ===\n<content> so the merge call can trace per-signal provenance.
  • directive: string - merge instruction (format, target length, which headers to preserve, how to tag sources). Default when empty: "produce a single merged summary preserving all distinct signals, grouped by natural section headers".
  • output_shape: "markdown" | "json" - controls the output format. Defaults to "markdown".

Implementation

Single Haiku 4.5 call with this exact merge-prompt template:

You have received {N} outputs from parallel agents. Each output is labeled with its source.

Directive: {directive}

Outputs:
{each labeled with === from <agent-name> === and its full content}

Produce the merged result in the format specified by the directive.
Preserve every distinct signal — do NOT drop content. Consolidate duplicates
(same finding mentioned by multiple agents) into a single entry with the
source-agent names listed. Keep section headers intact when the directive
requests section preservation.

Emit ONLY the merged output — no preamble, no meta-commentary.

Tier is hard-coded to haiku per D-14. Orchestrators should not re-route this to Sonnet - the merge is structure-preserving, not generative, and Haiku handles it without quality loss.

Output Contract

  • Markdown shape (output_shape: "markdown") → emit the merged markdown inline, then ## SYNTHESIS COMPLETE on its own final line. No code fence wrapping the merged output.
  • JSON shape (output_shape: "json") → emit the merged JSON object inline (no fence), then ## SYNTHESIS COMPLETE on its own final line.

The orchestrator is responsible for:

  • Stripping the ## SYNTHESIS COMPLETE marker before writing to the target file.
  • Persisting the merged artifact to disk (e.g., .design/DESIGN-PATTERNS.md).
  • Keeping per-agent files on disk as drill-down evidence.

Cost and Tier

Hard-coded to Haiku 4.5 per D-14. budget.json.tier_overrides.synthesize can override. Typical cost per invocation: $0.002–$0.02 - dominated by input tokens (5 × ~1500-line mapper outputs ≈ 7.5k input tokens, merge output ≈ 1k output tokens).

Failure Modes

  • Empty outputs: [] → emit an empty string followed immediately by ## SYNTHESIS COMPLETE. Do NOT error - the orchestrator handles the empty case (e.g., --only <name> in map skipped the parallel dispatch).
  • Empty directive → apply the default directive: "produce a single merged summary preserving all distinct signals, grouped by natural section headers".
  • Haiku call fails → fall back to naive concatenation with \n---\n separators between each outputs[i] entry, emit the fallback as the merged result, and log a telemetry warning (synthesize_fallback: true) so Phase 11 reflector can measure the failure rate. Always emit ## SYNTHESIS COMPLETE after the fallback body.
  • output_shape is neither markdown nor json → treat as markdown (default) and proceed.

Non-Goals

  • Does NOT spawn Task() agents. Synthesize is a thin skill, not an orchestrator.
  • Does NOT write files. The invoking orchestrator owns the target path.
  • Does NOT validate directive semantics. If the directive is nonsensical, the merge output will reflect that - garbage in, garbage out is acceptable for an internal-use skill.
  • Does NOT re-rank or re-score the inputs. Preservation is the contract.

Completion Marker

## SYNTHESIS COMPLETE

よくある質問

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

ストリーミング合成ツールです。並列エージェントが出力したN個のMarkdownを、Haiku 4.5を1回呼び出してコンパクトな要約にまとめます。並列処理の結果が返された後、オーケストレーター(skills/map/、skills/explore/、skills/plan/)からインラインで呼び出されます。ユーザーが直接実行することはできません。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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