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.
/plugin marketplace add xzawed/claude-grok-build-plugin/plugin install grokWrote 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.
[](https://agentmods.dev/skills/xzawed/claude-grok-build-plugin/grok-routing)<a href="https://agentmods.dev/skills/xzawed/claude-grok-build-plugin/grok-routing"><img src="https://agentmods.dev/badge/skills/xzawed/claude-grok-build-plugin/grok-routing/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.
<a href="https://agentmods.dev/skills/xzawed/claude-grok-build-plugin/grok-routing"><img src="https://agentmods.dev/badge/skills/xzawed/claude-grok-build-plugin/grok-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01264 |
| Opus 5 | $0.00032 | $0.00632 |
| Sonnet 5 | $0.00013 | $0.00253 |
| Haiku 4.5 | $0.00006 | $0.00126 |
Grade A, and why
grok-routing 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grok routing (Claude orchestrates, Grok executes)
You are in a session where the grok plugin can run Grok Build via MCP. Product goal: help the user use Grok well, feel Grok’s strength, and enjoy Claude ↔ Grok collaboration — not replace Claude.
Default posture
When a task is a good fit for Grok, propose delegation first (brief why + tool), then run it if the user agrees or already asked to use Grok. Do not dump every coding task on Grok.
Delegate to Grok when
| Fit | Examples |
|---|---|
| Bulk / repetitive | Same pattern across many files, renames, import fixes |
| Low-risk volume | Test backfill, docs sync, boilerplate CRUD/DTO/scaffold |
| Narrow independent scope | Single module, clear acceptance criteria, little monorepo coupling |
| Exploratory prototype | Try an approach fast; user will review |
Tools (prefer this order):
- Route first (no side effects):
grok_build_routeor/grok:route— readnextAction(handle_with_claude|call_mcp_tool+ tool/flags). Do not re-derive the plan. - If
nextAction.requiresHumanGateBeforeDelegate: plan (grok_build_plan//grok:plan) then wait for approval before any edit tool. - Execute:
grok_build_delegate//grok:delegateor verify/grok:verifyasnextAction.toolsays. - Review gate:
/grok:review— diff +billing; never auto-commit. - Multi-turn:
/grok:resumeusingusage.lastSession.sessionIdor the last result’ssessionId. - Presets:
/grok:tests,/grok:migrate,/grok:boilerplate - Auth / ready:
grok_build_status(orgrok_auth_check) or/grok:setup. If status reportsbillingMismatch, stop and warn that the server is in subscription mode while past delegations were recorded as metered — checkGROK_BUILD_AUTH_MODEbefore delegating anything.
Always pass absolute cwd. Prefer English prompts for the prompt field.
Do not make coding edits through grok_cli / /grok:cli. Passthrough runs are not
gated by the pre-delegate auth hook and are not recorded in delegation history, so the
edit has no provenance. /grok:cli stays the escape hatch for non-editing subcommands
(models, sessions, memory, …); use grok_build_delegate / grok_build_verify for
anything that changes files.
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.
- 5d ago Changed f00312073cdb
- 7d ago Changed · +2 lines cf3a0d2bec43
- 12d ago First seen · 91 lines · 64 tokens per session scan A ffe11574eba9
grok-routing is a skill published in the GitHub repository xzawed/claude-grok-build-plugin (1 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 1,264 once invoked, about $0.0003 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.
Other skills, from other repositories
procoder
Work like a senior developer in a repository governed by procoder: run the commit gate before calling anything done, format and lint through the binary, and drive the spec, plan, todo, backlog, and sprint chain in .procoder/. Use this skill when the repository contains a .procoder/ directory or an AGENTS.md naming…
explain
Guided code tour of a file or subsystem this session touched — entry point, the load-bearing pieces, the edges, and what connects to it.
x-spec
A system-planning guide that turns a vague idea into a set of linked design documents. It defines goals, modules, interfaces, data, workflows, and ways to check the result.
digest
Generate a structured vibe-learn learning digest of the current coding session from .vibe-learn/session-log.jsonl.
learn
Explain recent vibe-learn session activity or answer a question about what was built, grounded in .vibe-learn/session-log.jsonl.
quiz
Check your understanding of the vibe-learn session — recall questions grounded in the session log, with results tracked across sessions in the knowledge ledger.