grok-delegate

grok-delegate is a skill for Claude Code, Codex from amElnagdy/delegate-skills. It costs 145 tokens per session (2,566 once invoked), scanned A, original, MIT.

A workflow for sending a bounded coding task to the Grok Build command-line tool, then reviewing and applying its changes.

In plain words
What is it for?
Use it when you explicitly want Grok to implement, fix, or refactor code and the Grok command-line tool is installed and authenticated.
Why use it?
It lets another coding agent handle implementation while the main agent checks the resulting code before using it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Use it when you explicitly want Grok to implement, fix, or refactor code and the Grok command-line tool is installed and authenticated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amelnagdy/delegate-skills/grok-delegate
About the project

delegate-skills is a toolkit for assigning coding tasks to separate agent command-line tools while keeping control of review and commits. It is for developers who want to organize installed implementers into lanes for work such as features, tests, or UI, then delegate tasks by lane or directly. The catalogue entries define the setup and delegation workflows.

amElnagdy/delegate-skills · 2,677 stars · on GitHub · skills.sh

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 amElnagdy/delegate-skills --skill grok-delegate
Clone the repo
git clone --depth 1 https://github.com/amElnagdy/delegate-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/grok-delegate/github.svg)](https://agentmods.dev/skills/amelnagdy/delegate-skills/grok-delegate)
Your own site
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/grok-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/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/amelnagdy/delegate-skills/grok-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/grok-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,566 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
  • Socket warn 14 Oct 2026
  • Snyk pass 14 Oct 2026
  • 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.00145 $0.02566
Opus 5.5 $0.00058 $0.01026
Sonnet 5.5 $0.00029 $0.00513
Haiku 4.5 $0.00015 $0.00257

Measured 24d ago against content hash 0855f312219d, 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 24d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/relay.mjs), 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 · 170 lines

How it starts

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

Grok Delegate

For a trusted repository rejected by Git's ownership check, the relay supports --trust-git-root <exact-worktree-root>. This opt-in affects only relay Git checks, without persistent Git config or Grok permission changes. See dispatch and poll.

You are the orchestrator. This skill lets you hand a bounded coding task to a separate implementer — the Grok Build CLI (grok) — then review what it produced and land it yourself. You write the brief and own the judgment; Grok does the typing under an explicit autonomy profile; you verify and commit.

Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell command and read a file, so it works the same whether you are Claude Code, Cursor, OpenCode with a selected model, or any comparable agent. (It is designed for Claude Code and Cursor; treat other orchestrators as designed-for, not yet proven.)

When NOT to use this

  • The task is small enough to just do inline — delegation overhead is not worth it.
  • The grok CLI is not installed, not authenticated, or the account lacks Grok Build beta access.
  • You want to write the code yourself, or you only need a review without an implementer run.

Prerequisites (check once)

  1. grok version succeeds. If not, install on any platform with npm i -g @xai-official/grok (or use the installer from xAI's official Grok CLI docs) and authenticate (grok login, or grok login --device-auth on headless hosts, or set XAI_API_KEY).
  2. Confirm which grok is on PATH. command -v grok shows the active binary and grok version its version — the relay records the version it ran into result.json, so a stale binary is visible after the fact.
  3. You are in (or will point --cd at) the target git repository.

The loop

Run these five steps per task. Steps 1, 4, and 5 are your judgment; 2 and 3 are mechanical.

Read the full file on GitHub · 170 lines

Files

What ships with it

5 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 Changed · +11 lines d84e5d2e71a8
  2. 2mo ago Changed · +2 lines 0855f312219d
  3. 2mo ago Changed · +4 lines 70244b2adc51
  4. 3mo ago First seen · 164 lines · 145 tokens per session scan A 6fd35d31e7fd

Subscribe to this mod's changes

grok-delegate is a skill published in the GitHub repository amElnagdy/delegate-skills (2,677 stars, last pushed 15d ago), licensed MIT. It adds 145 tokens to every session and 2,566 once invoked, about $0.0006 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-30.

Related

grok-delegate compared with skills from other repositories

grok-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grok-delegateamElnagdy/delegate-skillsSkill2.7k15d agoMITA145Claude Code, Codex
claude-md-improvermrclrchtr/supiSkill106todayMITA39Claude Code
pi-tui-designmrclrchtr/supiSkill106todayMITA141Claude Code, Codex
pi-syncsky-valley/piSkill94yesterdayMITA66Claude Code
claude-md-revisionmrclrchtr/supiSkill106todayMITA45Claude Code
supi-setupmrclrchtr/supiSkill106todayMITA19Claude Code
session-analyticsmrclrchtr/supiSkill106todayMITA39Claude Code