grok
Skill0 starsChanged 5 months agoMITView on GitHub
Set up or re-sync the current project to run in Grok Build (xAI's coding agent CLI). Checks Grok Build's LIVE docs first, then runs `grok inspect` to see what Grok actually discovered, bridges only the gaps, mirrors user-chosen MCP servers, and reports manual settings steps. Use when asked "/grok", "set up grok", "sync grok", "grok build", or "get this project working in Grok".
11 other projects use a version of this.
Adopted by
Most recently taken up by
- DaeSeokSong/oh-my-ouroborostheir own version, first seen Nov 1, 2026
- base58ed/claude_code_filestheir own version, first seen Oct 20, 2026
- bolasblack/claude-skillstheir own version, first seen Oct 6, 2026
- shaal/skillstheir own version, first seen Sep 26, 2026
- oil-oil/groktheir own version, first seen Sep 10, 2026
- OhSeungWan/skillstheir own version, first seen Sep 4, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- smithjohn78390/smith--skills★ 41same name
- yangliu2060/smith--skills★ 40same name
- oil-oil/grok★ 7same name
- bolasblack/claude-skills★ 4same name
- Wangnov/grok-skills★ 4same name
- DaeSeokSong/oh-my-ouroboros★ 3same name
- shaal/skills★ 3same name
- base58ed/claude_code_files★ 1same name
- OhSeungWan/skills★ 1same name
- runapi-ai/grok★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- .cursor/rules/publish-version-bump.mdcCursor rule
- .cursor/rules/release-version-sync.mdcCursor rule
- antigravitySkill
- auditSkill
- autoplanSkill
- bootstrapSkill
- brainstormSkill
- browseSkill
- ceo-reviewSkill
- clarifySkill
- cleanupSkill
- code-reviewSkill
- codexSkill
- component-inventorySkill
- context-restoreSkill
- context-saveSkill
- critiqueSkill
- cronSkill
- csoSkill
- cursorSkill
- debugSkill
- deepen-planSkill
- design-reviewSkill
- devex-reviewSkill
- document-reviewSkill
- eng-reviewSkill
- executing-plansSkill
- fableSkill
- finishSkill
- frontend-designSkill
- grill-meSkill
- implementSkill
- learnSkill
- office-hoursSkill
- onboardSkill
- plan-design-reviewSkill
- planSkill
- polishSkill
- qaSkill
- reviewSkill
- shipfastSkill
- shipthoroughSkill
- simplifySkill
- specSkill
- statusSkill
- subagent-driven-developmentSkill
- test-driven-developmentSkill
- ui-auditSkill
- ui-ux-pro-maxSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Never edit or trim them to fit the target.
- Distinctive: line 41
Real copies, never symlinks: if any bridging is needed (symlinked rule dirs corrupt other tools' installers — verified failure, 2026-08-15).
- Very specific: line 60
Run grok inspect in the project root and capture the full output.
- Very specific: line 102
Prefer the highest-fidelity bridge available (Grok's instructions mechanism for rules content).
- Very specific: line 115
If .mcp.json exists and grok inspect doesn't already show its servers loaded: list servers by name, ask the user which to make available in …
- Very specific: line 127
Write the manifest (hashes + inspect digest) to .ai/sync-state/grok.json.
- Very specific: line 129
Commit any generated project files per project conventions (worktree rules apply).
- Distinctive: line 143
Protections absent in Grok Build: every hook/gate with no counterpart, named, with what it guarded.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/grok — Project Environment Sync for Grok Build
Make this project's governance fully available to Grok Build, from whatever state it's in now. Idempotent: first run sets everything up; later runs sync only what changed and report what's new.
This skill is verification-first. Secondary sources claim Grok Build
auto-reads CLAUDE.md, .claude/ (rules, skills, hooks), .mcp.json,
and the AGENTS.md family with zero config — but as of 2026-08-16 xAI's
primary docs confirm only ~/.grok/config.toml and the grok inspect
discovery command, not the Claude-compat claim. So: never assume the
compat story; run grok inspect and treat its output as the ground
truth for what actually loaded. If the compat claim holds, this skill
mostly verifies and records; if it doesn't, it bridges.
Gates (binding in every posture — violating any is a failed run)
- Docs before build. The live docs check (Phase 3) runs BEFORE any bridging. Grok Build is young and moving fast; its discovery behavior can change with any CLI update. Building from remembered facts and checking docs afterward is the failure class this ordering prevents. The report records the docs-check date.
- Sources are read-only.
CLAUDE.md,AGENTS.md,.claude/rules/,.claude/settings.json,.mcp.jsonare inputs. Never edit or trim them to fit the target. - Discovery evidence over vendor claims. A capability counts as
working only when
grok inspect(or an equivalent observable check) shows it loaded. Marketing pages and third-party writeups are leads, not evidence. - Real copies, never symlinks if any bridging is needed (symlinked rule dirs corrupt other tools' installers — verified failure, 2026-08-15).
- Syncing config does not certify the tool. Grok-class models have
a documented false-completion failure in this workspace's history
(2026-08-15: argued a plan was done against its own cited evidence).
The final report must say config ≠ trust and point to the
workspace's certification battery if one exists (default:
docs/testing/model-certification/SOP.md).
Phase 1 — Discover the source surface + Grok's own view
- Inventory sources:
CLAUDE.md,AGENTS.md, every.claude/rules/*.md,.claude/skills/(names only),.claude/settings.jsonhooks,.mcp.json,~/.grok/config.toml, and any prior.ai/sync-state/grok.json. - Confirm the CLI exists (
grok --versionorwhich grok); if not installed, stop and give the user the install pointer from current docs — don't install a coding agent without being asked. - Run
grok inspectin the project root and capture the full output. This is the map of what Grok discovers natively: config sources, instructions, skills, plugins, hooks, MCP servers.
Phase 2 — What's new since last run
State lives at .ai/sync-state/grok.json:
{ "syncedAt": ISO-8601, "files": { "<source path>": "<sha256>" },
"inspectSummary": "<one-line digest of grok inspect>" }.
Hash every source (shasum -a 256), diff against the manifest: new /
changed / removed / unchanged. Also diff the current grok inspect
digest against the recorded one — Grok-side discovery changes (a CLI
update starting or stopping to read something) are report-worthy even
when no source file changed. No manifest = first run, say so.
Phase 3 — Live docs check (BEFORE any bridging)
Fetch Grok Build's current docs — start at
https://docs.x.ai/build/overview and the user guide in the repo
(github.com/xai-org/grok-build, user guide under
crates/codegen/xai-grok-pager/docs/user-guide/: configuration, MCP
servers, skills, plugins, hooks, headless mode, sandboxing). If URLs
moved, search.
Confirm before acting: documented discovery behavior for the AGENTS.md
family and .claude/ (cross-check against what grok inspect actually
showed in Phase 1 — docs and behavior can disagree; behavior wins, and
a disagreement is report-worthy), MCP config shape, hooks capabilities,
sandboxing/approval settings. This phase outputs the verified mapping
Phase 4 executes, plus a numbered manual-steps list written for a
non-coder — exact command or menu path, exact value, one line on
why. Headless/automation notes (e.g. --no-auto-update) go here too.
Phase 4 — Bridge the gaps only (per Phases 1+3)
Compare the source inventory against what grok inspect shows loaded:
- Discovered natively (e.g. AGENTS.md, or the whole
.claude/tree if the compat claim holds): nothing to generate — record it as verified-native in the report, with the inspect lines as evidence. - Not discovered: bridge per the mechanics verified in Phase 3.
Prefer the highest-fidelity bridge available (Grok's instructions
mechanism for rules content); every generated file carries the
header
<!-- GENERATED from <source> by /soloship:grok. Edit the source, then re-run. -->. - Hooks: Claude Code / Soloship PreToolUse gates are load-bearing protections. If Phase 3 found real lifecycle equivalents, map what maps cleanly; list everything that doesn't as protection absent in Grok Build — never silently dropped.
- Re-run
grok inspectafter bridging — the delta between the two inspect outputs is the proof the bridge worked.
Phase 5 — MCP servers
If .mcp.json exists and grok inspect doesn't already show its
servers loaded: list servers by name, ask the user which to make
available in Grok (multi-select), and configure them per the shape and
location verified in Phase 3 (likely ~/.grok/config.toml or a project
file). Secrets: placeholder plus a manual step unless the target file
is confirmed outside the repo or gitignored. Verify with a final
grok inspect that the chosen servers appear.
Phase 6 — Verify, record, commit
- Final
grok inspectshows: every source either natively discovered or bridged; chosen MCP servers present. Paste the relevant lines. - Write the manifest (hashes + inspect digest) to
.ai/sync-state/grok.json. - Commit any generated project files per project conventions (worktree
rules apply).
~/.grok/config.tomlchanges are machine-level — list them in the report instead of committing.
Phase 7 — Report (always, in this order)
- Docs-check date + anything that changed in Grok Build's mechanics since the last run (including docs-vs-behavior disagreements).
- Delta since last run — source changes AND Grok-side discovery changes (or "first run — full setup").
- Verified native vs bridged: two lists, each backed by
grok inspectlines. This is the report's core — it converts the vendor's compat claim into observed fact for this project. - Protections absent in Grok Build: every hook/gate with no counterpart, named, with what it guarded.
- Manual steps: the numbered list from Phase 3.
- MCP: loaded natively / configured / skipped / placeholders.
- Certification reminder: config synced ≠ tool trusted — and note Grok's specific history here (false-completion, 2026-08-15). Run the battery SOP before granting write access; until then, proposal-only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

