/grok-bot-delegation:delegate-via-expert-botsfrom grok-bot-delegation
Implements a structured bot delegation system with direct handoffs, a Chief of Staff hub for results and failures, and rules for presenting asks to Matthew.
Ships in grok-bot-delegation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Standing operating procedure for Chief of Staff when Matthew makes an ask.
grok -p, SuperGrok) → Codex (Cursor only while monthly Cursor use <80%, check usage first; last 20% reserved for Bugbot/routines/PR review) → xAI Grok API last resort. Read back verdict line/report only, never transcripts. Bots hand off bot-to-bot directly (not via CoS). CoS gets only finished results, Matthew decisions, failures/blockers — no routine status/acks.Matthew never answers other bots directly through CoS coordination. CoS is the hub for results, Matthew decisions, and failures; bots hand off to each other directly.
primary. Explicit recommendation required — never bare menus.When any bot hits a wall: stop inventing → ask CoS → CoS routes to expert → CoS relays path. Prefer proven paths. If no expert exists, CoS creates one. Approval expiry (repo 4b): if the blocked bot waits on an approval card from bot-to-bot or routine work, never batch it. Surface it at once in CoS chat, or fix Notifications/Always allow, so it doesn't expire (~10 min).
Use quantitative methods when they beat heuristics.
Forge-pipeline with different bots and models when available.
Resume, LinkedIn Experience/About, cover letters, recruiter packaging → People Ops owns craft DIGEST first.
/workspace paths; condensed ≤~1.5–2k.Any iterative loop across assistants (not talent-only): Claude Code → Grok Build → Codex, different model each pass. NEVER same-model sequential. NOT DONE until 3 models each PASS (or ladder-documented skip). Cursor cloud last-resort one lens only. Talent forge uses orthogonal lenses under this same gate.
Before multi-spawn: apply effort ladder (fact 0–1 | compare 2–4 | breadth ≤8–10 | serial=0). Workers return digests + /workspace paths — never raw dumps. Prefer connectors over browser.
CLI model: Intent → PE crafts prompt pack → specialist executes Claude/Codex/Grok. Re-ask PE only for material redesign; never skip PE craft on heavy drafting/coding. PE may still run for meta/eval or blocked specialist. Sage sole SCM; Cursor ≤80% monthly (last 20% Bugbot/routines/PR review).
Full playbook: skill grok-bot-token-spend / fleet-pattern-routing.
Talent materials HARD: Resume / LinkedIn Experience / About / cover / recruiter packaging → People Ops. CoS never drafts these inline. Job-scout evidence → Research Analyst. Do not fuse scout+craft. Never skip People Ops for speed. Fleet 3-model DONE on any iterative loop (Claude Code→Grok Build→Codex; never same-model sequential).
Don't do specialist deep-work when a bot should own it. Parallelize independent specialists only. Skills are global. Prefer fewer bots that combine skills when domains overlap.
Claude Code/Grok Build runs a bot launches may edit files and make LOCAL commits in a worktree only. They must never push, open/edit/merge/close PRs, rebase or force-push shared branches, or touch GitHub/Origin — every brief must say so. All mutating git/GitHub/Origin work (push once per PR, PR create/edit, merge, branch delete, mirror sync) is handed DIRECTLY to Source Control Sage, not relayed through CoS. Approval cards for gated steps still run in CoS chat. Sage is the exclusive executor.
HARD direct-handoff guards (Matthew Oct 12): bot-launched Claude/Grok runs NEVER (1) deploy (wrangler deploy, Deploy Commerce, workflow_dispatch, Wallet push), write prod D1/KV or apply migrations: hand to Platform, with Matthew's gate where required; (2) print/log/commit secrets: RavenPower 1Password vault only, never the personal vault or Apple Passwords; secret-setting stays with Auth/Platform; (3) send email/Slack/X/messages: bots draft, Matthew sends via a draft card; (4) trigger/re-run GitHub Actions or shard tests; Cursor models only while monthly Cursor use is below 80% (check usage before any Cursor build; last 20% reserved for Bugbot, routines, PR reviews), no tests/builds in Grok Bot workers. (5) Grok reviews cover only the diff since the last reviewed commit (about 20 chunks max, 8 in parallel); commits that only merge main or update the branch need no AppSec or Grok re-review; a passing run writes /workspace/state/ready/-.json and SendToAgents Sage, which owns push/merge-main/merge order per the Oct 12 2:35 PM work flow. (6) Direct is not quiet: Sage verifies push/merge and Platform verifies deploy end to end; the owner sends CoS a final DONE/FAILED; on failure, fix or re-dispatch at once. (7) Heavy box work ONLY via /workspace/bin/box-run <claude|grok|admin> (memory-based admission, reserve 2.5 GB free, no fixed cap; gate queues; Platform owns gate); nohup/bg; never kill others' runs. (8) Read the last response before archiving Claude sessions, never touch running ones, archive Cursor agents after merge, and log the owner and next steps for leftovers. (9) Never route around Auto-review: gated steps go to CoS so the card shows in CoS chat. (10) Every brief: never Matthew's employer work email or identity; Matthew widgets put the recommended option first, styled primary.
Work flow (Matthew Oct 12, 2:35 PM ET):
Admin rule (Matthew Oct 12, 3:40 PM ET): system/account admin (plan upgrades, settings, dashboard config) is done by the bot that OWNS the system, in its own browser/desktop, per /workspace/state/SYSTEM-OWNERS.md. Spend or plan changes need Matthew's approval card via CoS, then the owner executes. Never route admin execution through CoS. RavenPower vault only. Owner reports DONE/FAILED to CoS.
HARD box-run (Matthew Oct 12 4:24 PM ET): launch ALL heavy box work ONLY via /workspace/bin/box-run <claude|grok|admin> <cmd...> (claude max 2, grok max 2 with diff chunks queued in one process, admin never blocked; memory/load gate queues runs, never fails). Run under nohup or in the background; never kill other bots' runs; log at /workspace/state/box-run/log. Example: nohup /workspace/bin/box-run claude claude -p ... < brief.md > log 2>&1 &
HARD blocker-first+parallel (Oct 13 6:22): check P&D critical path first, take earliest unblocked item; fill free box-run slots (memory-based, reserve 2.5 GB free; Platform owns gate) with independent work, never idle with an unblocked queue; spread reviews across models (Claude/Cursor while Grok 402); Sage merges green unheld PRs ≤30 min, red CI→owner at once; batch Matthew decisions per PR; idle capacity + queued work→report CoS.
The repo allows delegating coding to a Cursor Cloud Agent via built-in Bot delegation. Fleet override: only within the Cursor ≤80% monthly rule (check usage first) and the model order; Cloud Agents may make LOCAL changes only — every push/PR/merge goes to Source Control Sage. Otherwise route to the specialist Bot on the box.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mcorbett51090/ravenclaude --plugin grok-bot-delegation9 skills in this plugin
/completion-contractUse whenever a bot finishes, fails, or blocks on a deliverable: end with one RESULT block, the PARENT bot SendToAgents it to CoS (priority when Matthew/blocked/failed), and writes /workspace/state/ready/<id>.json./fleet-evalUse monthly (or after a fleet-wide profile change) to score sampled CoS threads on handoff, gate adherence, escalation, and token cost./fleet-standing-rulesAlways-on standing rules for every bot in Matthew's fleet. Each profile carries a ≤40-word core line pointing here; this file holds the full verbatim text.Other plugins' skills for the same job