Octocode Subagentのロゴ

Octocode Subagent

コミュニティ
bgauryy
octocode-subagent

ワーカーを起動したり、作業を委任したりする場合に使います。Task/サブエージェント、専門家への引き継ぎ、A2Aピア、封印パケット、調整・統合、検証手法(ラバーダック、インタビュー、mimic-flow、レッドチーム、ブラインドレビュー、合意形成)、トークン節約のためのローカルOllamaによる単発実行に対応します。継続・破棄を判断するKPIの測定にはoctocode-graph-evalを使ってください。

Add to TypingMind

概要

公開者bgauryy
リポジトリoctocode
スキル名octocode-subagent
スター
950
フォーク
78
同梱ファイル
40
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 40個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Octocode Subagent

Host-agnostic delegation: cloud/host workers or local Ollama offload.
Flows: GATE → DECOMPOSE → ROUTE → PACKET → SPAWN → COORDINATE → SYNTHESIZE → CLEANUP (tool-using) · GATE → ROUTE → RUN → VERIFY → REPORT (Ollama — references/local-ollama.md).

Lobby rules

  1. Spawn only when delegation changes speed, expertise, isolation, or context quality; otherwise keep work in the parent. Default is solo; earn spawn cost first.
  2. One bounded objective per worker; no nested spawning unless the host explicitly allows it.
  3. Workers inherit no parent chat: every packet carries goal, scope, context, authority, constraints, evidence needs, and return shape.
  4. Treat worker output as claims; re-check load-bearing anchors (Ollama: always VERIFY).
  5. Barrier before synthesize — wait/list every live worker (or stop+remove); merge conflicts first; then answer.
  6. Parent owns the user, synthesis, and mutations unless a packet explicitly transfers write ownership.
  7. Pick the smallest capable configured model; declare file ownership before parallel writes.
  8. Challenge techniques use fresh context; agreement is not proof.
  9. Local Ollama is tool-less one-shot/map-reduce only — never a tool-using agent loop. Stop when solo work finishes, two High options need a winner, three angles add nothing, a user/auth gate is pending, or no live workers remain.

Smart routes — load only what the current step needs

  • When deciding solo, batch, specialist, or clean worker, load references/spawn-gate.md — delegation must earn its coordination cost.
  • When splitting work, load references/decompose.md; when choosing supervisor, pipeline, handoff, or swarm load references/patterns.md — create a dependency-aware topology.
  • Before spawning, load references/packets.md; when delegating technical research load references/octocode.md — make worker context and tool routing self-contained.
  • When selecting host model/thinking effort, load references/model-routing.md — smallest capable configured model.
  • When waiting, steering, messaging, or stopping workers, load references/coordinate.md; for independent remote peers load references/a2a.md.
  • When parallel writers share mutable state, load references/workspace.md.
  • When workers stall, fail, or conflict, load references/recovery.md; before final output load references/synthesize.md and references/output.md; at CLEANUP stop and remove every worker and release shared state per references/coordinate.md.
  • When grounding orchestration guidance in sources, load references/references.md.
  • When improving this skill, prefer octocode-graph-eval; otherwise load references/improve-loop.md.

Challenge routes — fresh context per critic; agreement is not proof

  • When quality risk needs a second mind, load references/techniques.md first — it names which technique below earns the spawn.
  • When a plan needs cheap assumption surfacing without new research, load references/rubber-duck.md; when another agent’s claims need claim-by-claim falsification, load references/interview.md.
  • When a worker must follow a borrowed playbook without borrowed chat, load references/mimic-flow.md; when a design looks too clean to ship, load references/red-team.md.
  • When a critic must judge the artifact and not the author’s story, load references/blind-review.md; when one solve stays ambiguous and independent retries can cut noise, load references/consensus.md.

Local Ollama routes — tool-less one-shot / map-reduce offload only

  • When saving tokens with local Ollama (summarize/extract/…), load references/local-ollama.md — not a Task/A2A spawn path.
  • When running that offload loop end to end, load references/workflow.md — health GATE, ROUTE, RUN shards, VERIFY, REPORT what was offloaded.
  • When unsure whether offload beats solo, load references/decision-matrix.md; when the surface is unclear (research, article, code, translate, images), load references/usage-matrix.md.
  • When selecting Ollama tags, load references/model-selection.md; when an installed family needs special flags or two families tie, load references/family-playbooks.md.
  • When writing the sealed packet, load references/packet-contract.md; for the example JSON schemas it references, load references/packet-schemas.md.
  • When inventorying models or debugging CLI behavior, load references/ollama-cli.md; for ollama run flags, non-interactive patterns, and HTTP equivalents load references/ollama-cli-run.md; for script invoke and serving knobs load references/ollama-invoke.md.
  • Before integrating any worker output, load references/verify-gate.md — pass, one tighter packet, one cascade, or solo; never silent-accept.
  • When the question is RAM kits, catalog, or MCP/tools capability rather than routing, load references/ollama-local-models.md — pull commands per RAM in references/ollama-local-models-kits.md, capability rows in references/ollama-local-models-matrix.md, cloud/heavy tags plus a sample inventory in references/ollama-local-models-heavy.md, evidence and links in references/ollama-local-models-sources.md.

Related routes

  • Use octocode-research for worker evidence; octocode-graph-eval to judge worker quality (subagent measurement cookbooks live there).
  • Use octocode-rfc-generator before changing a multi-agent architecture; octocode-prompt-optimizer for packet contracts; octocode-skills when changing this folder.

Scripts

  • Run scripts/ollama-health.sh at GATE, then again with --model "$OLLAMA_WORKER_MODEL" after ROUTE — daemon or tag missing means stay solo.
  • Run scripts/ollama-worker.sh once per sealed packet or shard at RUN — --job, --input, --schema, --out, --keepalive.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

ワーカーを起動したり、作業を委任したりする場合に使います。Task/サブエージェント、専門家への引き継ぎ、A2Aピア、封印パケット、調整・統合、検証手法(ラバーダック、インタビュー、mimic-flow、レッドチーム、ブラインドレビュー、合意形成)、トークン節約のためのローカルOllamaによる単発実行に対応します。継続・破棄を判断するKPIの測定にはoctocode-graph-evalを使ってください。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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