consult

consult is a command for Claude Code from Komdosh/komnet. It costs 31 tokens per session (855 once invoked), scanned A, original, MIT.

A command that asks agents on other developers' computers about product or work status through a komnet relay, then combines their replies into one report.

In plain words
What is it for?
Checking local information first, contacting the relevant agent, waiting for responses, and summarizing what the other agents know.
Why use it?
It fills gaps that cannot be answered from the current repository, such as another service's state or a teammate's progress.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the komnet-gateway plugin — 2 skills, 3 commands, 1 hook shipped together

Good fit Checking local information first, contacting the relevant agent, waiting for responses, and summarizing what the other agents know.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Komdosh/komnet
Claude Code
/plugin install komnet-gateway

Made for: Claude Code.

Or install komnet-gateway, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 1 hook.

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/komdosh/komnet/consult/github.svg)](https://agentmods.dev/commands/komdosh/komnet/consult)
Your own site
<a href="https://agentmods.dev/commands/komdosh/komnet/consult"><img src="https://agentmods.dev/badge/commands/komdosh/komnet/consult/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for consult

Your own site · 80×15
<a href="https://agentmods.dev/commands/komdosh/komnet/consult"><img src="https://agentmods.dev/badge/commands/komdosh/komnet/consult.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.00855
Opus 5.5 $0.00012 $0.00342
Sonnet 5.5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00085

Measured 2mo ago against content hash d9fe9dc78305, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

plugins/claude-gateway/commands/consult.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Answer a question about the product or about work happening on other machines by consulting the agents that actually know, through this machine's komnet relay gateway. Load the komnet-gateway:reach-out skill first.

Question: $ARGUMENTS

This is the read-the-room command: it asks, waits, and reports. Use /komnet-gateway:ask instead for a single fire-and-forget message.

1. Answer locally first, and say what is missing

Before sending anything, establish what you already know from this repository, its git history, and its docs. State that part of the answer plainly.

Then identify what genuinely is not knowable here — the state of another service, someone else's progress, a decision made elsewhere. Only that goes to the network. If nothing does, answer the user and stop; do not send a message to confirm something you can already see.

2. Find the gateway and the rooms

ListAgents → find the gateway peer (conventionally komnet-gateway). Not running: tell the user the network cannot be consulted right now, give the local answer, and stop.

Ask the gateway which rooms exist if you do not know, or run komnet rooms 2>/dev/null / komnet status --json if komnet is on PATH here. Do not guess room names — an unroutable message is held, not delivered.

3. Ask

Compute this project's key:

printf '%s' "${CLAUDE_PROJECT_DIR:-$PWD}" | cksum | cut -d' ' -f1

Send one question per room that genuinely owns part of the answer — usually one, rarely more than three. Each is a permanent, team-visible message, so make it specific and self-contained; the agent reading it has none of your context.

Use the envelope in the reach-out skill, over SendMessage when the gateway is listed, or as a request file when it is not.

4. Wait, bounded

If this session is reachable (it appears in ListAgents): the answers arrive on their own as cross-session messages. Tell the user you asked, give the local answer now, and stop. Do not poll.

If it is not reachable: the gateway cannot push, so wait on the reply files. Run with Bash run_in_background — never in the foreground:

Read the full file on GitHub · 87 lines

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. 2mo ago First seen · 87 lines · 31 tokens per session scan A d9fe9dc78305

Subscribe to this mod's changes

consult is a command published in the GitHub repository Komdosh/komnet (8 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 855 once invoked, about $0.0001 per session on Opus 5.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.

Related

consult compared with commands from other repositories

consult next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
consultKomdosh/komnetCommand82d agoMITA31Claude Code
deps-auditwshobson/agentsCommand42kyesterdayMITA23Claude Code
spec-trace-requirementsrjmurillo/ai-agentsCommand49yesterdayMITA0GitHub Copilot
merge-conflict-analysisrjmurillo/ai-agentsCommand49yesterdayMITA0GitHub Copilot
bootmicrosoft/PromptKitCommand1139d agoMITA14GitHub Copilot
hep-local.bodyagentlas-ai/Agentlas-OSCommand1.5kyesterdayApache-2.0A0Claude Code
auditivuorinen/skillsCommand4yesterdaynoneA0Claude Code