v1.62.0.0 feat: add /grok skill for xAI second opinion from Claude Code#2241
v1.62.0.0 feat: add /grok skill for xAI second opinion from Claude Code#2241ljodea wants to merge 1 commit into
Conversation
Symmetric counterpart to /codex: review (pass/fail on [P1]), adversarial challenge, and consult with session resume. Runs read-only via --permission-mode plan with bin/gstack-grok-probe for auth, timeout, and telemetry. Default headless model: grok-4.5. Also wires a grok-review row into GSTACK REVIEW REPORT, documents the skill in AGENTS.md / docs/skills.md / README, and skips /grok on non-Claude hosts (same convention as /codex). Unit tests cover the probe and host-exclusion. VERSION 1.62.0.0 (avoids open title claim on 1.61.0.0). Supersedes garrytan#2016.
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
…PRs accounted for 25 applied, 24 dropped with reasons, 1 held (garrytan#2241 /grok skill, pending one live review receipt). Totals updated: 116 triaged → 61 applied, 54 dropped, 1 held. Redact scan's MEDIUM pii.ip_public hit is the version string v1.61.0.0 (migration filename), not an IP. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Note on the hosts-wave hold (time-attack/gstack#1): This PR stays open and ready. Happy to post a live |
|
@ljodea will review when my grok usage limit gets reset |
|
@16francej — recommend closing this PR because it is superseded by the provider-neutral work in #619. This standalone skill duplicates provider dispatch and still has unresolved CLI behavior, timeout, session, result-handling, and safety or security problems. Credit #2241 for its Grok research, carrying forward only provider scenarios confirmed against supported versions. |
Summary
Adds
/grok— the/codextwin for an independent second opinion from Grok Build CLI while working in Claude Code.Three modes, same contract as
/codex:[P1]/[P2]findings + pass/fail gate-r/-c)Default model:
grok-4.5(overridable with-m). Always--permission-mode plan(read-only).Why this PR (not #2016)
#2016 was the first cut. It drifted (VERSION behind main, merge conflicts, process gaps) and became hard to review. This re-lands the same product on current
mainas one clean commit:/groklike/codex1.62.0.0; open title claims already use1.61.0.0)Out of scope (intentionally):
hosts/grok-build.ts) — orthogonalImplementation
grok/SKILL.md.tmplbin/gstack-grok-probe~/.grok/auth.json,$XAI_API_KEY/$GROK_API_KEY), timeout, telemetrytest/grok-hardening.test.tsscripts/resolvers/review.tsgrok-reviewrow in GSTACK REVIEW REPORThosts/*skipSkills: [..., 'grok']on every non-Claude hostUsage (after merge +
./setup)Requires
grokon PATH and auth viagrok loginor$XAI_API_KEY.Test plan
bun test test/grok-hardening.test.ts(11/11)bun test test/host-config.test.ts test/skill-validation.test.ts test/gen-skill-docs.test.ts(green;/grokClaude-only assertions)bun run gen:skill-docs --host all— nogstack-grokunder external host output dirsSupersedes #2016.