/kuru:init [--stack node|pnpm|python|go|gradle|maven|cargo] [--profile DIR|URL] [--reuse-check off|warn|block] [--force]from kuru
Scaffold a Kurukuru workspace (.kuru/) in the current repo.
Ships in kuru. Installing the plugin adds it to Claude Code.
Use the kuru-method skill for context.
Runs kuru init to scaffold a .kuru/ workspace in the current directory — creating
config.json, ledger.json, charter.md, progress.md, README.md, and init.sh.
It does not ask discovery questions; that is /kuru:charter's job.
Parse $ARGUMENTS for known flags:
--stack <tool> — one of node pnpm python go gradle maven cargo--profile <DIR|URL> — a catalog of reusable single-stack environment
profile JSONs (one file per build flavor). Point it at a local directory
of *.json files, a single .json file, or an http(s) URL to a hosted
catalog (GitHub/GitLab/Bitbucket). /kuru:charter matches each profile to an
app. Stashed under .kuru/profiles/.--reuse-check off|warn|block — seed a dupehound check duplicate-code gate
into config.json top-level repo_gates (default off), so it runs repo-wide for
every slice and survives the charter's conversion to a multi-app config. warn is
advisory (WARN, never blocks); block is required (must be green or kuru gate --waive'd to verify). Needs the dupehound binary on PATH at gate time. Only pass
it if the user asks for it.--force — re-scaffold files even if .kuru/ already existsCheck if .kuru/ already exists. If it does and --force was not passed,
tell the user and stop — do not overwrite silently.
If --profile is a URL, materialize it to a local directory first. A hosted
catalog (GitLab/GitHub/Bitbucket) often sits behind auth.
*.json profiles into a temp directory, then
pass that directory as --profile <tempdir> below.kuru.py can list a
GitHub contents API or GitLab repository-tree API URL itself and reads
GITHUB_TOKEN / GITLAB_TOKEN for private repos. (It has no Bitbucket
fetcher — Bitbucket needs a skill, or download the profiles yourself.)
For a local directory/file, skip this step.Build the command from the parsed flags and run it:
python3 "${KURU_PY:-${CLAUDE_PLUGIN_ROOT}/scripts/kuru.py}" init [--stack STACK] [--profile DIR|URL] [--reuse-check off|warn|block] [--force]
Only include a flag if the user supplied it. --profile takes a single
location (use the temp directory from step 3 if you materialized a URL).
Show the output verbatim so the user can see what was created.
Point to next steps:
/kuru:charter — it will pre-fill from your
profile, confirm the values, then write the authoritative config.json."--stack was given but no profile: "Run /kuru:charter to tailor the
gate commands to this repo, then /kuru:spec <feature> to start your first
feature."/kuru:charter to set up the technical environment and write
the first charter."Also remind the user of the optional KURU_PY env-var tip printed by the engine.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub ultish/kurukuru --plugin kuru15 commands in this plugin
/bearingsGet your bearings at the start of a session (recover from a context reset)./buildBuild the next ready slice (or a named one) via the builder subagent./charterRun a discovery session and write the shared-understanding charter./check-contractCheck ContractReview a slice's frozen contract for satisfiability + verifiability BEFORE building it (advisory). Run after slicing to catch unbuildable/unverifiable acceptance criteria cheaply./loopArguments (`$ARGUMENTS`)Autonomously run the build→verify→review→ship loop over ready slices until the board is clear — or, given a slice id, drive just that one slice to done and stop (review runs when the workspace has it on — the default; toggle with `kuru set-review`). Requires charter + spec + frozen slices to already exist./loop-workflowPreferred driver: board runner (portable)Drive ready slices through PER-SLICE build→verify→review→ship pipelines. Prefer the portable board runner (python3 -m board); Claude Code dynamic Workflow remains an optional Claude-only path. Same-target serial, different-target parallel. Optionally scope to a single slice or a comma-separated set.Other plugins' commands for the same job