feat(skills): add grok skill for xAI Grok Build CLI - #34060
Closed
MattMaximo wants to merge 1 commit into
Closed
Conversation
Adds a `grok` skill under `skills/autonomous-ai-agents/`, a third coding-agent orchestration guide alongside `codex` and `claude-code`. It teaches Hermes to delegate coding tasks to Grok Build (xAI's `grok` CLI). - Headless `-p` one-shots (preferred) - Interactive TUI via pty + tmux - Session resume, background tasks, structured JSON output - PR review and parallel worktree patterns - Auth via SuperGrok / X Premium+ (`grok login`) - Full pitfalls and config notes
Collaborator
|
Resubmission of closed #34040. New grok skill for xAI Grok Build CLI delegation. |
Contributor
|
Merged via #34582 as an optional skill (optional-skills/autonomous-ai-agents/grok). Your commit was cherry-picked onto current main with your authorship preserved in git log. Verified every flag/command against the x.ai docs — all accurate. Thanks Matt! |
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.