Grok Build tutorial series

Grok Build troubleshooting: login, inspect, MCP, plan latch

Check login, PATH, directory, inspect, then MCP. Do not reinstall three times first.

Login and keys

If the browser never opens, you may be forcing interactive mode on a headless host. Use the official key environment variable instead.

A bad key, an unprovisioned account, or a region gate all look like “the model is broken”. Check the official account page first.

Do not copy a teammate's session directory and call it your login.

  • Separate browser auth from a key.
  • Confirm the account can see the product.
  • Do not reinstall to fix login.

Command not found or the wrong binary

New terminal, check PATH, confirm you installed the official build.

If several versions exist, use which or Windows where to see the real path.

WSL and Windows each have their own copy. Do not mix them.

  • Open a new terminal.
  • Verify the executable path.
  • Do not overlay a random mirror.

Run inspect before you guess

Missing config, missing skills, and missing MCP are cheaper to see in inspect than to reinstall.

Check that the current directory is the repo root. Launching in the home directory empties the discovery list.

Match source paths: user-level versus project-level, and whether one file overrides another.

  • Run at the repo root.
  • Check config, instructions, skills, plugins, hooks, and MCP.
  • Fix only the missing class.
Diagram of using inspect to list config, instructions, skills, plugins, hooks, and MCP, then debugging one item at a time.
inspect is the checkup sheet. Fix what is missing. Do not reinstall the whole package.

MCP process and permissions

Server missing: command path, working directory, environment.

Server present but tools fail: timeouts, huge results, permission mode denials.

Leave one server on so you know who is noisy.

  1. Does inspect list it?
  2. Can the local process start alone?
  3. Disable down to one.

Skill not found

Name, directory, and whether inspect lists it. Collisions need the qualified name.

A /skillify draft that still lives in a temp path will not enter the team repo.

  • Is it in inspect?
  • Name it instead of hoping.
  • Check the qualified name.

Plan mode will not edit files

That is often a feature. The plan latch blocks edits until you approve.

If you already approved and still cannot write, check permission mode, hook denials, and a read-only worktree.

  • Confirm you are not sitting in an unapproved plan.
  • See whether a hook denied the write.
  • Check disk permissions.

Too many edits or too few

Too many: revert, narrow paths, rewrite the plan.

Too few: the verify command may be wrong, or instructions banned that directory.

Do not append “try again” on a dirty tree.

  • Read git diff first.
  • Revert, then open a new turn.
  • Re-read instruction bans.

Ways to make debugging worse

Reinstall, switch models, and add three MCP servers in the same breath.

Pasting a full inspect dump into a public forum.

  • Overlaying an unofficial binary.
  • Testing always-approve on a production repo.
  • Writing a key into an issue.

Shortest path when you are stuck

Login or key, PATH, repo root, inspect, then one class of problem.

  1. grok runs.
  2. You are in the right directory.
  3. inspect prints.
  4. You fix one class at a time.
  5. You finish with a read-only check.

Return to the main path

Go back to the chapter where you stalled. The hub remains the table of contents.

When product behavior changes, official docs and the open-source issue tracker win.

FAQ

Will a reinstall fix it?

Sometimes PATH. Rarely login or config. inspect first.

Is plan mode a bug?

Blocked edits before approval are by design. After approval, look at hooks and permissions.

Logged in on WSL but not Windows?

Two homes, two configs. Pick one primary environment.

Is a missing TUI in CI normal?

Yes. CI uses headless plus a key, not browser auth.

inspect is empty. Is the product broken?

Usually the directory is wrong, or you have no instructions or skills yet.

How should I report a defect?

Official repo issues or in-product feedback, with a minimal repro that leaks no keys.

Can I reuse the Codex troubleshooting list?

The order is similar; commands and home directories differ. Do not mix the two homes.

All chapters in this series

  1. 1. What Grok Build is: TUI, headless, and ACP
  2. 2. How to install Grok Build (CLI, login, headless)
  3. 3. Finish your first reviewable Grok Build task
  4. 4. Grok Build config, inspect, and AGENTS.md
  5. 5. Grok Build skills, /skillify, and plugins
  6. 6. Wire MCP into Grok Build
  7. 7. Grok Build versus Codex: how to choose
  8. 8. Grok Build troubleshooting: login, inspect, MCP, plan latch