Loading...
Loading...
Use when delegating to native Grok CLI for default Tier-T trivial leaves or wave/tune nodes from parent harnesses. NOT for harness sync or wrappers.
npx skill4agent add wyattowalsh/agents grok-delegate| $ARGUMENTS | Action |
|---|---|
| (empty) | Show pre-flight, wave taxonomy, critical rules, and reference index |
| Run |
| Run fast auth checks; show |
| Show Tier-T eligibility and single-node |
| Show command templates for scout / build / verify waves |
| Show session resume / delta prompt loop |
| Show leader pool lifecycle |
| Show session ledger schema |
| Show orchestrator Pattern A–F → Grok flag mapping |
-r <sessionId>trivialokgrok-auth-expiryokgrok -pwavepatternswave0|1|2preflightbash scripts/preflight.shdoctor.py--cwdokgrok-auth-*grok-binaryfailwarngrok-auth-expiryfailexpires_atauthpreflight.shgrok-auth-*references/auth.mdgrok loginbash scripts/auth_verify.sh --cwd <target>trivialok: truegrok-auth-expiry: okgrok --no-auto-update \
-p "<bounded self-contained task>" \
--cwd "<absolute-repo-path>" \
--output-format json \
--max-turns 10wave <0|1|2>-w w<wave>-<role>-<n>tune-r <sessionId>Tune:parent_tune_countnode_id--always-approveleadergrok leader killledgerpatterns/orchestrator| Term | Meaning |
|---|---|
| parent harness | Codex, OpenCode, Claude, or Cursor session owning the macro DAG |
| Tier-T | Default bounded trivial leaf offload via single |
| node | One |
| wave | Staged batch of nodes (0 scout, 1 build, 2 verify) |
| gate | Parent checkpoint before the next wave |
| tune | |
| ledger | |
| worktree | |
| leader pool | Shared |
bin/gkscripts/preflight.shgrok login--always-approve--no-auto-update--cwdgrok-auth-expiry-r <sessionId>-w--best-of-n/harness-master--applypreflightauthbash skills/grok-delegate/scripts/preflight.shcd <target-repo> && grok inspect --jsongrok inspect--cwd/orchestrator-p-rgrok agent stdio| Wave | Purpose | Typical | |
|---|---|---|---|
| 0 scout | Read-only exploration | | 8 |
| 1 build | Implementation | repo agent | 25 |
| 2 verify | Tests, review | | 10 |
| tune | Delta on session | inherit | 10 |
| hypothesis | Competing theories | | 12 |
grok --no-auto-update \
-p "<self-contained task>" \
--cwd "<absolute-repo-path>" \
--output-format json \
--max-turns 25 \
--agent "<agent-name>"grok --no-auto-update \
-r "<sessionId>" \
-p "Tune: <delta only>" \
--cwd "<same cwd>" \
--output-format json \
--max-turns 10parent_tune_countnode_id-w w<wave>-<role>-<n>grok agent leader --no-exit-on-disconnect --no-auto-updategrok agent --leaderfailed--output-format plaingrok leader listgrok logingrok-auth-*ok: truegrok leader killcheck.pyparse_grok_jsonuv run python skills/grok-delegate/scripts/check.py
uv run pytest tests/test_grok_delegate_*.py -q
uv run python skills/skill-creator/scripts/audit.py skills/grok-delegate
uv run python skills/skill-creator/scripts/package.py skills/grok-delegate --dry-run| File | Content |
|---|---|
| wave-dag.md | Wave gates on bash dispatch |
| graph-patterns.md | Orchestrator A–F + Tier-T mapping |
| command-templates.md | Copy-paste invocations |
| output-json.md | Headless JSON fields |
| session-ledger.md | Ledger schema |
| agent-map.md | Repo agents → |
| concurrency.md | Budgets, naming |
| leader-lifecycle.md | Leader start/stop |
| acp-driver.md | Official ACP stdio excerpt |
| safety-permissions.md | Permission matrix |
| auth.md | OAuth-primary auth and remediation |
| doctor-output.md | Bundled doctor JSON |
skills sync --apply