A short skill so Claude Code, Codex, Cursor, or any agent with a shell can call the local Grok Build CLI.
irm https://x.ai/cli/install.ps1 | iex
grok logincurl -fsSL https://x.ai/cli/install.sh | bash
grok loginCopy SKILL.md to the host skill folder:
| Host | Path |
|---|---|
| Claude Code | ~/.claude/skills/invoke-grok/SKILL.md |
| Cursor | ~/.cursor/skills/invoke-grok/SKILL.md |
| Other / shared | ~/.agents/skills/invoke-grok/SKILL.md |
Windows: use %USERPROFILE% instead of ~.
Name the project path. You do not invent a Grok temp path.
Use invoke-grok. Ask Grok to generate a favicon: [describe the mark].
Square, flat, reads at 16px. Save the master as public/favicon-512.png.
Use invoke-grok. Ask Grok to review my uncommitted changes.
Apache 2.0. Not affiliated with xAI.