grok-build

grok-build is a skill for Claude Code from sanjay3290/ai-skills. It costs 125 tokens per session (1,402 once invoked), scanned A, original, Apache-2.0.

A task coordinator that sends one clearly specified coding task at a time to the xAI Grok Build command-line tool, then reviews the resulting code changes.

In plain words
What is it for?
Use it for well-defined scaffolding, routine refactors, CRUD work, test writing, or interface components based on a clear specification. It is not intended for ambiguous, security-sensitive, or production-infrastructure work.
Why use it?
It separates planning and review from delegated implementation, making the requested change and its acceptance checks explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-skills plugin — 24 skills shipped together

Good fit Use it for well-defined scaffolding, routine refactors, CRUD work, test writing, or interface components based on a clear specification. It is not intended for ambiguous, security-sensitive, or production-infrastructure work.

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

Made for: Claude Code.

Or install ai-skills, the plugin that ships this one along with the rest of its 24 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanjay3290/ai-skills/grok-build"><img src="https://agentmods.dev/badge/skills/sanjay3290/ai-skills/grok-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,402 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00125 $0.01402
Opus 5 $0.00063 $0.00701
Sonnet 5 $0.00025 $0.00280
Haiku 4.5 $0.00013 $0.00140

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

Security

Grade A, and why

grok-build 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 11d 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/SKILL.md · 136 lines

How it starts

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

Grok Build Orchestration

The coding assistant is the orchestrator: it plans, writes self-contained task specs, dispatches them to Grok Build headlessly, reviews every diff, and owns the final result. Grok is the fast, cheap executor. Full CLI details and verified behaviors: references/cli.md.

When to delegate vs keep with the orchestrator

Delegate to Grok Keep with the orchestrator
Plan tasks with clear acceptance criteria Ambiguous requirements, architecture decisions
Boilerplate, scaffolding, CRUD Deep cross-file debugging
Mechanical refactors Security-sensitive code
Test writing from clear specs Anything touching production infrastructure
UI components from mockups/specs Tasks where writing the spec ≈ doing the work

When in doubt, keep it with the orchestrator.

Session preflight (once, before the first dispatch)

  1. grok update --check --json — if updateAvailable is true, run grok update and confirm with grok --version.
  2. grok models — if it errors or reports logged out, STOP and ask the user to run grok login.

Per-task loop (sequential — the default)

  1. Spec. Write a self-contained task file (template below) to a temp directory OUTSIDE the target repo — the harness scratchpad if one is available, else the OS temp dir. Never write it inside the target repo. Grok has zero conversation context: no one-liner prompts, ever.

    • POSIX: mkdir -p "${TMPDIR:-/tmp}/grok-specs", then write task.md there.
    • Windows (PowerShell): New-Item -ItemType Directory -Force "$env:TEMP\grok-specs", then write task.md there.
  2. Clean state. No uncommitted source changes — commit or stash first, so the post-run diff is exactly Grok's work. Ignore build artifacts (__pycache__, dist/, etc.); if they show in git status, they're usually just un-gitignored, not your concern. Never dispatch on a dirty source tree.

  3. Dispatch.

    POSIX:

    grok --prompt-file <task-file> \
      --output-format json \
      --always-approve \
      --max-turns 30 \
      --cwd <repo>
    

Read the full file on GitHub · 136 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. 11d ago First seen · 136 lines · 125 tokens per session scan A dda06a4f0fe8

Subscribe to this mod's changes

grok-build is a skill published in the GitHub repository sanjay3290/ai-skills (422 stars, last pushed today), licensed Apache-2.0. It adds 125 tokens to every session and 1,402 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

neo-sub-agent

Use this skill when the user asks to design, create, review, or convert sub-agents, custom agents, worker/reviewer/planner agents, background agents, or multi-agent workflows for Antigravity CLI, Codex, Claude Code, GitHub Copilot CLI, or neutral agent blueprints.

Benknightdark/neo-skills · 65 tokens

diaoding-zhuangxiu-zhinan

A Chinese-language knowledge guide about ceiling renovations, including materials, construction methods, room height, and ceiling designs.

aiskillstore/marketplace · 82 tokens

pr-walkthrough

Generate a static interactive D3 walkthrough of a pull request. Use when the user wants a zoomable PR map, graph/canvas PR orientation, or alternate visualization of PR system components, data flow, code dependencies, and user actions.

aiskillstore/marketplace · 52 tokens

dengguang-zhaoming-bikeng-zhinan

A Chinese-language knowledge guide about home lighting, including ceiling lights, light strips, color temperature, color rendering, and room zoning.

aiskillstore/marketplace · 99 tokens

igce-builder-ffp

Trigger for: FFP IGCE, firm-fixed-price estimate, FFP cost model, proposed FFP rate validation, wrap-rate analysis, Agency BPA rate comparison, price-reasonableness memo, or fair-and-reasonable analysis. Build auditable Firm-Fixed-Price federal estimates using BLS OEWS wages, layered fringe/overhead/G&A/profit, GSA…

aiskillstore/marketplace · 188 tokens