grok-build-delegate

grok-build-delegate is a skill for Claude Code, Codex from Reederey87/grok-build-codex-plugin. It costs 32 tokens per session (914 once invoked), scanned A, original, Apache-2.0.

A skill that uses the local Grok Build command-line tool to obtain a second opinion, adversarial critique, or read-only investigation. Grok Build is a separate review and task channel powered by xAI.

In plain words
What is it for?
Use it when you explicitly want Grok Build to answer a question, review code, or investigate a selected repository scope.
Why use it?
It provides an independent perspective for checking reasoning or investigating a codebase, while keeping ordinary work in the current agent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Use it when you explicitly want Grok Build to answer a question, review code, or investigate a selected repository scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/reederey87/grok-build-codex-plugin/grok-build-delegate
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.

Any agent
npx skills add Reederey87/grok-build-codex-plugin --skill grok-build-delegate
Clone the repo
git clone --depth 1 https://github.com/Reederey87/grok-build-codex-plugin

Made for: Claude Code, Codex.

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 grok-build-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/reederey87/grok-build-codex-plugin/grok-build-delegate/github.svg)](https://agentmods.dev/skills/reederey87/grok-build-codex-plugin/grok-build-delegate)
Your own site
<a href="https://agentmods.dev/skills/reederey87/grok-build-codex-plugin/grok-build-delegate"><img src="https://agentmods.dev/badge/skills/reederey87/grok-build-codex-plugin/grok-build-delegate/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 grok-build-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/reederey87/grok-build-codex-plugin/grok-build-delegate"><img src="https://agentmods.dev/badge/skills/reederey87/grok-build-codex-plugin/grok-build-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 914 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.00032 $0.00914
Opus 5 $0.00016 $0.00457
Sonnet 5 $0.00006 $0.00183
Haiku 4.5 $0.00003 $0.00091

Measured 8d ago against content hash 127440e12e8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

grok-build-delegate 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 8d 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.

skills/grok-build-delegate/SKILL.md · 67 lines

How it starts

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

Grok Build delegate

Bridge to the local, subscription-authenticated Grok Build CLI (xAI). Use it to get an independent second opinion, an adversarial review, or a delegated investigation without leaving the Codex session. This is a separate review/task channel, not a model swap for your own work.

When to use

Reach for these tools only when the user explicitly asks for Grok, Grok Build, grok-4.5, a second opinion, or an external/adversarial review. Do not route ordinary work here.

Routing

  • Setup or health check → grok_build_setup. Run it first when anything looks misconfigured; it reports CLI availability, auth, model, fallback, and state storage. Use run_smoke_test: true for one model or smoke_models: "all" only when the user asks to verify every discovered model.
  • Quick question or second opinion → grok_build_prompt. Foreground, strictly read-only.
  • Code review → grok_build_review. Preview with preview_only: true, explain that path-filtered, best-effort content-redacted repository context will be sent to xAI, and execute only with external_disclosure_acknowledged: true. Pass scope (working-tree, branch, or repo) and base_ref for branch; set adversarial: true to challenge assumptions. Pass model when the user requests a specific Grok model.
  • Investigation or a longer task → grok_build_task. For long runs set background: true, then poll grok_build_status and read grok_build_result when it finishes. Use grok_build_cancel to stop a running job.

Every tool takes cwd — pass the absolute path of the repository being worked on.

Safety rules

  • Default to read-only. grok_build_prompt and grok_build_review can never write. Their local Grok invocations use the strict sandbox and expose only Read, Grep, and Glob, not Bash.
  • Writes go through grok_build_task with write: true, and only when the user explicitly asks Grok to change files. This is double-gated: the server also requires GROK_BUILD_ALLOW_WRITE=true in its environment. Without it the tool returns write mode disabled — set GROK_BUILD_ALLOW_WRITE=true to enable. Relay that to the user rather than trying to work around it.
  • Never set always_approve unless the user explicitly says "yolo" or "always approve". It only applies to write tasks and requires GROK_BUILD_ALLOW_ALWAYS_APPROVE=true; the bridge keeps Grok inside its curated capability allowlist rather than forwarding a global CLI bypass.
  • Never put secrets, credentials, tokens, or env-file contents in a prompt.
  • Grok returns findings and proposed patches. Apply any change through normal Codex edits under Codex's own sandbox and approval policy — do not treat a Grok proposal as approved.
  • On an auth failure, tell the user to run grok login (or grok login --device-auth).

Read the full file on GitHub · 67 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. 8d ago First seen · 67 lines · 32 tokens per session scan A 127440e12e8d

Subscribe to this mod's changes

grok-build-delegate is a skill published in the GitHub repository Reederey87/grok-build-codex-plugin (4 stars, last pushed 5d ago), licensed Apache-2.0. It adds 32 tokens to every session and 914 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.

Related

Other skills, from other repositories

code-review-excellence

This skill should be used when the user asks to review a diff or pull request, write review comments, audit code quality, establish review standards, or improve how a team performs code review.

Galaxy-Dawn/claude-scholar · 43 tokens

stop-that-shit

Keep coding agents focused on requested and necessary work. Use when a request sets a read-only, answer-only, file, action, or stopping boundary; when evidence shows scope creep, speculative hardening, unnecessary hashing or dependencies, repeated audit loops, or valueless delegation; or when the user invokes Stop…

lennney/stop-that-shit · 86 tokens

stss

Reduce defensive disclaimers, stacked hedging, and self-protective narration in proposals and decision-facing writing. Use when the user asks to rewrite or audit a proposal, plan, research contribution, executive summary, or similar text for directness. Do not use for ordinary code work or unrelated prose.

lennney/stop-that-shit · 63 tokens

do-it-review

Use to assess requirements and implementation quality independently, or to resolve a batch of review findings.

tdwhere123/do-it · 22 tokens

tfx-prune

A cleanup workflow that asks three AI coding assistants to independently identify unnecessary code, then removes only issues they agree are unwanted. It checks for duplication, needless abstractions, excessive error handling, and similar readability problems.

tellang/triflux · 51 tokens

tfx-review

A code-review workflow that asks several command-line AI reviewers to inspect changes independently, then reports issues that at least two reviewers agree on. TDD means test-driven development, where tests are written to guide implementation, but this add-on is for reviewing code rather than defining TDD.

tellang/triflux · 83 tokens