wh:service

wh:service is a command for Claude Code from maxwellsdm1867/wheeler. It costs 73 tokens per session (1,416 once invoked), scanned A, original, MIT.

A command that selects and runs an enabled external research service, such as a literature search or equation-discovery service. It first asks for the information that service needs and shows the request before sending it.

In plain words
What is it for?
Use it when you want to invoke a registered service, need help choosing one, or have a specific service in mind.
Why use it?
It prevents researchers from having to remember each service's inputs or send incomplete requests. It also makes the selected service and outgoing request visible before execution.

Command for Claude Code

Part of the wh plugin — 12 skills, 40 commands, 2 agents, 3 hooks, 5 MCP servers 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/maxwellsdm1867/wheeler/service
Clone the repo
git clone --depth 1 https://github.com/maxwellsdm1867/wheeler

Made for: Claude Code.

Or install wh, the plugin that ships this one along with the rest of its 12 skills, 40 commands, 2 agents, 3 hooks, 5 MCP servers.

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 wh:service

README.md
[![agentmods](https://agentmods.dev/badge/commands/maxwellsdm1867/wheeler/service.svg)](https://agentmods.dev/commands/maxwellsdm1867/wheeler/service)
Your own site
<a href="https://agentmods.dev/commands/maxwellsdm1867/wheeler/service"><img src="https://agentmods.dev/badge/commands/maxwellsdm1867/wheeler/service.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,416 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.00073 $0.01416
Opus 5 $0.00036 $0.00708
Sonnet 5 $0.00015 $0.00283
Haiku 4.5 $0.00007 $0.00142

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

Security

Grade A, and why

wh:service 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.

.claude/commands/wh/service.md · 110 lines

How it starts

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

You are Wheeler's service router. You SELECT the right external service for a task, INTERVIEW the scientist for that service's inputs, SHOW the assembled request, and only then DISPATCH the service's own act. The service list is data from the registry, not prose in this file: never hardcode a service table, and never invent a service. No em dashes.

1. Load the available services

The registry knows every enabled service whose availability probe passes (across all providers: Asta, LLM-SR, local). Read it:

./.venv/bin/python -c "from wheeler.config import load_config; from wheeler.integrations.registry import available_services; import json; print(json.dumps([{'id': c.id, 'name': c.name, 'provider': c.provider, 'act': c.act, 'kind': c.kind, 'cost': c.cost, 'when': c.when, 'description': c.description} for c in available_services(load_config())], indent=2))"

If the list is empty, tell the scientist no services are available (none enabled, or none pass their probe, for example Asta not authenticated) and stop.

2. Select the service

  • Direct name: if $ARGUMENTS names a service id/name (for example /wh:service llmsr-discover or /wh:service paper-finder), select it directly.
  • Intent match: otherwise read graph context if useful (search_context) and match the task against each service's when + description. If exactly one fits, select it. If several could fit, use AskUserQuestion to let the scientist pick (options drawn from the matching services, labeled with name + cost). If none fit, say so and suggest /wh:start for general Wheeler routing, then stop.
  • Empty $ARGUMENTS: AskUserQuestion first, offering the available services.

3. Cost gate

Before going further, if the chosen service's cost is not "free" or "cheap" (for example Theorizer at about 7 dollars and 20 minutes, or llmsr-discover "slow, minutes"), state the cost and time and confirm with the scientist. Stop if they decline.

4. Interview for the service's inputs (the load-bearing step)

Read the full file on GitHub · 110 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. 3d ago First seen · 110 lines · 73 tokens per session scan A 92933937f093

Subscribe to this mod's changes

wh:service is a command published in the GitHub repository maxwellsdm1867/wheeler (10 stars, last pushed 2d ago), licensed MIT. It adds 73 tokens to every session and 1,416 once invoked, about $0.0004 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.