grok-build
하는 일
이 도구는 AI 어시스턴트가 특정 코딩 작업을 다른 AI인 Grok Build에 보내도록 합니다. Grok Build가 이 작업을 실행하고, AI 어시스턴트가 전달하기 전에 작업을 검토합니다.
사용하는 경우
- ✓잘 정의된 프로그래밍 작업이 있고 AI가 이를 실행하기를 원할 때.
- ✓AI가 단계별로 코드를 바꾸고 검토하기를 원할 때.
- ✓AI에게 'grok 사용해', 'grok build', 'grok에 보내' 라고 말할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/grok-build/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Grok, 홈페이지에 클릭하면 폼을 제출하는 파란색 버튼을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI 어시스턴트는 Grok Build를 위한 상세한 계획을 세워, 정확히 무엇을 어디서 할지 보여 줍니다. 실행 전에 Grok Build가 파일을 바꾸는 것을 허락할지 묻습니다. 실행 후에는 어시스턴트가 변경 사항을 검토하고 최종 승인을 요청합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Grok Build Orchestration
When to Use
- Use when delegating a well-specified implementation task to xAI's Grok Build CLI running headlessly
- Use when executing a Markdown implementation plan task-by-task with a diff review after each task
- Use when the user says "use grok", "grok build", "have grok implement", or "send to grok"
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.
Safety Gate
Before every dispatch, show the user the exact task specification that will be sent to xAI,
the target worktree, and the permission mode. Obtain explicit approval to disclose that text
and to let Grok edit the scoped worktree. Never include secrets, proprietary source, customer
data, or credentials in a task specification. Do not run grok update, --always-approve,
or a destructive recovery command without separate, explicit approval.
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)
grok update --check --json— ifupdateAvailableis true, tell the user. Rungrok updateonly after explicit approval, then confirm withgrok --version.grok models— if it errors or reports logged out, STOP and ask the user to rungrok login.
Per-task loop (sequential — the default)
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 writetask.mdthere. - Windows (PowerShell):
New-Item -ItemType Directory -Force "$env:TEMP\grok-specs", then writetask.mdthere.
- POSIX:
Clean state. No uncommitted source changes — commit or stash first, so the post-run diff is exactly Grok's work. Ignore build artifacts (
__pycache__,dist/, etc.); if they show ingit status, they're usually just un-gitignored, not your concern. Never dispatch on a dirty source tree.Dispatch.
POSIX:
grok --prompt-file <task-file> \ --output-format json \ --always-approve \ --max-turns 30 \ --cwd <repo>Windows (PowerShell) — backtick line-continuation:
grok --prompt-file <task-file> ` --output-format json ` --always-approve ` --max-turns 30 ` --cwd <repo>Parse the JSON output and save
sessionId. (--always-approveis required for headless runs —--permission-mode acceptEditssilently cancels edits with no interactive approver. Use it only after the user explicitly approves Grok editing this exact scoped worktree. Seereferences/cli.md.) For a high-stakes task, add--checkso Grok self-verifies before you review; skip it otherwise (it ~doubles latency).Review gate — non-negotiable.
- Read the diff yourself (
git diff -- <files from the spec>to skip artifact noise): does it do the task, only the task, and match repo conventions? - Run the acceptance commands from the spec.
- Pass → commit with a clear message following the repo's convention → next task.
- Fail → ask the user before a fix-up or any reset. Never run
git checkout -- .orgit clean -fdautomatically; preserve the diff for review and use a non-destructive recovery plan unless the user explicitly authorizes otherwise.
- Read the diff yourself (
Task spec template
# Task: <one-line title>
## Context
- Repo: <path> — <one line on what the project is>
- Conventions: <test runner, formatter, a good example file to imitate>
## Files
- Modify: <path>
- Create: <path>
## Task
<precise description of the change>
## Constraints
…
자주 묻는 질문
「Grok Build」란 무엇인가요?
지시를 정확히 따라 프로그래밍 작업을 빠르고 효율적으로 실행하는 데 특화된 AI 도구입니다.
AI 어시스턴트는 무엇을 하나요?
감독자 역할을 합니다. 작업을 계획하고, Grok Build에 줄 지침을 준비하고, 만들어진 각 변경을 검토하며 최종 결과가 올바른지 확인합니다.
보안이 걱정되나요?
네. AI 어시스턴트는 Grok Build에 비밀 정보나 민감한 데이터를 보내지 않습니다. 또한 파일을 바꾸기 전에 여러분에게 확인을 받습니다.
상세 정보
작성자의 원본 설명
Delegate well-specified implementation tasks to xAI's Grok Build CLI running headlessly while the orchestrating agent plans, writes task specs, reviews every diff, and owns the result.
인기도
- GitHub 스타
- 48k
- 순위
- #4788
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.