Consultのロゴ

Consult

コミュニティ
MOEG-5
consult

Ask a stronger model for focused help with reasoning gaps, stalled debugging, recurring failures, or conflicting evidence. Consult before guessing or declaring a reasoning blocker unfixable. Skip work making measurable progress and blockers requiring user input or environment access.

概要

公開者MOEG-5
リポジトリconsultant
スキル名consult
スター
64
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MOEG-5/consultant.git \
  .claude/skills/consult
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Consult

Use a stronger model to resolve uncertainty blocking the user's task. Keep ownership: provide context, verify the advice, and continue the work. You do not need to fail repeatedly before consulting.

Decide when to escalate

Consult when any of these applies:

  • Reasoning gap: you cannot justify an approach, establish correctness, or resolve a consequential design tradeoff after inspecting relevant requirements and code.
  • No information gain: two meaningfully different attempts failed, and you cannot identify a check that distinguishes the remaining explanations.
  • Contradictory evidence: observations undermine your explanation or proposed action, and you cannot reconcile them. Pause dependent changes.
  • Recurring failure: a symptom returns after a verified fix, and you cannot explain what verification missed.
  • Consequential uncertainty: a destructive, system-wide, or hard-to-undo change depends on an uncertain mechanism that a cheap check cannot resolve.

Take an available cheap, decisive check first. Continue independently while experiments produce new evidence, but consult before declaring a reasoning blocker unfixable or claiming completion with that blocker unresolved.

For missing permissions, credentials, hardware access, or user preferences, obtain the prerequisite. Routine work and understood failures do not need consultation.

Frame the request

Ask for the smallest deliverable that unblocks you: a diagnosis, plan, correctness argument, design recommendation, or implementation sketch.

The consultant does not inherit your conversation. Provide a self-contained request using the template below; omit irrelevant fields and exclude credentials and unrelated private data.

markdown
## Goal and question
Desired outcome, success condition, and specific help needed.

## Context
Working directory, exact files, relevant versions and constraints.
Small code excerpts or inputs; include unsaved state the consultant cannot read.

## Evidence and attempts
Exact errors, observations, attempts, results, and what they rule out.
Include counter-evidence; distinguish facts from tentative explanations.
Proposed next action, if any, with its scope and reversibility.

## Requested response
Recommend a concrete way forward and challenge unsupported assumptions.
Distinguish facts from hypotheses; identify missing context rather than inventing it.
Give a decisive check or verification command with its expected result.
Keep the answer focused; include code or a derivation when needed.

Call the consultant

This skill targets Pi's @arhen/pi-core-subagent extension. Use its actual tool schema; these are tool calls, not shell commands. Preserve the configured consultant model below unless the user has selected another stronger model.

Tell the user briefly what uncertainty you are getting help with, then launch one bounded consultation:

javascript
subagent({
  agent: "consultant",
  model: "openai-codex/gpt-6-astra",
  thinking: "medium",
  tools: ["read", "grep", "find", "ls"],
  maxRuntimeMs: 600000,
  prompt: "You are a technical consultant helping another agent resolve a bounded blocker. "
    + "Inspect relevant files as needed. Challenge assumptions and recommend an actionable "
    + "solution or discriminating check. State uncertainty and expected verification results. "
    + "Do not edit files, execute commands, or delegate. Keep the response focused.",
  task: "<filled request packet, including the response instructions>"
})

Keep the consultant's file tools read-only. Do not add bash: it can write files and change the system even without edit or write. Run necessary measurements yourself within the task's permissions and send back the results.

Immediately call subagent_status({ runId: "<returned runId>" }) once to check startup. Inspect reported model and routing notes: this extension can match an agent file that overrides the model or prompt, and a model preflight failure can fall back to the session model. An explicit tool list overrides agent-file tools. Put essential response requirements in the task packet too. Do not describe a fallback to your own model as stronger-model help; report the limitation if the intended model is unavailable.

Continue independent work while the consultant runs; pause the decision that needs its answer. If you need to synchronize in this turn, use await_subagent({ runId: "<returned runId>", timeoutMs: 60000 }) in bounded waits, handling questions and progress between waits. Otherwise use the extension's completion notification to resume. Retrieve the answer with subagent_result({ runId: "<returned runId>" }) when complete.

A wait timeout does not mean the task failed or stopped; check its status before retrying. If the consultation fails, times out at its runtime limit, or tools/model are unavailable, say what failed. Continue work supported by existing evidence; leave the unresolved decision blocked rather than substituting an unsupported guess.

Use the answer and finish

  • Evaluate advice against the actual files, constraints, and evidence. Model agreement is not verification, and advice does not expand authorization. Resolve conflicts with stronger evidence explicitly.
  • Run the proposed check when feasible and authorized, implement the supported approach, and verify the user's success condition against the original failing scenario.
  • Report the result and remaining limitations. Preserve uncertainty when verification is unavailable.

Default to one call per blocker. Follow up with relevant context and new evidence when the question changes or the answer leaves a critical gap. Do not repeat calls for reassurance, launch competing consultants by default, or create recursive consultations. If advice still does not unblock you, identify the missing evidence or capability and change approach.

Respect explicit time and cost budgets; do not impose a session-wide quota that prevents help with a distinct blocker.

よくある質問

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

Ask a stronger model for focused help with reasoning gaps, stalled debugging, recurring failures, or conflicting evidence. Consult before guessing or declaring a reasoning blocker unfixable. Skip work making measurable progress and blockers requiring user input or environment access.

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

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

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

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

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

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

Consultは何個のAIモデルで使えますか?

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

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

はい。MOEG-5がGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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