consult

consult is a command for coding agents from arescope/gemini-plugin-cc. It costs 32 tokens per session (234 once invoked), scanned A, original, Apache-2.0.

A command that sends a task to Gemini CLI for a second opinion or delegated work, with optional file-writing access.

In plain words
What is it for?
Consulting Gemini on coding or research tasks, choosing a model or effort level, resuming the last task, or allowing it to write changes.
Why use it?
It gives you another AI assistant's view of a problem and can continue a previous task when a resumable thread exists.

Command

Part of the gemini plugin — 4 skills, 9 commands, 1 agent, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/arescope/gemini-plugin-cc/consult
Clone the repo
git clone --depth 1 https://github.com/arescope/gemini-plugin-cc

Or install gemini, the plugin that ships this one along with the rest of its 4 skills, 9 commands, 1 agent, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for consult

README.md
[![agentmods](https://agentmods.dev/badge/commands/arescope/gemini-plugin-cc/consult.svg)](https://agentmods.dev/commands/arescope/gemini-plugin-cc/consult)
Your own site
<a href="https://agentmods.dev/commands/arescope/gemini-plugin-cc/consult"><img src="https://agentmods.dev/badge/commands/arescope/gemini-plugin-cc/consult.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 234 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.00234
Opus 5 $0.00016 $0.00117
Sonnet 5 $0.00006 $0.00047
Haiku 4.5 $0.00003 $0.00023

Measured 3d ago against content hash ab0c3a617f61, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

consult scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/consult.md · 21 lines

What it actually says

Route this request to the gemini:gemini-consult subagent. The final user-visible response must be Gemini's output verbatim.

Before routing, check whether a previous task thread can be resumed:

node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task-resume-candidate --json

If the result shows resumable: true and the user did not pass --fresh, use AskUserQuestion once to ask whether to continue the previous thread or start fresh. Map the answer to --resume-last or omit it.

Raw user request: $ARGUMENTS

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 21 lines · 32 tokens per session scan A ab0c3a617f61

Subscribe to this mod's changes

consult is a command published in the GitHub repository arescope/gemini-plugin-cc (6 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 234 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.