Consult logo

Consult

Community
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.

Overview

PublisherMOEG-5
Repositoryconsultant
Skill nameconsult
Stars
64
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by MOEG-5 on GitHub. Read the source before you install it.

Installation

Install the Consult AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MOEG-5/consultant/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MOEG-5/consultant.git \
  .claude/skills/consult
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Consult in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Consult on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Consult is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Consult AI skill do?

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.

Why use Consult on TypingMind?

Because you install it once and use it with any model. Consult is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Consult in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MOEG-5/consultant/tree/main. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Consult?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Consult?

As many as you like. As long as a model supports skills, you can use Consult with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Consult AI skill free?

Yes. It is published on GitHub by MOEG-5 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇