/core:init [--repo-path PATH] [--profile NAME] [--sections A,B] [--no-branch-protection] [--no-statusline] [--no-attribution] [--interview] [--workspace NAME] [--root PATH] [--spec PATH] [--plan PATH]from core
Installs or refreshes claude-arsenal/ in a host repo, or adds a workspace. Use when the user wants the arsenal set up, updated or a workspace added. Not for queueing tasks.
Ships in core. 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.
Bootstraps the claude-arsenal/ framework in the host repository. Run once per repo;
re-run to add workspaces or refresh the bundle. The script prints what it created,
refreshed and skipped, so relay its output rather than re-describing it. The parts
below are the ones that need the user.
CANARY: init-loaded-2026-06-13-fb78d23e-a1b2c3d4e5f6a7b8
/arsenal-init is this skill under a name Claude
Code's built-in /init does not share; tell users to type that one.claude-arsenal/ setup.Every installed skill adds a row to the skills listing of every future session in
this repo, so ask before installing, when arsenal/config.toml has no [skills]
table yet:
What kind of project is this? python (adds the Python toolchain skills), general (spec/design/execute/review/ship), or minimal (queue and GitHub only)?
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --profile general
Take the answer from the user rather than the file tree: a repo with .py files is
not necessarily one whose release process this bundle should advise on. The profile
is written as an editable [skills] table; --sections workflow,python names
sections directly instead.
On a first install, whenever init prints SETUP INTERVIEW PENDING (no
setup-interview in arsenal/config.toml, on any run, --silent included), or when
the user asks to redo setup (/init --interview), ask these in one AskUserQuestion
with the defaults first, before picking up other work. Answering records
setup-interview with the date; a user who skips it gets --interview-declined,
which records "declined", and neither is asked again.
ask-when-blocked (default), ask-often,
autonomous.balanced (default), fast, strict.review-bots; none means CI-only)? Then
which manual review triggers to post: offer what init.py --suggest-bot-triggers
prints for them. CodeRabbit skips auto-review on repos under 10
stars; on a public repo recommend @coderabbitai review (about one on-demand
review per hour). On a private Free-plan repo it posts only a summary, so the
local adversarial review stands in.solo-trust (agent merges all; high-risk flagged
to ratify), solo-gated (a human approves medium and high), team (0/1/2 humans),
manual, or skip to keep merge-policy alone. Optionally, paths that always need a human.
With solo-trust or solo-gated, also ask whether a digest approval counts as the
user's (--digest-decisions true): needed when PRs are opened with their own account.--merge-policy)? Always ask this
one, even when the others are skipped. never (default: a human merges every PR),
after-ci-and-review (green checks and an answered review), after-ci (every
required check reported green), after-review (a review landed and its comments are
answered; CI not consulted), always (the local gates are the bar). Say that with
any value but never the agent merges its own PRs by itself once merge_ready.sh
passes, without asking, so the choice is how much the repo's CI and reviewers must
catch before code reaches the default branch.Pass only what was answered; a skipped question writes nothing and keeps its default:
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --autonomy autonomous \
--verification balanced --review-budget-min 10 --bot-wait-min 20 \
--review-bots "reviewbot[bot]" --bot-triggers "reviewbot[bot]=@reviewbot review" --review-preset solo-trust \
--merge-policy after-ci-and-review
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --interview-declined # skipped
Init runs non-interactively, so it prints what is undecided and the session asks:
HOST-GATE UNSET — ask what must pass before a PR opens, offering init's
suggestion, and write it as host-gate in arsenal/config.toml. "No gate" is a
valid answer, recorded as host-gate = "none"; an empty value means nobody
decided, and init keeps asking.PREFLIGHT-GATE UNSET — ask for the fast, change-scoped slice (lint/typecheck the
changed files, the tests the change selects) and write it as preflight-gate.
Review rounds run it instead of the full host-gate.MERGE-POLICY is … — confirm the value against the repo's real CI and review
tooling in the same question; a repo with no CI should not stay on after-ci.
For a private repo or one with no CI, init recommends always with a real
host-gate and pre-pr-review = "required"; say the trade-off (nothing
independent re-runs the local gates) and change only what the user confirms.
Load claude-arsenal/references/ci-minutes.md when the user asks
about CI cost or the per-PR trigger block.branch-protection. When it cannot, it prints the reason
and the manual step; pass both to the user. branch_protection.py (in
claude-arsenal/scripts/) re-runs it: --dry-run previews, --force adds to an
existing rule.repo_health: GAP … — that first run also lists repository housekeeping that is
missing (description, topics, homepage, a main default branch, secret
scanning, a release for the newest tag, a PyPI page that links back), each with
its fix command. Show the list and run only the fixes the user confirms; a
NOTE line is a decision for them, not a fix. repo_health.py re-runs it.
Load claude-arsenal/references/repo-housekeeping.md when a gap is
a missing license (the user chooses it; the reference has the questions to ask)
or names a package index, and before a package's first publish..arsenal-vendored marker, so a same-named
folder without it keeps the shipped skill out. Ask the user whether to remove or
rename theirs, then re-run.python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --silent # session-start refresh
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --list-sections # capability map, read-only
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --section python # one section's skills
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --workspace BACKEND --root ./backend/
python3 "${CLAUDE_SKILL_DIR}/scripts/init.py" --repo-path . --uninstall # dry run; --apply removes
--uninstall removes only what is still exactly as init wrote it and never
arsenal/; show the user its list before running it with --apply.
--silent is what the session-start protocol runs; it refreshes stale bundle
files and prints an upgrade banner when the plugin is newer. --workspace NAME
creates arsenal/project/<NAME>/ stubs and updates arsenal/project/overview.md.
claude-arsenal/, the host owns arsenal/. Re-runs overwrite
stale bundle files by checksum and never touch arsenal/ (tasks, project data,
settings). A file or vendored skill with uncommitted changes is left as is and
reported MODIFIED LOCALLY; relay that line, since the user must commit or discard it.~/.claude/, so what reaches it is the vendored .claude/skills/
and the hooks in .claude/settings.json — commit both.detect_surface.sh does not run there, so tasks that
declare requires: wait until it is run by hand; tasks without requires: are
eligible everywhere.CLAUDE.md, not a nested one.README.md's title once and records attribution = true; a host that deletes
the block keeps it deleted, and attribution = false (or --no-attribution)
stops it being added. It is announced even on --silent, and the closing
git add line names README.md when the badge is there.statusLine for the token-budget
stop unless one is already set (project or ~/.claude/settings.json) or
--no-statusline is passed.--allow-downgrade is for recovering a broken install.assets/AGENTS.md (opens in a new tab)assets/CHANGELOG.md (opens in a new tab)assets/agents/reviewer.md (opens in a new tab)assets/agents/worker.md (opens in a new tab)assets/bin/_timing.sh (opens in a new tab)assets/bin/adversarial_review.sh (opens in a new tab)assets/bin/budget_check.sh (opens in a new tab)assets/bin/check_skill_workshop_loaded.sh (opens in a new tab)assets/bin/check_update.sh (opens in a new tab)assets/bin/claim_review.sh (opens in a new tab)assets/bin/claim_task.sh (opens in a new tab)assets/bin/compact_resume.sh (opens in a new tab)assets/bin/detect_surface.sh (opens in a new tab)assets/bin/fast_gate.sh (opens in a new tab)assets/bin/gate_run.sh (opens in a new tab)assets/bin/gate_target.py (opens in a new tab)assets/bin/github_channel.sh (opens in a new tab)assets/bin/host_setup.sh (opens in a new tab)assets/bin/mark_skill_workshop_loaded.sh (opens in a new tab)assets/bin/mark_skill_workshop_loaded_from_prompt.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nuncaeslupus/claude-arsenal --plugin coreOther plugins' skills for the same job
23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./coverage-gapsRanks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code.