grok-build
FeaturedOrchestrate coding work by delegating well-specified implementation tasks to xAI's Grok Build CLI (grok) running headlessly, while the coding assistant plans, writes the task specs, reviews every diff, and owns the result. Use when user says: 'use grok', 'grok build', 'delegate to grok', 'have grok implement', 'have grok execute', 'have grok build', 'send to grok', 'execute this plan with grok'. Executes a Markdown implementation plan task-by-task, or ad-hoc tasks with an inline spec.
AI & Automation 422 stars
45 forks Updated today Apache-2.0
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Grok Build Orchestration
The coding assistant is the orchestrator: it plans, writes self-contained task specs,
dispatches them to Grok Build headlessly, reviews every diff, and owns the final result.
Grok is the fast, cheap executor. Full CLI details and verified behaviors: `references/cli.md`.
## When to delegate vs keep with the orchestrator
| Delegate to Grok | Keep with the orchestrator |
|---|---|
| Plan tasks with clear acceptance criteria | Ambiguous requirements, architecture decisions |
| Boilerplate, scaffolding, CRUD | Deep cross-file debugging |
| Mechanical refactors | Security-sensitive code |
| Test writing from clear specs | Anything touching production infrastructure |
| UI components from mockups/specs | Tasks where writing the spec ≈ doing the work |
When in doubt, keep it with the orchestrator.
## Session preflight (once, before the first dispatch)
1. `grok update --check --json` — if `updateAvailable` is true, run `grok update` and
confirm with `grok --version`.
2. `grok models` — if it errors or reports logged out, STOP and ask the user to run
`grok login`.
## Per-task loop (sequential — the default)
1. **Spec.** Write a self-contained task file (template below) to a temp directory
OUTSIDE the target repo — the harness scratchpad if one is available, else the OS
temp dir. Never write it inside the target repo. Grok has zero conversation context:
no one-liner prompts, ever.
- POSIX: `mkdir -p "${TMPDIR:-/tmp}/grok-specs"`, then...
Details
- Author
- sanjay3290
- Repository
- sanjay3290/ai-skills
- Created
- 8 months ago
- Last Updated
- today
- Language
- Python
- License
- Apache-2.0
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
grok
Delegate coding to xAI Grok Build CLI (features, PRs).
244,407 Updated today
NousResearch AI & Automation Listed
grok
Delegate coding to xAI Grok Build CLI (features, PRs).
1 Updated 1 months ago
dsivov AI & Automation Listed
grok
Delegate coding to xAI Grok Build CLI (features, PRs).
4 Updated 3 weeks ago
ZDStudios