/compound-engineering:ce-setup [pack:<id> | standards] [mode:non-interactive]from compound-engineering
Check RocketClaw's tools and repo config and fix what it finds, scaffold a Compound Pack with `pack:<id>`, or draft and refresh coding standards and review docs from pull request history. Use when setting up or diagnosing RocketClaw, or when creating or updating CODING_STANDARDS.md or REVIEW.md, including on a schedule.
Ships in compound-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
RocketClaw's deep delegation requires OpenCode V2 with experimental.subagent_depth at least 3. Tell the user to merge "experimental": { "subagent_depth": 3 } into the existing ~/.config/opencode/opencode.json, or use opencode debug paths / opencode debug paths config to locate the actual global opencode.json(c). Preserve unrelated settings, sibling experimental fields, and any integer depth above 3; update the existing file without replacing it or creating a competing file. Installing the plugin does not merge its bundled project config into the consuming project, and higher-precedence settings must also leave the effective value at least 3. Follow references/opencode-configuration.md to verify that value. Report this prerequisite even when there is no writable workspace, and never edit the user's global config as part of setup.
Run non-interactively when the arguments contain mode:non-interactive, or when the request makes unattended intent unmistakable, such as a scheduled or CI job, or a caller asking for a run "headless", "unattended", or "without questions". "Automatically" alone is not that signal: it says when setup runs, not whether anyone can answer. When the signal is absent or unclear, run interactively. Strip the token before reading the rest of the arguments. A non-interactive run asks nothing and follows references/non-interactive.md, which replaces every offer, question, and approval in this file and its references.
In an interactive run, ask each question below with the host's blocking question tool, and never silently skip or auto-configure. Read references/communication.md from this skill's directory before your first offer. It says how to reach that tool and what each offer, question, and preview must tell the user.
When the invocation names a Compound Pack to add, create, or scaffold (the pack:<id> argument, or the same request in words), read references/pack-scaffold.md from this skill's directory and follow it in place of Phases 1-2: it writes the pack and its config entry only after the user approves, runs the health check itself, and reports into Phase 3 (Summary).
When the invocation asks to draft, refresh, or update coding standards or review docs (the standards argument, or the same request in words), read references/project-docs.md and follow it in place of Phases 1-2, drafting the whole set of files even when the request names one. Report into Phase 3.
Every RocketClaw skill that reads or writes an artifact tree (solutions, plans, and others) resolves its root by this rule. Step 2 reports the resolved root.
Resolve the artifact root <root> before composing any artifact path.
docs_root from <repo-root>/.rocketclaw/config.yaml only (<repo-root> = jj workspace root). Do not read it from config.local.yaml. Unset -> <root> is docs, exactly as before..git/ or .jj/. Otherwise stop with an error naming docs_root and the value -- never fall back to docs.<root> as the sole artifact location: create it if absent, compose each path as <root>/<subdir> with this skill's own subdirectory, and never also read docs.Detect the installed RocketClaw plugin version by reading the plugin metadata or manifest when the platform exposes it. If the version cannot be determined, skip this step.
If a version is found, pass it to the check script via --version. Otherwise omit the flag.
Before running the script, display:
RocketClaw -- checking your environment...
Run the bundled check script. Set SKILL_DIR to the absolute directory you loaded this ce-setup SKILL.md from — the Bash tool's CWD is the user's project, not the skill dir, so a bare scripts/ path will not resolve:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
if [ -f "$SKILL_DIR/scripts/check-health" ]; then bash "$SKILL_DIR/scripts/check-health" --version VERSION; else echo "Bundled health script not found at $SKILL_DIR/scripts/check-health; run the inline checks from ce-setup instead."; fi
Use the same command without --version VERSION if Step 1 could not determine a version.
If the script is unavailable, run the inline equivalent listed in references/repo-fixes.md.
Display the diagnostic output to the user. The health report includes the resolved artifact root and which config layer supplied it (per Artifact Root Resolution above); show that line so the operator can confirm where artifacts will be written. Missing config.yaml is a reported absence, not a project issue. Use the native checks in references/opencode-configuration.md before calling configured routes usable: the script validates their shape, not model availability or permission to dispatch.
Repo-local fixes the health report names apply only to the checkout that report diagnosed. If Phase 2 will write to a different writable checkout, diagnose that checkout first. Session-level findings such as plugin version and optional tools still come from this session's Phase 1.
After the health report, decide Phase 2 from writable-checkout availability:
project_issues is 0. Phase 2 always refreshes the example and always offers to create config.yaml when that file is missing.If the report names a legacy Compound Codex tool map, offer to remove it following references/legacy-codex-tool-map.md whether or not Phase 2 runs. The separate compatibility npm cache warmer remains available by request (references/acpx-cache-warm.md); native RocketClaw delegation does not need it.
Phase 2 remediates every project issue the report names, each in its own step of references/repo-fixes.md. That includes an out-of-date config.yaml, retired config keys, a ce-work implementation engine the report marks unavailable or invalid, and malformed dormant work_engine_preferences or work_engine_effort.
Read references/repo-fixes.md from this skill's directory before making any repo-local change. It remediates every project issue the report names and carries Steps 4-10: removing the obsolete local settings file named in the health report, refreshing the example config, refreshing out-of-date config files with their settings kept, offering to create config.yaml, repairing invalid work_engine_preferences and docs_root, the two .gitignore offers, and the agent-instructions offers (a knowledge-store mention, the compounding directive, and the chat-register directive for ce-noslop), and the offer to draft the project's review docs.
Every change to a user-owned file is offered and applied only if the user approves.
User-runnable invocation rendering. In setup summaries, default to /ce-setup and /ce-help; use $ce-setup and $ce-help only when the active host is Codex or explicitly documents dollar-prefixed skill invocation. On oh-my-pi (omp), keep /ce-setup and use /skill:ce-help. Render only the invocation as inline code and output one form only.
Write the summary that references/summary.md describes. End it with these two lines, with the rendered invocations filled in:
Run `<rendered invocation>` anytime to re-check.
Run `<rendered ce-help invocation>` to ask which skill fits or what comes next.
assets/compounding-directive.md (opens in a new tab)assets/noslop-directive.md (opens in a new tab)assets/pack-rule-template.md (opens in a new tab)references/acpx-cache-warm.md (opens in a new tab)references/communication.md (opens in a new tab)references/config-refresh.md (opens in a new tab)references/config-template-lines.txt (opens in a new tab)references/config-template.yaml (opens in a new tab)references/legacy-codex-tool-map.md (opens in a new tab)references/non-interactive.md (opens in a new tab)references/opencode-configuration.md (opens in a new tab)references/pack-scaffold.md (opens in a new tab)references/project-docs.md (opens in a new tab)references/repo-fixes.md (opens in a new tab)references/retired-config-keys.yaml (opens in a new tab)references/summary.md (opens in a new tab)scripts/check-health (opens in a new tab)scripts/config-refresh.py (opens in a new tab)scripts/packs-resolve.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
38 skills in this plugin
/ce-babysit-prBabysits an open GitHub PR until merge-ready, first judging whether an old PR still belongs. Use when asked to watch a PR over time or update an old one — not for one-shot comment resolution or one CI failure. GitHub (incl. Enterprise) only./ce-bakeoffDevelop independent competing solutions to a defined brief, compare them, and synthesize a winning approach. Use when choosing well requires developing alternatives beyond their current form. Use ce-pov to judge developed material and ce-ideate to discover opportunities./ce-brainstormExplore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm or scope what to build. Not for executing already-specified work. Use ce-pov for a verdict on adopting a named external technology./ce-code-reviewReview a named diff or PR for bugs, regressions, tests, and standards. Use when asked to review code or when a shipping skill needs a review receipt. Use when asked to apply this review's findings locally. Use ce-resolve-pr-feedback for feedback already left on a PR./ce-commitCommit local Jujutsu changes with a clear, value-communicating message. Use when the user asks to commit or save working-copy changes with a repository-appropriate message./ce-commit-push-prCommit, push, and open a PR. Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body.npx claudepluginhub ucirello/compound-engineering-plugin --plugin compound-engineering