Skip to content

Connect Grok Build as a first-class coding agent - #344

Open
shawnyeager wants to merge 2 commits into
basecamp:mainfrom
shawnyeager:grok-agent-setup
Open

Connect Grok Build as a first-class coding agent#344
shawnyeager wants to merge 2 commits into
basecamp:mainfrom
shawnyeager:grok-agent-setup

Conversation

@shawnyeager

@shawnyeagershawnyeager commented Aug 27, 2026

Copy link
Copy Markdown

Grok Build can now be connected the same way Codex is.

hey setup grok copies the HEY skill into $GROK_HOME/skills/hey (default ~/.grok/skills/hey). hey skill install, skill refresh, hey doctor, hey setup agents, and --remove all include Grok. There is no Grok plugin. Health is skill presence only, matching Codex.

HEY_SETUP_AGENT accepts grok. all attempts every registered agent, including Grok. Detection uses $GROK_HOME or ~/.grok, or a grok binary on PATH, matching Codex.

Session-settled decisions carried from planning: Grok matches Codex, not Claude — no .grok-plugin (user-directed); detect via $GROK_HOME/~/.grok or the grok binary (user-approved); HEY_SETUP_AGENT=all uses AllAgents() so Grok is always attempted (user-approved).

Tests

  • make test passed locally (go test ./internal/...)

Summary by cubic

Adds Grok Build as a first-class coding agent, connected the same way Codex is.

  • hey setup grok copies the HEY skill into $GROK_HOME/skills/hey (default ~/.grok/skills/hey).
  • hey skill install, skill refresh, hey doctor, hey setup agents, and --remove all include Grok.
  • Grok health is skill presence only; there is no Grok plugin yet.
  • HEY_SETUP_AGENT accepts grok, and all now attempts every registered agent including Grok.
  • Grok is detected via $GROK_HOME/~/.grok or a grok binary on PATH.

Written for commit b5b1102. Summary will update on new commits.

Review in cubic

Register Grok in the agent harness, add hey setup grok, and copy the
HEY skill into $GROK_HOME/skills/hey. Include Grok in skill install,
refresh, doctor, setup agents, and --remove. No Grok plugin yet.
CopilotAI balanced review requested due to automatic review settings August 27, 2026 01:01
@shawnyeager
shawnyeager requested a review from a team as a code ownerAugust 27, 2026 01:01
@github-actions

Copy link
Copy Markdown

Sensitive Change Detection (shadow mode)

This PR modifies control-plane files:

  • scripts/install.ps1
  • scripts/install.sh

Shadow mode — this check is informational only. When activated, changes to these paths will require approval from a maintainer.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Grok Build as a first-class coding-agent integration alongside Claude Code and Codex.

Changes:

  • Adds Grok detection, skill installation, health checks, refresh, and removal.
  • Integrates Grok into setup commands, environment selection, documentation, and installer behavior.
  • Expands tests, though binary-only Grok detection remains untested.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
.surfaceAdds the Grok setup command.
AGENTS.mdDocuments Grok architecture.
README.mdDocuments Grok setup and selection.
scripts/install.ps1Documents the Grok selector.
scripts/install.shDocuments the Grok selector.
tests/e2e/installer.batsExtends installer compatibility coverage.
internal/harness/grok.goImplements Grok detection and health checks.
internal/harness/grok_test.goTests Grok home and skill health.
internal/harness/agent.goUpdates agent metadata examples.
internal/harness/agent_test.goVerifies Grok registration.
internal/cmd/setup_agent.goImplements hey setup grok.
internal/cmd/setup_agents.goAdds Grok selection and aggregation.
internal/cmd/setup_agents_test.goTests Grok setup and removal flows.
internal/cmd/setup_agents_remove.goRemoves managed Grok skills.
internal/cmd/setup_test.goCovers Grok command registration.
internal/cmd/skill_install.goInstalls skills for detected Grok.
internal/cmd/skill_install_test.goTests Grok ownership protections.
internal/cmd/skill_refresh.goRefreshes Grok skill copies.
internal/cmd/skill_refresh_test.goTests Grok refresh behavior.
internal/cmd/help_topics.goDocuments Grok environment selection.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment threadinternal/harness/grok.go
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@shawnyeager