Grok cli agent
Agent Skills wrappers for agy, Grok, Claude Code, Codex, Kimi, and Qwen — with cross-CLI parallel spawn
npx -y skills add ImL1s/agent-cli-skills --skill grok-cli-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 12 days oldThe repository was created 12 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run xAI Grok Build CLI headlessly via grok-exec.sh. Use when the user asks for grok, Grok Build, xAI coding agent, spawn_subagent, or grok worktrees. -r is plan mode with write/shell denied; -T asks for native subagent fan-out; -w enables --worktree. No PTY required. Orchestrator owns git.
SKILL.md
1.9 KB, 489 tokens by cl100k_base, as published. Nobody here has run it
Grok Build CLI (grok) Executor
When to use
- User wants grok / Grok Build as the coding agent
- Need Grok
spawn_subagent,--agentsJSON, or--worktreeisolation from an orchestrator
Wrapper
./grok-exec.sh -C /path/to/repo -t 1800s "Implement X. NO git."
./grok-exec.sh -r -C /path/to/repo "Review lib/foo for races"
./grok-exec.sh -T -C /path/to/repo "Parallel research + implement"
./grok-exec.sh -f /tmp/bundle.txt -m grok-4.5 -e high -o json
./grok-exec.sh -w feat-branch -C /path/to/repo "Isolated worktree edit"
Flags: -m · -t · -C · -e effort · -o plain|json|streaming-json · -f · -r (plan + deny write/shell) ·
-s PROFILE · -T native subagent preamble · -w [NAME] worktree · --agents JSON ·
--max-turns · --json-schema · --rules · --disable-web-search · --no-git · -- passthrough.
Default model: grok-4.5 (grok models). No PTY needed — headless -p works on pipes.
-C is absolutized before use.
Native multi-agent
Grok has first-class spawn_subagent (types: general-purpose, explore, plan),
--agents JSON definitions, --no-subagents, --worktree isolation.
-T asks the model to fan out freely and synthesize.
Discipline
- Exit code untrusted — verify results yourself
- Orchestrator owns git (
--no-git) - Long prompts: always
-ffile
Raw surface
See grok --help: permission modes, sandbox, json-schema, tools allow/deny, resume/continue,
grok agent (stdio/headless/serve/leader), worktree, export, doctor.
Gives 0 of the 12 instructions most agent orchestration skills give in 489 tokens
Counted across 742 of the 995 authors here whose files we hold, read 2026-08-07
- reference existing artifacts by path or URLin 53 of 742, across 25 files
- run the full test suite after integrating changesin 51 of 742, across 19 files
- dispatch one agent per independent problem domainin 50 of 742, across 17 files
- verify fixes do not conflictin 45 of 742, across 13 files
- include a suggested skills section in the documentin 45 of 742, across 17 files
- redact sensitive informationin 41 of 742, across 11 files
- save to the temporary directory of the operating systemin 39 of 742, across 10 files
- tailor the document to user-provided focus argumentsin 39 of 742, across 9 files
- spot check agent changes for systematic errorsin 34 of 742, across 7 files
- write a handoff document summarising the current conversationin 31 of 742, across 6 files
- Assign each agent a specific scopein 23 of 742, across 8 files
- provide specific scope and clear goalin 23 of 742, across 5 files
Said here and by no other author read
- use grok-exec.sh wrapper
- pass repository via -C flag
- absolutize -C path before use
- pass long prompts via -f file
- verify results yourself
- use --no-git
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.