Grok Bot

Connect AIWG to Grok Bot (stable, fail-closed skill root)

Connect AIWG to Grok Bot

Prompt-first procedure: Describe the outcome you want in your agent conversation. The agent should select and load the appropriate AIWG assets, explain material changes, request any needed approval, and report verification evidence. Exact commands and flags appear only in the CLI reference.

Status: Stable.

Migrating from `the provider option cursor` for Grok Bot fleets? See Migrate Grok Bot fleets from the Cursor workaround. Cursor IDE fleets remain on `the provider option cursor`.

For the complete first-time journey, start with Install, Connect, and Verify.

Grok Bot is the provider in this guide (provider id `grokbot` — there is no bare `grok` alias). Complete the safe Node.js setup first if `node` or `npm` is unavailable.

From a terminal opened in the project's main folder, install AIWG and deploy the complete system:

Use AIWG to complete this documented outcome: Connect AIWG to Grok Bot
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

Project-scope deploy writes a discover-first `AGENTS.md` bridge and shared AIWG context. It does not write `.cursor/` paths and does not invent `~/.grokbot`.

User-scope / global skills (fail-closed)

Grok Bot user-scope skill writes require an absolute skill root:

Use AIWG to complete this documented outcome: Grok Bot user-scope skill writes require an absolute skill root
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

Without `AIWG_GROKBOT_SKILLS_DIR`, user-scope and Agent Skills `the target option grokbot` deploys exit non-zero and create no `~/grokbot-skills`, `~/.grokbot`, or `.cursor/` directories. Relative paths and bare `~` are rejected.

Verify

Use AIWG to complete this documented outcome: Without AIWG_GROKBOT_SKILLS_DIR, user-scope and Agent Skills the target option grokbot deploys exit non-zero and create no ~/grokbot-skills, ~/.grokbot, or .cursor/ directories. Relative paths and bare ~ are rejected.
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

Start a new agent chat (or re-read skills) after deploy — AIWG does not claim live-refresh or Cursor reload wording for Grok Bot. Ask Grok Bot to verify AIWG by reporting the project root, provider files it can read, installed frameworks, and one useful next action. Use the agent’s capability search / the agent’s stable-asset loader for indexed agents and commands.

Try one small task immediately after verification:

Review this project's README and getting-started docs for unclear positioning, missing setup steps, or unsupported claims. Save the three highest-priority fixes with file references and a recommended next edit at .aiwg/marketing/brand/audit/readme-review.md. Leave the reviewed files unchanged.

Success means Grok Bot names the intended project, follows the AIWG bootstrap into `WORKSPACE.md` and `AIWG.md` or the `AGENTS.md` bridge, and produces a concrete review you can inspect. For advanced flags, compatibility notes, and recovery details, see the Grok Bot operational reference.

Optional live smoke

Default CI skips live smoke. When you have an absolute skill root and want an opt-in check:

export AIWG_GROKBOT_LIVE_SMOKE=1
export AIWG_GROKBOT_SKILLS_DIR=/absolute/path/to/skills
npm run smoke:grokbot:live

Without those env vars the script prints a skip/contract report and exits 0. It never invents Cursor paths.