feat(skills): add grok skill for xAI Grok Build CLI - #34040
Closed
boobutler wants to merge 1 commit into
Closed
Conversation
Adds a third coding-agent orchestration skill alongside codex and claude-code. Built around SuperGrok / X Premium+ login (grok login) as the primary auth path, with XAI_API_KEY as a documented fallback. Covers headless (-p) one-shots, interactive TUI via tmux, --output-format json parsing, session resume, background long-tasks, PR review and parallel worktree patterns, plus pitfalls (auth subscription gating, --no-auto-update in automation, Hermes xAI auth vs grok CLI auth).
Author
|
Closing — recreated from my personal GitHub account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
grokskill underskills/autonomous-ai-agents/, a third coding-agent orchestration guide alongsidecodexandclaude-code. It teaches Hermes to delegate coding tasks to Grok Build (xAI'sgrokCLI).Invoked as the
/grokslash command (skill name → slug).Auth
Built around the SuperGrok / X Premium+ subscription path (
grok login→ browser OAuth →~/.grok/auth.json) as primary, withXAI_API_KEYdocumented only as a fallback.What it covers
npm install -g @xai-official/grokpreferred (avoids the Cloudflare-walledx.aihost).-p) one-shots as the preferred mode — the analog ofclaude -p/codex exec.pty=true+ tmux for multi-turn work.--output-format jsonparsing, named-session resume (-s/-r/-c), background long-tasks via theprocesstool.--always-approve).~/.grok/config.tomlreference.x_searchauth ≠ thegrokCLI's auth, always pass--no-auto-updatein automation,--always-approveas the autonomous-build switch,--no-alt-screenfor inline TUI.Notes
CLAUDE.md/.claude//AGENTS.mdwith zero config.skills/autonomous-ai-agents/grok/SKILL.md. No code changes; skills are directory-scanned so no manifest update needed.