architecture
Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate…
Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the Bootstrap Gate when CLAUDE.md, Session Config, or bootstrap.lock is missing. Also available as /bootstrap for manual invocation. Three intensity tiers:
Claude Code
$ npx -y skills add Kanevry/session-orchestrator --skill bootstrap --agent claude-code
Codex
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a codex -y
Cursor
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a cursor -y
Gemini CLI
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a gemini-cli -y
GitHub Copilot
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a github-copilot -y
OpenCode
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a opencode -y
Windsurf
$ npx skills add Kanevry/session-orchestrator --skill bootstrap -a windsurf -y
name: bootstrap user-invocable: true disable-model-invocation: true argument-hint: "[--fast|--standard|--deep] [--no-interview] [--upgrade <tier>]" tags: [bootstrap, setup, scaffold, init] model: sonnet model-preference: sonnet model-preference-codex: gpt-5.4-mini model-preference-cursor: claude-sonnet-4-6 description: > Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the Bootstrap Gate when CLAUDE.md, Session Config, or bootstrap.lock is missing. Also available as /bootstrap for manual invocation. Three intensity tiers: fast (demos/spikes), standard (MVPs), deep (production/team).
The user invokes `/bootstrap` with arguments: **$ARGUMENTS**. Direct invocation runs with `INVOCATION_MODE = direct` (see § Invocation Context) and is standalone: after bootstrap completes, report the files created and the git commit hash, and do NOT automatically continue into any other skill.
**TL;DR — for first-time users:** Run `/bootstrap` with no flags. The skill auto-detects the right tier (fast/standard/deep) from your repo, recommends one with a one-line reason, then walks a **fixed questionnaire** — tier/stack (1–2 prompts), owner persona (5), dispatcher autonomy (1); **7–9 prompts** on a first-run full bootstrap. Bestätigen → fertig. Keine weiteren Schritte.
The flags below cover special cases (re-adopting an existing repo, upgrading a tier, syncing rules). If you don't recognize the case in the description, you don't need the flag.
> **Instruction file alias:** Bootstrap creates and reads `CLAUDE.md` (or `AGENTS.md` on Codex CLI). The two are transparent aliases — pick one, never both. Resolution rule: see `skills/_shared/instruction-file-resolution.md`.
This is the path 95 % of users want.
| Invocation | Behavior | |------------|----------| | `/bootstrap` | Auto-detect tier (fast / standard / deep) from repo context. Present recommendation via `AskUserQuestion` with options to confirm or override. Tier/stack: 1–2 questions; first-run full bootstrap adds owner interview (5, `owner-interview.mjs`) + dispatcher-autonomy capture (1). Then scaffold files + commit. |
What the user sees:
Skill: "Repo leer. Empfehle 'standard' weil <reason>. Passt das?" User: [Enter on "standard (Empfohlen)"] Skill: <writes files, commits, prints summary>
Only use a flag if you have one of the situations described. Parsed flags decide the mode dispatch in § Invocation Context — `--fast` / `--standard` / `--deep` skip the tier confirmation question, while `--retroactive`, `--refresh-lock`, `--sync-rules` and `--ecosystem-health` are standalone short-circuit flows that run to completion in this skill without dispatching to a tier template.
| Flag | When to use it | |------|----------------| | `--upgrade <tier>` | You bootstrapped `fast` earlier and now need `standard` or `deep`. Idempotent — writes only the delta. Refuses downgrade. Valid: `fast → standard`, `fast → deep`, `standard → deep`. | | `--retroactive` | The repo already has `CLAUDE.md` (or `AGENTS.md` on Codex CLI) + `## Session Config` but no `bootstrap.lock` (manually bootstrapped before the gate existed). Writes the lock based on file inventory; **makes no scaffolding changes**. Commit: `chore: bootstrap lock (retroactive)`. | | `--refresh-lock` | Your `bootstrap.lock` already has valid `version`/`tier` fields but the freshness probe flags it as stale or plugin-version-drifted — `--retroactive` is a no-op here. Acknowledges the current plugin version and resets the freshness clock (`refreshed-at` + `refreshed-plugin-version`) without touching the lock's original bootstrap provenance. Also appends missing store-lock `.gitignore` lines. No scaffolding, no auto-commit. | | `--sync-rules` | Pull canonical rules from the plugin's `rules/` library into `.claude/rules/`. Preserves local rules (files without the plugin source header). Standalone — does not touch `bootstrap.lock`. | | `--ecosystem-health` | Run the ecosystem-health wizard: detects CI provider + package manager, prompts for health endpoints, pipelines, and critical issue labels. Writes the config block + `.orchestrator/policy/ecosystem.json`. No scaffolding, no auto-commit. | | `--fast` / `--standard` / `--deep` | Skip the tier confirmation question (e.g., for scripted runs). Equivalent to running `/bootstrap` and selecting that option. | | `--no-interview` | Non-interactive run (scripted or headless). No `AskUserQuestion` and no numbered-list question anywhere — tier, archetype, vault, owner interview, dispatcher autonomy. This row is the contract; the phase sites below only point here. Defaults: tier = `RECOMMENDED_TIER` (a tier flag wins); archetype: public path → detected or `node-minimal`, private path → detected or abort with a one-line error (`private-contract.md` § Select) — never the public default on the private path; vault registration skipped; dispatcher autonomy = `off` without asking; `owner.yaml` not written. Never end a turn on a question: if a required value cannot be defaulted, abort with a one-line error. |
All flag-driven flows are idempotent — running twice with no upstream change is a no-op.
This skill runs when the Bootstrap Gate is closed (missing CLAUDE.md, Session Config, or `.orchestrator/bootstrap.lock`) or when the user invokes `/bootstrap` directly. It scaffolds the minimum structure required by all session-orchestrator skills, commits it, and writes the lock file that opens the gate for all future invocations.
**Anti-bureaucracy contract:** On a first-time full bootstrap (no tier flags, no `--no-interview`), expect **7–9** `AskUserQuestion` prompts in three fixed blocks — not an open-ended wizard. (1) **Tier/stack** (Phase 2): one tier-confirmation question, plus an optional second archetype question when `PATH_TYPE = public` and archetype confidence
Your coding agents get an agreed plan, a check after each round of changes and a handover to the next session. A free, MIT-licensed workflow plugin for people running Claude Code, Codex CLI, Cursor IDE or Pi on a git repository.
Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate…
Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan → wave-executor →…
Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue (3-5 AUQ…
Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / _meta narrative and live repository state. Ten…
Monitor iterative improvement loops for convergence. Three signals — shrinking diff, pass-rate plateau, velocity — drive a…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.