grok-build-delegate

grok-build-delegate is a skill for Codex from naplesblue/grokbridge. It costs 127 tokens per session (2,268 once invoked), scanned A, original, Apache-2.0.

A bridge to the locally installed Grok Build command-line tool, which can run delegated coding tasks, investigations, reviews, and some media-generation work.

In plain words
What is it for?
Use it for focused implementation, read-only research, code review, adversarial review, second opinions, image or video generation, and text-to-speech when supported.
Why use it?
It gives a separate session or model a bounded task or independent critique without moving the main work out of the current project.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it for focused implementation, read-only research, code review, adversarial review, second opinions, image or video generation, and text-to-speech when supported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naplesblue/grokbridge/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 naplesblue/grokbridge --skill grok-build-delegate
Clone the repo
git clone --depth 1 https://github.com/naplesblue/grokbridge

Made for: 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/naplesblue/grokbridge/grok-build-delegate/github.svg)](https://agentmods.dev/skills/naplesblue/grokbridge/grok-build-delegate)
Your own site
<a href="https://agentmods.dev/skills/naplesblue/grokbridge/grok-build-delegate"><img src="https://agentmods.dev/badge/skills/naplesblue/grokbridge/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/naplesblue/grokbridge/grok-build-delegate"><img src="https://agentmods.dev/badge/skills/naplesblue/grokbridge/grok-build-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,268 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.00127 $0.02268
Opus 5.5 $0.00051 $0.00907
Sonnet 5.5 $0.00025 $0.00454
Haiku 4.5 $0.00013 $0.00227

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

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

How it starts

The opening of the file, as written. The whole thing — 135 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 or Claude Code session. This is a separate review/task channel, not a model swap for your own work.

Delegation policy

Delegate when the user explicitly asks for Grok, Grok Build, grok-4.5, a second opinion, or an external/adversarial review. Also delegate selectively when all of these hold:

  • the task has a clear scope and acceptance condition;
  • Grok can work independently without secrets or missing product judgment;
  • the host agent can verify the result with a diff, tests, or concrete evidence.

Good implicit candidates include reviewing a diff, investigating a focused failure, implementing an already-written plan, and mechanical or repetitive edits. Keep fuzzy product work, architecture, UX/copy judgment, security-sensitive work, and final acceptance in the host agent. Do not delegate merely to avoid doing ordinary work.

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.
  • Quick question or second opinion → grok_build_prompt. Foreground, strictly read-only.
  • Current web/X research → read-only grok_build_task with write: false, background: true, and timeout_ms: 180000 or longer. Explicitly ask Grok to use web_search / web_fetch, return direct source URLs, and distinguish official or first-party posts from community commentary. Poll grok_build_status, then read the terminal record with grok_build_result.
  • Code review → grok_build_review. Pass scope (working-tree, branch, or repo) and base_ref for branch/repo; set adversarial: true to challenge assumptions.
  • 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.
  • Bounded implementation → write-enabled grok_build_task. Leave shell disabled when Grok can implement with native file tools alone. Add allow_bash: ["test"] only for one focused test or type-check command, or allow_bash: ["render"] only for one short render command. Do not ask Grok to run the full acceptance suite; the host agent performs final verification.
  • Image generation or editing → grok_build_image. It always uses grok-4.5. Pass reference_images as absolute local paths for edits and for any named real person.
  • Video generation → grok_build_video. It always uses grok-4.5. Pass an absolute source_image when available; otherwise Grok creates a first frame, then animates it. Duration must be 6 or 10 seconds, and resolution must be 480p or 720p.
  • Speech / voiceover / TTS generation → grok_build_tts. This is a direct call to xAI /v1/tts using the local Grok Build OIDC subscription login from ~/.grok/auth.json; it does not need or use XAI_API_KEY. Pass the spoken text, an ISO language code (zh, en, etc.), and optionally voice_id (eve is the default; ara, leo, rex, sal, or a custom voice ID can be used). If supplied, output_path must be an absolute .mp3 path inside cwd.

Read the full file on GitHub · 135 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 135 lines · 127 tokens per session scan A 40f44d168d70

Subscribe to this mod's changes

grok-build-delegate is a skill published in the GitHub repository naplesblue/grokbridge (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 127 tokens to every session and 2,268 once invoked, about $0.0005 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

grok-build-delegate compared with skills from other repositories

grok-build-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grok-build-delegatenaplesblue/grokbridgeSkill33mo agoApache-2.0A127Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code