karlorz/agent-skills/grok-build-init

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Bootstrap or refresh the karlorz grok-build harness (AGENTS.md splice, agents, plugins). On /grok-build-init, Ask User Question first; timeout selects Recommended.

Install

npx vskill@latest install karlorz/agent-skills/grok-build-init

SKILL.md

grok-build-init

One file owns the session contract: $GROK_HOME/AGENTS.md (default ~/.grok/AGENTS.md). This skill splices the harness marker block, copies agents + agentrules.md, and on a fresh host also renders config and installs companion plugins.

First action

Do not write a long chat essay and wait. Call Ask User Question immediately:

  • Refresh AGENTS.md (Recommended) — harness group update or a new scenario on an existing host. Detect drift, splice the contract, leave user sections alone.
  • Full host init — new machine. Keys, config, plugins.
  • Status only — no writes. Run --status and quote the full inventory in this chat (not a 4-row summary, not a collapsed tool card).

Timeout selects Recommended. Treat that as the go-ahead.

Locate installer

bash
grok plugin update grok-build-harness
INSTALL="$(find ~/.grok/installed-plugins -maxdepth 3 -type f -name install.sh -path '*grok-build-harness*' | head -1)"

From a checkout: skills/grok-build-harness/scripts/install.sh.

Need python3. Full init also needs git and a runnable grok --version. Remote SSH: run install.sh directly; never ssh -t grok whoami.

Refresh (Recommended)

bash
bash "$INSTALL" --docs-status
bash "$INSTALL" --docs-only -y
bash "$INSTALL" --docs-status

--docs-status prints one word: missing | match | drift | unmarked | absent. After --docs-only, status should be match. User content outside <!-- grok-build-harness:begin/end --> is preserved. Then Ask User Question once more if another scenario remains.

Status only

bash
bash "$INSTALL" --status

No bash (Windows): python3 "$PLUGIN/scripts/status.py" --grok-home "$GROK_HOME" --plugin-root "$PLUGIN".

--docs-status stays one word for scripts. --status is the session inventory: contract word + meaning, plugin vs stamp, required files, [agent] name, plan_mode, Keep working line, each harness companion (enabled / not-enabled / extra, present / missing), english_rule: lines for Grok / Claude / Codex / Cursor (missing / match / drift vs assets/reply-in-english.md), and context: always-on token lines (instruction files, Grok skill-description catalog, enabled plugin count, MCP server counts). Quote that block in chat. Do not skip it and jump to "no problem" / the next scenario. Then Ask User Question if another scenario remains.

Full init

bash
bash "$INSTALL" --hub-key "$HUB_KEY" --new-key "$NEW_KEY" --context7-key "$CTX7_KEY" --verify -y

Keys may also come from HARNESS_HUB_KEY / HARNESS_NEW_KEY / HARNESS_CONTEXT7_KEY. Missing keys → env-only config (warns). --require-keys hard-fails. Extra flags: install.sh --help.

Finish: start a new session so AGENTS.md loads. Skillwiki's ~/.grok/skillwiki.md marker is preserved; do not overwrite it.

Contract file

PathRole
AGENTS.mdThe session contract. Harness block is spliced; everything else is yours. Re-run this skill when the group updates or the scenario changes.
agentrules.mdFull routing rules (pointed at from the contract).
agents/grok-build-byok.md, agents/scout.mdParent agent + scout.

Keep-working rule lives in the harness block: Ask User Question + timeout = Recommended. Do not add a second extras file.

English-thinking rule SSOT is assets/reply-in-english.md. --docs-only copies/splices each host-native load path under --user-home (default: parent of --grok-home): Grok rules/ + AGENTS.md bullet, Claude rules/ + CLAUDE.md, Codex AGENTS.md bullet, Cursor rules/reply-in-english.mdc. Status reports those six paths. Do not recreate vault .cursor/rules / .claude/rules / .grok/rules copies.

Troubleshooting

  • Contract not active → new session after a match refresh.
  • Full flag list / musl / keyed-config guard → README.md and install.sh --help.
  • Scratch test: GROK_HOME=/tmp/grok-home bash "$INSTALL" --docs-only --dry-run
  • Any config diagnostic (render, preserve, inspect, A/B skill discovery) → references/isolated-diagnostics.md. Never write a hand-built config over the live one.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/karlorz/agent-skills/grok-build-init/badge)](https://verified-skill.com/skills/karlorz/agent-skills/grok-build-init)

Something wrong with this skill or its page? Tell us.