grok-delegate

grok-delegate is a skill for Claude Code from wyattowalsh/agents. It costs 37 tokens per session (2,864 once invoked), scanned A, original, MIT.

A helper for sending small, well-defined coding tasks to the native Grok command-line tool from a larger task system. It supports preflight checks, task waves, session tuning, and execution records.

In plain words
What is it for?
Use it to check Grok access, classify simple tasks, prepare scout/build/verify waves, resume sessions, and manage delegation records.
Why use it?
It separates large task planning from the individual work items run by Grok, while providing checks and session records to support controlled delegation.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python skills/skill-creator/scripts/audit.py skills/grok-delegate.

Part of the agents plugin — 71 skills, 20 agents, 5 hooks shipped together

Good fit Use it to check Grok access, classify simple tasks, prepare scout/build/verify waves, resume sessions, and manage delegation records.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wyattowalsh/agents
agentmods
npx agentmods add skills/wyattowalsh/agents/grok-delegate

Made for: Claude Code.

Or install agents, the plugin that ships this one along with the rest of its 71 skills, 20 agents, 5 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wyattowalsh/agents/grok-delegate"><img src="https://agentmods.dev/badge/skills/wyattowalsh/agents/grok-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,864 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.00037 $0.02864
Opus 5.5 $0.00015 $0.01146
Sonnet 5.5 $0.00007 $0.00573
Haiku 4.5 $0.00004 $0.00286

Measured 1mo ago against content hash 4742c173921e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grok-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 1mo ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/asset_toolkit/__init__.py, scripts/asset_toolkit/_shared.py, scripts/asset_toolkit/common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-delegate/SKILL.md · 259 lines

How it starts

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

Grok Delegate

Cross-harness orchestration of Grok Build native CLI only. Parent harness owns the macro graph; Grok executes micro nodes.

Dispatch

$ARGUMENTS Action
(empty) Show pre-flight, wave taxonomy, critical rules, and reference index
preflight Run scripts/preflight.sh; stop on fail checks
auth Run fast auth checks; show references/auth.md remediation
trivial Show Tier-T eligibility and single-node grok -p template
wave <0|1|2> Show command templates for scout / build / verify waves
tune Show session resume / delta prompt loop
leader Show leader pool lifecycle
ledger Show session ledger schema
patterns Show orchestrator Pattern A–F → Grok flag mapping

Classification Gate

  1. Use when the parent harness owns a multi-node graph and at least one node should run on Grok Build via native CLI.
  2. Use when a gate failed and the parent needs -r <sessionId> tune passes on an existing ledger row.
  3. Tier-T default — use trivial by default when fast preflight ok, grok-auth-expiry is ok, and the leaf is bounded (≤3 reads OR ≤1 file ≤80 LOC; no destructive/prod/git-push/secrets; no unresolved user-pivotal or subtask-pivotal uncertainty). Parent keeps synthesis.
  4. Tier-T failure fallback — if the first native grok -p Tier-T dispatch fails for a parent work item, stop Tier-T for that item and continue locally.
  5. Do not use for Grok config/MCP sync, skill installs, or nested Grok-in-Grok orchestration.
  6. Do not use Tier-T for multi-node graphs, overlapping file writers, or unbounded parent work better done in-session; use wave/patterns for valid multi-node Grok graphs.
  7. Malformed dispatch — wave without 0|1|2 is invalid; show valid tiers or the empty-args gallery. Never invent a default wave.

Operator Contract

preflight

  1. Run bash scripts/preflight.sh from any cwd (bundled doctor.py; optional --cwd for target repo).
  2. Stop fleet dispatch when JSON ok is false or any grok-auth-* / grok-binary check is fail.
  3. Treat warn as advisory; any grok-auth-expiry fail (expired, missing, or malformed expires_at) blocks fleet dispatch and Tier-T offload.

Read the full file on GitHub · 259 lines

Files

What ships with it

36 files 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. 1mo ago First seen · 259 lines · 37 tokens per session scan A 4742c173921e

Subscribe to this mod's changes

grok-delegate is a skill published in the GitHub repository wyattowalsh/agents (5 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 2,864 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens