[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C51M7NZ19NW4WXGVCN1M8R":3,"skill-same:01M7C51M7NZ19NW4WXGVCN1M8R":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7C51M7NZ19NW4WXGVCN1M8R","repogolem",null,"repoGolem launchers: {repo}Claude\u002FCodex, flags -s\u002F-c\u002F-w\u002F--worker, regenerate launchers. NOT generic agent spawning.","EtanHey\u002Fgolems","EtanHey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93338119?v=4","01M7C4SKC9HJC3B9TAX0D9MZ1E","Etan Heyman","01M7C4SKCT59Z49TTN4WWDDEYD",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Frepogolem\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: repogolem\ndescription: \"repoGolem launchers: {repo}Claude\u002FCodex, flags -s\u002F-c\u002F-w\u002F--worker, regenerate launchers. NOT generic agent spawning.\"\n---\n\n# repoGolem — Unified Launcher System\n\n> Fleet law: canon #5 owns model policy; canon #6 owns launcher naming, registry override precedence, and skip-perms. This skill keeps invocation mechanics, examples, and troubleshooting.\n\n> Every project has launchers: `{name}Claude`, `{name}Codex`, `{name}Gemini`.\n> The launcher handles EVERYTHING: cd to repo, MCP wiring, secrets, iTerm profile, badge.\n> You NEVER need `source ~\u002F.zshrc && cd $HOME\u002FGits\u002FX && claude -s`. Just: `brainlayerClaude -s`.\n\nCursor launchers are retired; use T3 `delegate_task` (`providerInstanceId: \"cursor\"`, `model: \"default\"`) for Cursor work; see `\u002Fagent-routing` for details.\n\n---\n\n## UNIFIED FLAGS (same across ALL CLIs)\n\n| Flag | Short | What It Does | Claude | Codex |\n|------|-------|-------------|--------|-------|\n| Skip permissions | `-s` | Auto-approve tool calls | `--dangerously-skip-permissions` | Compatibility no-op; host config supplies the policy |\n| Continue\u002Fresume | `-c` | Resume last session | `--continue` | Resume the newest usable rollout for the launch cwd |\n| Model override | `-m \u003Cmodel>` | Explicit model selection | Judgment role for full panes; cheap role headless\u002Fsubagent only | Any model string passes through |\n| Reasoning effort | `-E \u003Ceffort>` | Explicit Codex effort | — | `low`, `medium`, `high`, `xhigh`, `max`, `ultra` |\n| Headless\u002Fprint | `-p \"prompt\"` | Scripted one-shot only; NOT agent sessions or verification gates | `--print -p \"prompt\"` | Headless prompt |\n| Worktree | `-w \u003Cabs-path>` | Launch from pre-created git worktree cwd | `cd \u003Cpath>` | `cd \u003Cpath>` |\n\n**CRITICAL:**\n- `-s` = skip permissions. For Codex it is a compatibility no-op; `golem-install` validates `approval_policy = \"never\"` and `sandbox_mode = \"danger-full-access\"` in host config. Capital `-S`\u002F`--sonnet` is a separate Claude-only model request and is refused for full panes.\n- Model\u002Fsession policy lives in canon #5. Resolve `claude.judgment` and `codex.implement` through `standards\u002Fmodel-roles.json` with `node scripts\u002Fmodel-roles.mjs \u003Crole> --field model|alias` (one field). Verify bare launcher pins against those roles; Claude full panes retain 1M. Choose effort per `\u002Flarge-plan` phase with a why and pass it explicitly at dispatch. Explicit Codex `-m` and `-E` values pass through, including when supplied through cmux `spawn_agent`.\n- `-p` is NOT for agent sessions or verification gates. Open scope: it may survive for non-agent scripted one-shots; confirm with Etan before using it in automation.\n- Codex resume is fail-closed. `-c` requires at least one usable rollout for the launch cwd and skips malformed newer candidates; a fresh cwd with no usable rollout exits loudly. Bare `resume` picker mode is refused because the launcher cannot recover model\u002Feffort before the picker selects a session.\n- Codex `-p\u002F--print` cannot be combined with `-c` or explicit `resume`; that combination exits loudly instead of silently starting a fresh headless session. A resumed session restores its recorded model and effort; explicit `-m` and\u002For `-E` override the recovered field, and when both are explicit the launcher skips rollout-state recovery and lets Codex validate the requested session.\n\n---\n\n## LAUNCHER NAME PATTERN\n\n```\n{projectName}{CLI}\n\nExamples:\n  brainlayerClaude    brainlayerCodex\n  golemsClaude        golemsCodex\n  orcClaude           orcCodex\n  6pmClaude           6pmCodex\n  dashboardClaude     dashboardCodex\n```\n\nThe name is the project key from `~\u002F.config\u002Fralphtools\u002Fregistry.json`, lowercased.\n\n### Agent-style projects\n\nRegistry entries can include an `agent` field:\n\n```json\n{\n  \"yash\": {\n    \"path\": \"$HOME\u002FGits\u002Fgolems\",\n    \"agent\": \"yash\",\n    \"clis\": [\"claude\", \"codex\", \"gemini\"]\n  }\n}\n```\n\nClaude launchers pass this through as `--agent \u003Cname>`.\nCodex and Gemini do not read Claude Agent SDK files directly, so repoGolem reads `~\u002F.claude\u002Fagents\u002F\u003Cname>.md` and injects it as the launcher's initial prompt.\nIt preserves the frontmatter `initialPrompt` block when present, strips the rest of the YAML metadata, then appends the Markdown body.\nThis is intentional: `yashCodex` and `yashGemini` should inherit the same agent protocol instead of acting like generic shells in the project directory.\n\n### Plain Codex worker mode\n\nAgent-style `*Codex` launchers keep registry persona injection by default. Opt into\na plain worker with the long-only `--worker` flag or `GOLEM_ROLE=worker`:\n\n```bash\norcCodex --worker -s -E high -w $HOME\u002FGits\u002Forchestrator.wt\u002Fmy-lane # reasoning\nGOLEM_ROLE=worker orcCodex -s -E high -w $HOME\u002FGits\u002Forchestrator.wt\u002Fmy-lane # reasoning\n```\n\nThe generated `*CodexWorker` aliases remain compatible and select the same mode.\n`--worker` is the one worker signal: on Codex and Gemini it also exports\n`GOLEM_ROLE=worker` to the launched agent, for that call only. Claude is the\nexception: `--worker` there keeps the lead effort and sets no `GOLEM_ROLE`.\nWorker mode adds only a one-line role banner before an optional caller prompt; it\ndoes not inject registry agent front-matter or boot-store instructions. Short\n`-w` remains the worktree-path flag and always requires an absolute path.\n\n### Per-launch Codex overrides (Etan, 2026-10-09)\n\n`~\u002F.codex\u002Fconfig.toml` is never edited; `*Codex` launchers pass `-c` overrides (codex-cli 0.160.1):\n\n- **Computer use stays on** for every launch, workers included (\"that's how they can properly test\").\n- **Locals T3code defaults on in ALL Codex launches:** workers, leads, bare, aliases, prompts,\n  fresh\u002Fresume\u002Fcontinue and scan. Its normalized `locals_t3code` name resolves from Codex's normal\n  cache; no opt-in, special flags or F2 binding is required. Missing cache\u002Fname does not block launch.\n- **Other connectors are fail-safe stripped.** Every agent-shaped launch loses the other `codex_apps` cloud\n  connectors (Gmail, Calendar, GitHub…) and any `browser-tools-mcp` server, matched by name or package.\n  That includes workers, `-p`, prompts, `resume`, and cmuxlayer spawns. **Google Drive stays read-only**:\n  `apps.\u003Cdrive>.default_tools_enabled=false` plus an allowlist of its read tools, so new Drive tools\n  default to off.\n- **Keeping them:** `--lead` (a worker signal still wins), or the bare human shape (no args, a TTY, no\n  agent markers). cmuxlayer lead spawns must pass `--lead`.\n- **Opt-in, per launch, by name:** `GOLEM_CODEX_WORKER_ALLOW=gmail,google_drive,browser-tools …`. Names\n  come from codex's connector cache. `google_drive` means full Drive. An unknown name refuses the launch,\n  and the variable never reaches the launched codex.\n- **`--scan`** (security route): a worker seat that runs `-s workspace-write` with\n  `approval_policy=\"never\"` and no bypass, because codex-security Deep Scan refuses a parent without a\n  managed filesystem permission profile. It is the one seat with **computer use off**: a scanner doesn't\n  test. It keeps the default Locals exception and read-only Drive, strips other connectors, ignores `--lead`, and resolves its model from the `codex.security` role\n  (`-m` overrides). It refuses (exit 2) the bypass flag and its alias `--yolo`, `--approve-for-me`,\n  `--add-dir`, `-C`\u002F`--cd`, a caller `-p`\u002F`--profile`, any `-s`\u002F`--sandbox` other than `workspace-write` or\n  `-a`\u002F`--ask-for-approval` other than `never` (every `X`\u002F`=X`\u002Fattached spelling), and any `-c`\n  sandbox\u002Fapproval\u002Fpermissions\u002Fcomputer-use key. It also exports a per-launch `[deep_scan]` cap via\n  `CODEX_SECURITY_DEEP_SCAN_CONFIG_PATH`: 2 workers, 2 subagents, 10 discovery runs, 2 h (Etan-confirmed;\n  plugin default 4\u002F3\u002F40\u002F96 h). A caller-set path wins.\n- **Bare dotted keys only:** codex keeps quotes inside a `-c` key segment, so a quoted key is a silent no-op.\n  The last `-c` wins and `--enable` beats `-c`. So without `--lead`, any caller `--enable`\u002F`--disable`, or\n  any `-c features*`\u002F`apps*`\u002F`connectors*` key, is refused in all five spellings (`-c K`, `-cK`, `-c=K`,\n  `--config K`, `--config=K`). `connectors` is codex's alias of the `apps` feature.\n\n### WARNING — launcher names strip hyphens from repo names\n\nrepoGolem launcher names are generated from the registry key, not the raw repo folder name. If a repo name contains hyphens, the launcher drops them:\n\n```text\nrepo: skill-creator\nwrong launcher guess: skill-creatorClaude\nactual launcher:      skillcreatorClaude\n```\n\nThis matters when another tool tries to build a launcher name from `repo` directly. Known live failure: `mcp__cmuxlayer__spawn_agent({repo:\"skill-creator\", cli:\"claude\"})` guessed `skill-creatorClaude`, hit `zsh: command not found`, and left the agent stuck at `booting`.\n\n**Before relying on a generated launcher for a new repo, verify the real launcher first:**\n\n```bash\nwhich skillcreatorClaude\nwhich skillcreatorCodex\n```\n\nIf the launcher guess is wrong, use the verified repoGolem launcher manually until cmuxlayer normalizes `repo -> launcher` with the same hyphen-stripping rule.\n\n---\n\n## KEY REGISTERED PROJECTS\n\n| Project | Path | Launchers |\n|---------|------|-----------|\n| golems | $HOME\u002FGits\u002Fgolems | golemsClaude, golemsCodex |\n| brainlayer | $HOME\u002FGits\u002Fbrainlayer | brainlayerClaude, brainlayerCodex |\n| voicelayer | $HOME\u002FGits\u002Fvoicelayer | voicelayerClaude, voicelayerCodex |\n| orc (orchestrator) | $ORCHESTRATOR_REPO | orcClaude, orcCodex |\n| dashboard | $HOME\u002FGits\u002Fgolems-dashboard | dashboardClaude, dashboardCodex |\n| 6pm | $HOME\u002FGits\u002F6pm-mini | 6pmClaude, 6pmCodex |\n| portfolio | $HOME\u002FGits\u002Fetanheyman.com | portfolioClaude, portfolioCodex |\n| taskowl | $HOME\u002FGits\u002Ftaskowl | taskowlClaude, taskowlCodex |\n| taskowl | $HOME\u002FGits\u002FTaskOwl-app | taskowlClaude, taskowlCodex |\n| cmuxlayer | $HOME\u002FGits\u002Fcmuxlayer | cmuxlayerClaude, cmuxlayerCodex |\n| mcplayer | $HOME\u002FGits\u002Fmcplayer | mcplayerClaude, mcplayerCodex |\n| metacomlayer | $HOME\u002FGits\u002Fmetacomlayer | metacomlayerClaude, metacomlayerCodex |\n| qwan | $HOME\u002FGits\u002Fqwan-drill | qwanClaude, qwanCodex |\n| coach | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fcoach | coachClaude, coachCodex |\n| content | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fcontent | contentClaude, contentCodex |\n| services | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fservices | servicesClaude, servicesCodex |\n| skills | $HOME\u002FGits\u002Fgolems | skillsClaude, skillsCodex |\n| eval | $ORCHESTRATOR_REPO | evalClaude, evalCodex |\n| maintenance | $ORCHESTRATOR_REPO | maintenanceClaude, maintenanceCodex |\n| teller | $HOME\u002FGits\u002FtellerGolem | tellerClaude, tellerCodex |\n| monitor | $HOME\u002FGits\u002FmonitorGolem | monitorClaude, monitorCodex |\n| rudy | $HOME\u002FGits\u002Frudy-monorepo | rudyClaude, rudyCodex |\n| songscript | $HOME\u002FGits\u002Fsongscript | songscriptClaude, songscriptCodex |\n| union | $HOME\u002FGits\u002Funion | unionClaude, unionCodex |\n| ralph | ~\u002F.config\u002Fralph | ralphClaude, ralphCodex |\n| taba | $HOME\u002FGits\u002Ftaba | tabaClaude, tabaCodex |\n| project2 | ~\u002FDesktop | project2Claude, project2Codex |\n| maakaf | $HOME\u002FGits\u002Fmaakaf_home | maakafClaude, maakafCodex |\n\n### brainlayer topology — bare-mirror-style hub, main lives elsewhere (2026-06-07 weave E12)\n\n`$HOME\u002FGits\u002Fbrainlayer` is the repo HUB, not the canonical main checkout: `main` is\nchecked out at `$HOME\u002FGits\u002Fbrainlayer-prod` (the prod\u002Fdeploy worktree), and feature\nbranches live in worktrees under `$HOME\u002FGits\u002Fbrainlayer\u002F.worktrees\u002F`. Two rules:\n\n1. **Briefs must PIN the exact worktree path** (`-w $HOME\u002FGits\u002Fbrainlayer\u002F.worktrees\u002F\u003Ctask>`).\n   A brief that just says \"brainlayer\" leaves the worker guessing among three\n   checkouts — live failure: worker's `git status` failed despite `.git`\n   existing because the brief never pinned a path (bl-orqi-codex#2).\n2. **Local merges fail there.** Because `main` is held by `brainlayer-prod`,\n   `gh pr merge --delete-branch` from any other checkout dies with\n   `'main' is already used by worktree at '…\u002Fbrainlayer-prod'` — see\n   \u002Fpr-loop \"Worktree-Locked Local Merge\" for the remote fallback.\n\n---\n\n## USAGE PATTERNS\n\n### Interactive agent (most common)\n```bash\nbrainlayerClaude -s          # Claude in brainlayer repo, skip-permissions\norcCodex -s                  # Codex in orchestrator repo, skip-permissions\n```\n\n### Continue\u002Fresume a session\n```bash\nbrainlayerClaude -s -c       # Resume last Claude session in brainlayer\norcClaude --resume            # Session picker for orchestrator\nbrainlayerCodex -s -c         # Resume newest usable Codex rollout for this cwd\nbrainlayerCodex -s resume ID  # Resume an explicit Codex session UUID\n```\n\nCodex deliberately refuses bare `resume` picker mode, `-c` in a cwd with no usable rollout, and\nevery resume combined with `-p\u002F--print`. These are fail-closed continuity guards: use `-c` from the\nsession's cwd or pass its UUID, and send any follow-up prompt after the interactive resume opens.\nThe fresh-cwd `-c` failure says `Cannot honor Codex resume: no rollout found for selector --last in\n${CODEX_HOME:-$HOME\u002F.codex}\u002Fsessions.`; bare `resume` says `Cannot honor Codex resume: no session id\nor --last selector was provided.` If matching rollouts exist but none carries usable state, it says\n`Cannot honor Codex resume: no usable model\u002Feffort state found for selector --last.`\n\n### Launch in a worktree\n\nFollow the [canonical worktree launch guard](..\u002Fagent-routing\u002Freferences\u002Fworktree-launch.md)\nbefore creation; it owns exact-base verification and the T3 one-read preparation rule.\n```bash\n# Outside T3: create the authorized worktree from the preflight receipt commit OID.\n# T3: use managed isolation instead; never shell-create its checkout.\ngolemsCodex -s -w $HOME\u002FGits\u002Fgolems\u002F.worktrees\u002Fmy-task\n\n# (legacy sibling $HOME\u002FGits\u002F\u003Crepo>.wt\u002F paths resolve read-only until 2026-09-30, then die)\n```\n\nThe launcher consumes `-w\u002F--worktree`, **`cd`s to the literal argument**, and does\nnot pass `--worktree` to the underlying CLI.\n\nBefore the agent starts, `-w` runs `worktree-bootstrap.sh \u003Cworktree>` (installed next\nto the dispatcher). It picks the installer from the lockfile: bun, pnpm, `npm ci`, `uv sync`,\nor a no-op for SwiftPM. A `node_modules` **symlink** into the main checkout is replaced\nby a real install. It prints one timed line; a failed install warns and the launch\ncontinues. Each installer is killed (with its children) after `WORKTREE_BOOTSTRAP_TIMEOUT` seconds\n(default 900) and reported `FAILED … (timed out after Ns)`.\n\n**`-w` contract (gen-12 weave E16):** the path must be a **pre-created absolute\nworktree directory** that already exists on disk. The launcher does NOT resolve\nbare names, create worktrees, or fall back to the main checkout.\n\n```\nWRONG: golemsCodex -s -w weave-edits-a\n       → _golem_launch_codex:cd:22: no such file or directory: weave-edits-a\n       → 120s boot-timeout waiting for a pane that never started (ea8514a2:[643])\nRIGHT: git worktree add … then golemsCodex -s -w $HOME\u002FGits\u002Fgolems\u002F.worktrees\u002Fweave-edits-a\n```\n\nAn **absolute path that does not exist yet** dies the same way, one step earlier: when the\nrepo has a `.mcp.json`, the launcher copies it into the worktree *before* the `cd`\n(`golem-dispatch.zsh:486`), so a missing directory aborts at the `cp` and drops you back at\nthe shell. The pane looks like it simply never booted — silent lane death (2026-08-09).\n\n**`-w` never creates — `spawn_agent` does.** Use `spawn_agent({repo, cli, worktree:true})`\n(or `worktree:{name|path|branch|base}`) to create\u002Freuse the worktree at launch; `-w` is\nlaunch-in-an-already-existing-worktree only.\n\nAlternative fix (not shipped here): teach the launcher to resolve\u002Fcreate worktree\npaths from bare names — until then, briefs must inline absolute verified paths.\n\n### Model policy\n```bash\n: \"${phase_effort:?Choose effort per \u002Flarge-plan phase before dispatch}\"\norcClaude -s -E \"$phase_effort\"           # claude.judgment: verify role pin and 1M\nbrainlayerCodex -s -m \"$(node scripts\u002Fmodel-roles.mjs codex.implement --field model)\" -E \"$phase_effort\" \"\u003Cphase implementation>\"\n# claude.subagent.cheap: resolve alias for an Agent child; not a visible full pane\n# codex.subagent.mechanical: CANDIDATE, bench before use; do not dispatch\n```\n\nLauncher enforcement is defined by canon #5. Claude reserves full panes for the judgment role; legacy cheap-tier selectors are headless\u002Fsubagent-only. Codex passes explicit model and effort values through; its own runtime validates the requested model. `-p` remains scripted one-shot mode, not a worker\u002Flead session or verification gate.\n\n### Via cmux (spawning from orchestrator)\n```text\nspawn_agent({ repo: \"brainlayer\", cli: \"codex\", model: \u003Coutput of node scripts\u002Fmodel-roles.mjs codex.implement --field model>, effort: \u003Ceffort selected for this \u002Flarge-plan phase>, prompt: \"Fix the FTS5 sync issue in search.py\" })\n→ returns agent_id\n\nwait_for({ agent_id, target_state: \"ready\", timeout_ms: 120000 })\nsend_to({ agent_id, text: \"Keep the fix narrow and cite the changed file\", press_enter: true })\n```\n\ncmuxlayer PR #396 is merged: an explicit Codex `model` is checked against the refreshed runtime\ncatalog from `codex debug models` before a pane is created, then `model` and `effort` are passed to the repoGolem launcher\nas `-m` and `-E`. Pass the resolved `codex.implement` model; omit it only after verifying the launcher's\nbare pin matches the role config. Unsupported models fail before surface creation; if cmuxlayer\nprepared a new worktree first, it rolls that worktree back. At read time `spawn_agent.effort` accepts\n`medium`, `high`, `xhigh`, and `ultra`; use the launcher directly for supported `low` or `max`.\n\n**NEVER do this:**\n```bash\n# WRONG — raw CLI, no launcher\nsend_to({ mode: \"surface\", surface, text: \"source ~\u002F.zshrc && cd $HOME\u002FGits\u002Fbrainlayer && codex --dangerously-bypass-approvals-and-sandbox\" })\n```\n\n---\n\n## WHAT LAUNCHERS HANDLE (so you don't have to)\n\n1. **cd to repo** — changes to the correct directory\n2. **MCP wiring** — builds `.mcp.json` from registry, merges with repo's `.mcp.json`\n3. **Secrets** — sets up 1Password-backed env vars via `ralph-secrets.zsh`\n4. **iTerm profile** — switches to \"Golems\" profile with correct font\n5. **Tab title + badge** — sets emoji + project name (e.g., \"🌔 golemsClaude\")\n6. **BrainLayer project tag** — worktree path becomes the project tag automatically (e.g., `brainlayer-p0-hybrid` → `project:\"brainlayer-p0-hybrid\"`)\n\n---\n\n## HOW TO ADD A NEW PROJECT\n\n1. Edit `~\u002F.config\u002Fralphtools\u002Fregistry.json`:\n```json\n\"myproject\": {\n    \"path\": \"$HOME\u002FGits\u002Fmyproject\",\n    \"displayName\": \"My Project\",\n    \"mcps\": [],\n    \"secrets\": {},\n    \"created\": \"2026-04-05T00:00:00Z\",\n    \"clis\": [\"claude\", \"codex\"]\n}\n```\n\n2. Regenerate launchers:\n```bash\n_ralph_generate_launchers_from_registry\nsource ~\u002F.config\u002Fralphtools\u002Flaunchers.zsh\n```\n\n3. Verify: `which myprojectClaude` should resolve.\n\n---\n\n## CRITICAL GOTCHAS\n\n### `-s` is a LAUNCHER flag, not a Claude CLI flag\n`-s` only works with repoGolem launchers (`brainlayerClaude -s`). When using raw `claude --agent`, you MUST spell out `--dangerously-skip-permissions`. Evidence: `claude --agent skill-creator -s` failed; had to use `claude --agent skill-creator --dangerously-skip-permissions`.\n\n### Codex: resolve the worker role; explicit selections are first-class\nCanon #5 owns launcher policy. Resolve `codex.implement` for `-m` and choose effort per `\u002Flarge-plan` phase\nfor `-E`; verify a bare launcher against the config before relying on its pin. cmux `spawn_agent.model` is equivalent for model\nselection, while its current effort enum is the four-value subset documented above. Verify effective\nvalues from Codex session metadata rather than the agent's self-description.\n\n### `-p` is NOT for agent sessions\n`-p` remains documented only for possible non-agent scripted one-shots; that scope needs Etan confirmation before automation depends on it.\n\n## TROUBLESHOOTING\n\n| Problem | Fix |\n|---------|-----|\n| `command not found: brainlayerClaude` | `source ~\u002F.config\u002Fralphtools\u002Flaunchers.zsh` |\n| Launcher doesn't cd to repo | Check `path` in registry.json |\n| MCP not available in session | Check `mcps` array in registry.json, regenerate |\n| Wrong iTerm badge | Check `emoji` field in registry.json |\n| No launcher for a repo | Add to registry.json, regenerate (see above) |\n| `--agent` flag with `-s` | `-s` is a launcher flag, NOT a Claude flag. Use `--dangerously-skip-permissions` explicitly |\n\n---\n\n## INTEGRATION\n\n| Skill | How repoGolem Integrates |\n|-------|-------------------------|\n| `\u002Fagent-routing` | Routing owns provider selection and Cursor delegation; repoGolem defines the active CLI launchers. |\n| `\u002Fcmux-agents` | `spawn_agent` is the default visible-worker path; repoGolem still defines the launcher names underneath (R10) |\n| `\u002Forc` | R10 iron rule: \"Use repoGolem launcher functions. ALWAYS. NEVER raw CLI.\" |\n| `\u002Fsession-handoff` | Agent resume table includes launcher commands for crash recovery |\n\n---\n\n## REGISTRY LOCATION\n\n```\n~\u002F.config\u002Fralphtools\u002Fregistry.json     — project definitions, MCP configs, CLI lists\n~\u002F.config\u002Fralphtools\u002Flib\u002Fralph-registry.zsh  — generator (creates launcher functions)\n~\u002F.config\u002Fralphtools\u002Flaunchers.zsh     — auto-generated launcher functions (source this)\n```\n","# repoGolem — Unified Launcher System\n\n> Fleet law: canon #5 owns model policy; canon #6 owns launcher naming, registry override precedence, and skip-perms. This skill keeps invocation mechanics, examples, and troubleshooting.\n\n> Every project has launchers: `{name}Claude`, `{name}Codex`, `{name}Gemini`.\n> The launcher handles EVERYTHING: cd to repo, MCP wiring, secrets, iTerm profile, badge.\n> You NEVER need `source ~\u002F.zshrc && cd $HOME\u002FGits\u002FX && claude -s`. Just: `brainlayerClaude -s`.\n\nCursor launchers are retired; use T3 `delegate_task` (`providerInstanceId: \"cursor\"`, `model: \"default\"`) for Cursor work; see `\u002Fagent-routing` for details.\n\n---\n\n## UNIFIED FLAGS (same across ALL CLIs)\n\n| Flag | Short | What It Does | Claude | Codex |\n|------|-------|-------------|--------|-------|\n| Skip permissions | `-s` | Auto-approve tool calls | `--dangerously-skip-permissions` | Compatibility no-op; host config supplies the policy |\n| Continue\u002Fresume | `-c` | Resume last session | `--continue` | Resume the newest usable rollout for the launch cwd |\n| Model override | `-m \u003Cmodel>` | Explicit model selection | Judgment role for full panes; cheap role headless\u002Fsubagent only | Any model string passes through |\n| Reasoning effort | `-E \u003Ceffort>` | Explicit Codex effort | — | `low`, `medium`, `high`, `xhigh`, `max`, `ultra` |\n| Headless\u002Fprint | `-p \"prompt\"` | Scripted one-shot only; NOT agent sessions or verification gates | `--print -p \"prompt\"` | Headless prompt |\n| Worktree | `-w \u003Cabs-path>` | Launch from pre-created git worktree cwd | `cd \u003Cpath>` | `cd \u003Cpath>` |\n\n**CRITICAL:**\n- `-s` = skip permissions. For Codex it is a compatibility no-op; `golem-install` validates `approval_policy = \"never\"` and `sandbox_mode = \"danger-full-access\"` in host config. Capital `-S`\u002F`--sonnet` is a separate Claude-only model request and is refused for full panes.\n- Model\u002Fsession policy lives in canon #5. Resolve `claude.judgment` and `codex.implement` through `standards\u002Fmodel-roles.json` with `node scripts\u002Fmodel-roles.mjs \u003Crole> --field model|alias` (one field). Verify bare launcher pins against those roles; Claude full panes retain 1M. Choose effort per `\u002Flarge-plan` phase with a why and pass it explicitly at dispatch. Explicit Codex `-m` and `-E` values pass through, including when supplied through cmux `spawn_agent`.\n- `-p` is NOT for agent sessions or verification gates. Open scope: it may survive for non-agent scripted one-shots; confirm with Etan before using it in automation.\n- Codex resume is fail-closed. `-c` requires at least one usable rollout for the launch cwd and skips malformed newer candidates; a fresh cwd with no usable rollout exits loudly. Bare `resume` picker mode is refused because the launcher cannot recover model\u002Feffort before the picker selects a session.\n- Codex `-p\u002F--print` cannot be combined with `-c` or explicit `resume`; that combination exits loudly instead of silently starting a fresh headless session. A resumed session restores its recorded model and effort; explicit `-m` and\u002For `-E` override the recovered field, and when both are explicit the launcher skips rollout-state recovery and lets Codex validate the requested session.\n\n---\n\n## LAUNCHER NAME PATTERN\n\n```\n{projectName}{CLI}\n\nExamples:\n  brainlayerClaude    brainlayerCodex\n  golemsClaude        golemsCodex\n  orcClaude           orcCodex\n  6pmClaude           6pmCodex\n  dashboardClaude     dashboardCodex\n```\n\nThe name is the project key from `~\u002F.config\u002Fralphtools\u002Fregistry.json`, lowercased.\n\n### Agent-style projects\n\nRegistry entries can include an `agent` field:\n\n```json\n{\n  \"yash\": {\n    \"path\": \"$HOME\u002FGits\u002Fgolems\",\n    \"agent\": \"yash\",\n    \"clis\": [\"claude\", \"codex\", \"gemini\"]\n  }\n}\n```\n\nClaude launchers pass this through as `--agent \u003Cname>`.\nCodex and Gemini do not read Claude Agent SDK files directly, so repoGolem reads `~\u002F.claude\u002Fagents\u002F\u003Cname>.md` and injects it as the launcher's initial prompt.\nIt preserves the frontmatter `initialPrompt` block when present, strips the rest of the YAML metadata, then appends the Markdown body.\nThis is intentional: `yashCodex` and `yashGemini` should inherit the same agent protocol instead of acting like generic shells in the project directory.\n\n### Plain Codex worker mode\n\nAgent-style `*Codex` launchers keep registry persona injection by default. Opt into\na plain worker with the long-only `--worker` flag or `GOLEM_ROLE=worker`:\n\n```bash\norcCodex --worker -s -E high -w $HOME\u002FGits\u002Forchestrator.wt\u002Fmy-lane # reasoning\nGOLEM_ROLE=worker orcCodex -s -E high -w $HOME\u002FGits\u002Forchestrator.wt\u002Fmy-lane # reasoning\n```\n\nThe generated `*CodexWorker` aliases remain compatible and select the same mode.\n`--worker` is the one worker signal: on Codex and Gemini it also exports\n`GOLEM_ROLE=worker` to the launched agent, for that call only. Claude is the\nexception: `--worker` there keeps the lead effort and sets no `GOLEM_ROLE`.\nWorker mode adds only a one-line role banner before an optional caller prompt; it\ndoes not inject registry agent front-matter or boot-store instructions. Short\n`-w` remains the worktree-path flag and always requires an absolute path.\n\n### Per-launch Codex overrides (Etan, 2026-10-09)\n\n`~\u002F.codex\u002Fconfig.toml` is never edited; `*Codex` launchers pass `-c` overrides (codex-cli 0.160.1):\n\n- **Computer use stays on** for every launch, workers included (\"that's how they can properly test\").\n- **Locals T3code defaults on in ALL Codex launches:** workers, leads, bare, aliases, prompts,\n  fresh\u002Fresume\u002Fcontinue and scan. Its normalized `locals_t3code` name resolves from Codex's normal\n  cache; no opt-in, special flags or F2 binding is required. Missing cache\u002Fname does not block launch.\n- **Other connectors are fail-safe stripped.** Every agent-shaped launch loses the other `codex_apps` cloud\n  connectors (Gmail, Calendar, GitHub…) and any `browser-tools-mcp` server, matched by name or package.\n  That includes workers, `-p`, prompts, `resume`, and cmuxlayer spawns. **Google Drive stays read-only**:\n  `apps.\u003Cdrive>.default_tools_enabled=false` plus an allowlist of its read tools, so new Drive tools\n  default to off.\n- **Keeping them:** `--lead` (a worker signal still wins), or the bare human shape (no args, a TTY, no\n  agent markers). cmuxlayer lead spawns must pass `--lead`.\n- **Opt-in, per launch, by name:** `GOLEM_CODEX_WORKER_ALLOW=gmail,google_drive,browser-tools …`. Names\n  come from codex's connector cache. `google_drive` means full Drive. An unknown name refuses the launch,\n  and the variable never reaches the launched codex.\n- **`--scan`** (security route): a worker seat that runs `-s workspace-write` with\n  `approval_policy=\"never\"` and no bypass, because codex-security Deep Scan refuses a parent without a\n  managed filesystem permission profile. It is the one seat with **computer use off**: a scanner doesn't\n  test. It keeps the default Locals exception and read-only Drive, strips other connectors, ignores `--lead`, and resolves its model from the `codex.security` role\n  (`-m` overrides). It refuses (exit 2) the bypass flag and its alias `--yolo`, `--approve-for-me`,\n  `--add-dir`, `-C`\u002F`--cd`, a caller `-p`\u002F`--profile`, any `-s`\u002F`--sandbox` other than `workspace-write` or\n  `-a`\u002F`--ask-for-approval` other than `never` (every `X`\u002F`=X`\u002Fattached spelling), and any `-c`\n  sandbox\u002Fapproval\u002Fpermissions\u002Fcomputer-use key. It also exports a per-launch `[deep_scan]` cap via\n  `CODEX_SECURITY_DEEP_SCAN_CONFIG_PATH`: 2 workers, 2 subagents, 10 discovery runs, 2 h (Etan-confirmed;\n  plugin default 4\u002F3\u002F40\u002F96 h). A caller-set path wins.\n- **Bare dotted keys only:** codex keeps quotes inside a `-c` key segment, so a quoted key is a silent no-op.\n  The last `-c` wins and `--enable` beats `-c`. So without `--lead`, any caller `--enable`\u002F`--disable`, or\n  any `-c features*`\u002F`apps*`\u002F`connectors*` key, is refused in all five spellings (`-c K`, `-cK`, `-c=K`,\n  `--config K`, `--config=K`). `connectors` is codex's alias of the `apps` feature.\n\n### WARNING — launcher names strip hyphens from repo names\n\nrepoGolem launcher names are generated from the registry key, not the raw repo folder name. If a repo name contains hyphens, the launcher drops them:\n\n```text\nrepo: skill-creator\nwrong launcher guess: skill-creatorClaude\nactual launcher:      skillcreatorClaude\n```\n\nThis matters when another tool tries to build a launcher name from `repo` directly. Known live failure: `mcp__cmuxlayer__spawn_agent({repo:\"skill-creator\", cli:\"claude\"})` guessed `skill-creatorClaude`, hit `zsh: command not found`, and left the agent stuck at `booting`.\n\n**Before relying on a generated launcher for a new repo, verify the real launcher first:**\n\n```bash\nwhich skillcreatorClaude\nwhich skillcreatorCodex\n```\n\nIf the launcher guess is wrong, use the verified repoGolem launcher manually until cmuxlayer normalizes `repo -> launcher` with the same hyphen-stripping rule.\n\n---\n\n## KEY REGISTERED PROJECTS\n\n| Project | Path | Launchers |\n|---------|------|-----------|\n| golems | $HOME\u002FGits\u002Fgolems | golemsClaude, golemsCodex |\n| brainlayer | $HOME\u002FGits\u002Fbrainlayer | brainlayerClaude, brainlayerCodex |\n| voicelayer | $HOME\u002FGits\u002Fvoicelayer | voicelayerClaude, voicelayerCodex |\n| orc (orchestrator) | $ORCHESTRATOR_REPO | orcClaude, orcCodex |\n| dashboard | $HOME\u002FGits\u002Fgolems-dashboard | dashboardClaude, dashboardCodex |\n| 6pm | $HOME\u002FGits\u002F6pm-mini | 6pmClaude, 6pmCodex |\n| portfolio | $HOME\u002FGits\u002Fetanheyman.com | portfolioClaude, portfolioCodex |\n| taskowl | $HOME\u002FGits\u002Ftaskowl | taskowlClaude, taskowlCodex |\n| taskowl | $HOME\u002FGits\u002FTaskOwl-app | taskowlClaude, taskowlCodex |\n| cmuxlayer | $HOME\u002FGits\u002Fcmuxlayer | cmuxlayerClaude, cmuxlayerCodex |\n| mcplayer | $HOME\u002FGits\u002Fmcplayer | mcplayerClaude, mcplayerCodex |\n| metacomlayer | $HOME\u002FGits\u002Fmetacomlayer | metacomlayerClaude, metacomlayerCodex |\n| qwan | $HOME\u002FGits\u002Fqwan-drill | qwanClaude, qwanCodex |\n| coach | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fcoach | coachClaude, coachCodex |\n| content | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fcontent | contentClaude, contentCodex |\n| services | $HOME\u002FGits\u002Fgolems\u002Fpackages\u002Fservices | servicesClaude, servicesCodex |\n| skills | $HOME\u002FGits\u002Fgolems | skillsClaude, skillsCodex |\n| eval | $ORCHESTRATOR_REPO | evalClaude, evalCodex |\n| maintenance | $ORCHESTRATOR_REPO | maintenanceClaude, maintenanceCodex |\n| teller | $HOME\u002FGits\u002FtellerGolem | tellerClaude, tellerCodex |\n| monitor | $HOME\u002FGits\u002FmonitorGolem | monitorClaude, monitorCodex |\n| rudy | $HOME\u002FGits\u002Frudy-monorepo | rudyClaude, rudyCodex |\n| songscript | $HOME\u002FGits\u002Fsongscript | songscriptClaude, songscriptCodex |\n| union | $HOME\u002FGits\u002Funion | unionClaude, unionCodex |\n| ralph | ~\u002F.config\u002Fralph | ralphClaude, ralphCodex |\n| taba | $HOME\u002FGits\u002Ftaba | tabaClaude, tabaCodex |\n| project2 | ~\u002FDesktop | project2Claude, project2Codex |\n| maakaf | $HOME\u002FGits\u002Fmaakaf_home | maakafClaude, maakafCodex |\n\n### brainlayer topology — bare-mirror-style hub, main lives elsewhere (2026-06-07 weave E12)\n\n`$HOME\u002FGits\u002Fbrainlayer` is the repo HUB, not the canonical main checkout: `main` is\nchecked out at `$HOME\u002FGits\u002Fbrainlayer-prod` (the prod\u002Fdeploy worktree), and feature\nbranches live in worktrees under `$HOME\u002FGits\u002Fbrainlayer\u002F.worktrees\u002F`. Two rules:\n\n1. **Briefs must PIN the exact worktree path** (`-w $HOME\u002FGits\u002Fbrainlayer\u002F.worktrees\u002F\u003Ctask>`).\n   A brief that just says \"brainlayer\" leaves the worker guessing among three\n   checkouts — live failure: worker's `git status` failed despite `.git`\n   existing because the brief never pinned a path (bl-orqi-codex#2).\n2. **Local merges fail there.** Because `main` is held by `brainlayer-prod`,\n   `gh pr merge --delete-branch` from any other checkout dies with\n   `'main' is already used by worktree at '…\u002Fbrainlayer-prod'` — see\n   \u002Fpr-loop \"Worktree-Locked Local Merge\" for the remote fallback.\n\n---\n\n## USAGE PATTERNS\n\n### Interactive agent (most common)\n```bash\nbrainlayerClaude -s          # Claude in brainlayer repo, skip-permissions\norcCodex -s                  # Codex in orchestrator repo, skip-permissions\n```\n\n### Continue\u002Fresume a session\n```bash\nbrainlayerClaude -s -c       # Resume last Claude session in brainlayer\norcClaude --resume            # Session picker for orchestrator\nbrainlayerCodex -s -c         # Resume newest usable Codex rollout for this cwd\nbrainlayerCodex -s resume ID  # Resume an explicit Codex session UUID\n```\n\nCodex deliberately refuses bare `resume` picker mode, `-c` in a cwd with no usable rollout, and\nevery resume combined with `-p\u002F--print`. These are fail-closed continuity guards: use `-c` from the\nsession's cwd or pass its UUID, and send any follow-up prompt after the interactive resume opens.\nThe fresh-cwd `-c` failure says `Cannot honor Codex resume: no rollout found for selector --last in\n${CODEX_HOME:-$HOME\u002F.codex}\u002Fsessions.`; bare `resume` says `Cannot honor Codex resume: no session id\nor --last selector was provided.` If matching rollouts exist but none carries usable state, it says\n`Cannot honor Codex resume: no usable model\u002Feffort state found for selector --last.`\n\n### Launch in a worktree\n\nFollow the [canonical worktree launch guard](..\u002Fagent-routing\u002Freferences\u002Fworktree-launch.md)\nbefore creation; it owns exact-base verification and the T3 one-read preparation rule.\n```bash\n# Outside T3: create the authorized worktree from the preflight receipt commit OID.\n# T3: use managed isolation instead; never shell-create its checkout.\ngolemsCodex -s -w $HOME\u002FGits\u002Fgolems\u002F.worktrees\u002Fmy-task\n\n# (legacy sibling $HOME\u002FGits\u002F\u003Crepo>.wt\u002F paths resolve read-only until 2026-09-30, then die)\n```\n\nThe launcher consumes `-w\u002F--worktree`, **`cd`s to the literal argument**, and does\nnot pass `--worktree` to the underlying CLI.\n\nBefore the agent starts, `-w` runs `worktree-bootstrap.sh \u003Cworktree>` (installed next\nto the dispatcher). It picks the installer from the lockfile: bun, pnpm, `npm ci`, `uv sync`,\nor a no-op for SwiftPM. A `node_modules` **symlink** into the main checkout is replaced\nby a real install. It prints one timed line; a failed install warns and the launch\ncontinues. Each installer is killed (with its children) after `WORKTREE_BOOTSTRAP_TIMEOUT` seconds\n(default 900) and reported `FAILED … (timed out after Ns)`.\n\n**`-w` contract (gen-12 weave E16):** the path must be a **pre-created absolute\nworktree directory** that already exists on disk. The launcher does NOT resolve\nbare names, create worktrees, or fall back to the main checkout.\n\n```\nWRONG: golemsCodex -s -w weave-edits-a\n       → _golem_launch_codex:cd:22: no such file or directory: weave-edits-a\n       → 120s boot-timeout waiting for a pane that never started (ea8514a2:[643])\nRIGHT: git worktree add … then golemsCodex -s -w $HOME\u002FGits\u002Fgolems\u002F.worktrees\u002Fweave-edits-a\n```\n\nAn **absolute path that does not exist yet** dies the same way, one step earlier: when the\nrepo has a `.mcp.json`, the launcher copies it into the worktree *before* the `cd`\n(`golem-dispatch.zsh:486`), so a missing directory aborts at the `cp` and drops you back at\nthe shell. The pane looks like it simply never booted — silent lane death (2026-08-09).\n\n**`-w` never creates — `spawn_agent` does.** Use `spawn_agent({repo, cli, worktree:true})`\n(or `worktree:{name|path|branch|base}`) to create\u002Freuse the worktree at launch; `-w` is\nlaunch-in-an-already-existing-worktree only.\n\nAlternative fix (not shipped here): teach the launcher to resolve\u002Fcreate worktree\npaths from bare names — until then, briefs must inline absolute verified paths.\n\n### Model policy\n```bash\n: \"${phase_effort:?Choose effort per \u002Flarge-plan phase before dispatch}\"\norcClaude -s -E \"$phase_effort\"           # claude.judgment: verify role pin and 1M\nbrainlayerCodex -s -m \"$(node scripts\u002Fmodel-roles.mjs codex.implement --field model)\" -E \"$phase_effort\" \"\u003Cphase implementation>\"\n# claude.subagent.cheap: resolve alias for an Agent child; not a visible full pane\n# codex.subagent.mechanical: CANDIDATE, bench before use; do not dispatch\n```\n\nLauncher enforcement is defined by canon #5. Claude reserves full panes for the judgment role; legacy cheap-tier selectors are headless\u002Fsubagent-only. Codex passes explicit model and effort values through; its own runtime validates the requested model. `-p` remains scripted one-shot mode, not a worker\u002Flead session or verification gate.\n\n### Via cmux (spawning from orchestrator)\n```text\nspawn_agent({ repo: \"brainlayer\", cli: \"codex\", model: \u003Coutput of node scripts\u002Fmodel-roles.mjs codex.implement --field model>, effort: \u003Ceffort selected for this \u002Flarge-plan phase>, prompt: \"Fix the FTS5 sync issue in search.py\" })\n→ returns agent_id\n\nwait_for({ agent_id, target_state: \"ready\", timeout_ms: 120000 })\nsend_to({ agent_id, text: \"Keep the fix narrow and cite the changed file\", press_enter: true })\n```\n\ncmuxlayer PR #396 is merged: an explicit Codex `model` is checked against the refreshed runtime\ncatalog from `codex debug models` before a pane is created, then `model` and `effort` are passed to the repoGolem launcher\nas `-m` and `-E`. Pass the resolved `codex.implement` model; omit it only after verifying the launcher's\nbare pin matches the role config. Unsupported models fail before surface creation; if cmuxlayer\nprepared a new worktree first, it rolls that worktree back. At read time `spawn_agent.effort` accepts\n`medium`, `high`, `xhigh`, and `ultra`; use the launcher directly for supported `low` or `max`.\n\n**NEVER do this:**\n```bash\n# WRONG — raw CLI, no launcher\nsend_to({ mode: \"surface\", surface, text: \"source ~\u002F.zshrc && cd $HOME\u002FGits\u002Fbrainlayer && codex --dangerously-bypass-approvals-and-sandbox\" })\n```\n\n---\n\n## WHAT LAUNCHERS HANDLE (so you don't have to)\n\n1. **cd to repo** — changes to the correct directory\n2. **MCP wiring** — builds `.mcp.json` from registry, merges with repo's `.mcp.json`\n3. **Secrets** — sets up 1Password-backed env vars via `ralph-secrets.zsh`\n4. **iTerm profile** — switches to \"Golems\" profile with correct font\n5. **Tab title + badge** — sets emoji + project name (e.g., \"🌔 golemsClaude\")\n6. **BrainLayer project tag** — worktree path becomes the project tag automatically (e.g., `brainlayer-p0-hybrid` → `project:\"brainlayer-p0-hybrid\"`)\n\n---\n\n## HOW TO ADD A NEW PROJECT\n\n1. Edit `~\u002F.config\u002Fralphtools\u002Fregistry.json`:\n```json\n\"myproject\": {\n    \"path\": \"$HOME\u002FGits\u002Fmyproject\",\n    \"displayName\": \"My Project\",\n    \"mcps\": [],\n    \"secrets\": {},\n    \"created\": \"2026-04-05T00:00:00Z\",\n    \"clis\": [\"claude\", \"codex\"]\n}\n```\n\n2. Regenerate launchers:\n```bash\n_ralph_generate_launchers_from_registry\nsource ~\u002F.config\u002Fralphtools\u002Flaunchers.zsh\n```\n\n3. Verify: `which myprojectClaude` should resolve.\n\n---\n\n## CRITICAL GOTCHAS\n\n### `-s` is a LAUNCHER flag, not a Claude CLI flag\n`-s` only works with repoGolem launchers (`brainlayerClaude -s`). When using raw `claude --agent`, you MUST spell out `--dangerously-skip-permissions`. Evidence: `claude --agent skill-creator -s` failed; had to use `claude --agent skill-creator --dangerously-skip-permissions`.\n\n### Codex: resolve the worker role; explicit selections are first-class\nCanon #5 owns launcher policy. Resolve `codex.implement` for `-m` and choose effort per `\u002Flarge-plan` phase\nfor `-E`; verify a bare launcher against the config before relying on its pin. cmux `spawn_agent.model` is equivalent for model\nselection, while its current effort enum is the four-value subset documented above. Verify effective\nvalues from Codex session metadata rather than the agent's self-description.\n\n### `-p` is NOT for agent sessions\n`-p` remains documented only for possible non-agent scripted one-shots; that scope needs Etan confirmation before automation depends on it.\n\n## TROUBLESHOOTING\n\n| Problem | Fix |\n|---------|-----|\n| `command not found: brainlayerClaude` | `source ~\u002F.config\u002Fralphtools\u002Flaunchers.zsh` |\n| Launcher doesn't cd to repo | Check `path` in registry.json |\n| MCP not available in session | Check `mcps` array in registry.json, regenerate |\n| Wrong iTerm badge | Check `emoji` field in registry.json |\n| No launcher for a repo | Add to registry.json, regenerate (see above) |\n| `--agent` flag with `-s` | `-s` is a launcher flag, NOT a Claude flag. Use `--dangerously-skip-permissions` explicitly |\n\n---\n\n## INTEGRATION\n\n| Skill | How repoGolem Integrates |\n|-------|-------------------------|\n| `\u002Fagent-routing` | Routing owns provider selection and Cursor delegation; repoGolem defines the active CLI launchers. |\n| `\u002Fcmux-agents` | `spawn_agent` is the default visible-worker path; repoGolem still defines the launcher names underneath (R10) |\n| `\u002Forc` | R10 iron rule: \"Use repoGolem launcher functions. ALWAYS. NEVER raw CLI.\" |\n| `\u002Fsession-handoff` | Agent resume table includes launcher commands for crash recovery |\n\n---\n\n## REGISTRY LOCATION\n\n```\n~\u002F.config\u002Fralphtools\u002Fregistry.json     — project definitions, MCP configs, CLI lists\n~\u002F.config\u002Fralphtools\u002Flib\u002Fralph-registry.zsh  — generator (creates launcher functions)\n~\u002F.config\u002Fralphtools\u002Flaunchers.zsh     — auto-generated launcher functions (source this)\n```\n",{"name":5,"description":7},"master","3400bc971628f00ab7bf1063993477e211a5508a","skills\u002Fgolem-powers\u002Frepogolem","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems","https:\u002F\u002Fgithub.com\u002FEtanHey","etanheyman.com","2026-11-15 03:05:08",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add EtanHey\u002Fgolems --skill repogolem",{"tool":37,"command":38},"bunx","bunx skills add EtanHey\u002Fgolems --skill repogolem",{"tool":40,"command":41},"pnpm","pnpm dlx skills add EtanHey\u002Fgolems --skill repogolem","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Frepogolem\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"evals\u002Fevals.json","REFERENCE","参考文档",9807,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Frepogolem\u002Fevals\u002Fevals.json",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7C53JEF6A6SS20Q0D2YJYM8","yash","Push dependency bugs upstream. Triggers: dependency bug, workaround, monkey-patch, fork\u002Ffix. NOT app bugs.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fyash\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7C53EPMNSZKHK47VY7WQDP0","whats-new","Diff Claude\u002FCodex\u002FCursor\u002FWispr\u002Fagy changelogs vs local setup. Triggers: whats new, changelog, version bump.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fwhats-new\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7C53C4TVQ9G7AB3X57DACPB","weave","Orchestrator convergence: mine JSONLs, cite findings, route actions. Triggers: weave, run weave.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fweave\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7C5342EDDN7YH53KKW511V2","unslop","Cut AI tells while keeping every receipt, number, path, and hedge intact. Triggers: unslop, cut the slop, wall of text, too verbose, rambly, make this readable. NOT for delivery cadence (see i-have-adhd), channel choice, or artifact length governance.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Funslop\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7C52M0CTDW5DDP4452FJV0G","tmp-block","Guard denying durable writes to \u002Ftmp, \u002Fprivate\u002Ftmp, \u002Fvar\u002Ffolders, $TMPDIR; enforces \u003Crepo>\u002F.worktrees\u002F\u003Cname>. Triggers: tmp guard, TMP-BLOCK deny, WORKTREE-CONVENTION deny, bypass ledger. NOT for storage policy.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ftmp-block\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7C52HN4Q9E1Z74Z11K23E2H","t3-visuals","Show\u002Fvisualize\u002Fchart\u002Fdiagram\u002Fcompare\u002Fstatus board in T3 with compact interactive HTML. Not standalone dashboards.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ft3-visuals\u002FSKILL.md",[],[]]