/autonomous-fleet:setup-autonomous-fleetfrom autonomous-fleet
User-invoked setup only — do not auto-activate. Configure a repo for autonomous-fleet: runtime adapter, branch prefix, default campaign bundle, optional community installs. Run when the user says setup autonomous fleet, configure fleet, or first fleet run on a repo.
Ships in autonomous-fleet. 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.
Scaffold per-repo fleet configuration so coordinators, fleet-program, and missions start
with consistent defaults. Prompt-driven — explore, confirm with the user, then write.
Read what already exists; do not assume:
git rev-parse --show-toplevel, git remote -v, default branchCLAUDE.md / AGENTS.md — existing agent sections?docs/agents/fleet-config.md — prior setup output?DECISIONS.md — recorded BRANCH_PREFIX or adapter choice?.agents/skills/ or host skill dirs — which fleet skills are installed?gh auth status — PR workflow available?Walk the user through the sections sequentially — A–C are decisions, D is an optional install, E is detect-and-record only. Each section: short explainer, choices, default.
Section A — Runtime adapter.
Which host will run fleet coordinators? This picks the adapter skill that maps engine primitives to real commands.
| Choice | Adapter skill |
|---|---|
| Orca (recommended) | autonomous-fleet-adapter-orca |
| Grok Build | autonomous-fleet-adapter-grok |
| Claude Code | autonomous-fleet-adapter-claude-code |
| OpenAI Codex | autonomous-fleet-adapter-codex |
Default: Orca — reference runtime with structural build-blind review and native orchestration. Use another adapter only when Orca is unavailable.
Section B — Branch prefix.
Fleet missions branch as
<prefix><task-slug>. Default derives from gituser.name(slugified) orfleet/.
Confirm override or accept default (fleet/ or slugified maintainer name).
Section C — Default bundle.
When intent is vague, which
fleet-programpreset should the umbrella suggest?
| Bundle | Preset | When |
|---|---|---|
| Fix my repo | repo-health | Docs/tests/cleanup pass |
| Ship safely | ship-with-proof | Pre-merge hardening |
| Finish product | align-then-ship | Tier 3 — explicit only |
| Production check | quality-gate | Readiness without full doc-sync |
| Single mission | none | User always names a mission |
Default: repo-health.
Section D — Community skills (optional).
Third-party skills attach as Optional/Worker only — see
community-skills.md. Install per bundle, not the full catalog. Gstack-derived missions declarecommunity-recommendswithmode: warn;preflight-community.shprints hints when bundles are absent.
Ask which bundle ids apply (gstack-browser, gstack-security, gstack,
agent-skills, mattpocock). Map the default campaign preset (Section C) to bundles when
obvious (e.g. quality-gate → gstack-browser). Record choices in fleet-config.md; do not
install without user consent.
When the user confirms, print or run:
./scripts/install-community.sh <bundle-id> --dry-run
# after explicit consent:
./scripts/install-community.sh <bundle-id> --execute --host <adapter-host>
Section D2 — Authorship mode.
How should fleet commits record agent involvement? Default
attributed: commits are authored as the maintainer AND carry a Co-Authored-By trailer naming the agent — transparent provenance. Choosemaintainer-onlyonly if this repo's contribution policy forbids trailers; that choice is recorded.
Section E — Substrate path (no user decision; detect and record).
Resolve where the Python verification substrate lives and record it as
SUBSTRATE_PATH in fleet-config.md:
./scripts/validate_run_archive.py exists) → scripts/..agents/skills/autonomous-fleet-core/assets/substrate/
(ships with autonomous-fleet-core; version pinned in its
substrate-manifest.json).SUBSTRATE_PATH: none and note that the four
verification layers run as prose-only disciplines until the core skill is
installed.Offer to install the substrate's Python deps into the repo's environment
(python3 -m pip install -r <SUBSTRATE_PATH>/requirements.txt) — ask before
touching any environment.
Also probe for a published docs-site toolchain (docusaurus.config.,
mkdocs.yml, docs/conf.py, starlight in astro.config.) and record
LEDGER_DIR accordingly (.fleet/docs/ when found, else docs/) — fleet
ledgers must never break or publish through a site build.
Also probe which research tools exist on this host (monid on PATH, a
Context7/library-docs MCP, a deep-research-class skill) and record them as
RESEARCH_TOOLS in fleet-config.md; record native-web when none are
found (engine-workers.md RESEARCH DISCIPLINE resolves through this field first).
Show draft of:
docs/agents/fleet-config.md (see references/fleet-config-template.md)## Autonomous fleet block for CLAUDE.md or AGENTS.mdLet the user edit before writing.
Pick host doc: edit CLAUDE.md if present, else AGENTS.md, else ask which to create.
Update ## Autonomous fleet in-place if it exists — no duplicate blocks.
Write docs/agents/fleet-config.md.
Append a one-line setup record to DECISIONS.md with adapter, prefix, bundle, date.
First detect install mode — the helper scripts only exist in a framework clone, not in a
skills-installed repo (npx skills copies only skills/ into .agents/skills/, never
scripts/):
if [ -f ./scripts/install-skills.sh ]; then echo clone; else echo skills-install; fi
Skills-install mode (no ./scripts/) — the common case. Print npx skills commands; do
not reference ./scripts/*, which is not shipped here:
npx [email protected] add https://github.com/ravidsrk/autonomous-fleet \
--skill setup-autonomous-fleet \
--skill autonomous-fleet \
--skill autonomous-fleet-core \
--skill fleet-program \
--skill autonomous-fleet-adapter-<chosen> \
--skill doc-sync \
-y
# or every skill: --skill '*'
Clone mode (./scripts/install-skills.sh present) — contributor path:
./scripts/install-skills.sh --all
# or minimal:
./scripts/install-skills.sh autonomous-fleet fleet-program autonomous-fleet-core \
autonomous-fleet-adapter-<chosen> doc-sync
For community bundles, print install commands from
skills/autonomous-fleet-core/references/community-skills.md.
Skills-install mode (no ./scripts/) — there is no ./scripts/run-campaign.sh to call.
Confirm the install instead: the listed skills now resolve under .agents/skills/, and the
chosen adapter is among them. Drive the first run interactively from the agent's chat
(/setup-autonomous-fleet is done; invoke a mission or fleet-program next).
Clone mode — suggest a headless dry-run:
./scripts/run-campaign.sh <adapter-runtime> --preset <bundle> --dry-run
Coordinators read docs/agents/fleet-config.md during SELF-ORIENTATION (override defaults
there over engine defaults when present). Re-run this skill when changing adapter, prefix, or
default bundle.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (ravidsrk/autonomous-fleet) — no native marketplace selected
npx claudepluginhub p/ravidsrk-autonomous-fleet12 skills in this plugin
/adversarial-review-and-fix[Tier 2 · moderate autonomy · full review gate · the proven two-phase workhorse] Run a rigorous CODE-GROUNDED adversarial architecture review of a repo, FREEZE it as the source of truth, then close every confirmed finding one at a time until done. Use for a security/architecture/ reliability hardening pass, a pre-production audit-and-remediate, or "review the whole app and fix everything." Phase 0 reviews the actual source (not existing docs) and a skeptic narrows out false findings; Phase 1 fixes the confirmed set with full safety rails. Runs via the autonomous-fleet-core engine. Trigger on: "adversarial review and fix", "audit and remediate", "review the whole app and fix the issues", "harden this before production", "find and fix the architecture problems"./autonomous-fleetEntry point for the autonomous-fleet multi-agent engineering framework. Use whenever the user wants fully-autonomous coding runs, multi-agent orchestration, PR-per-task pipelines, or mentions autonomous-fleet — even if they have not named a specific mission yet. Routes to one mission or to fleet-program for sequential chains, loads autonomous-fleet-core plus a runtime adapter, and runs unattended on the current repo. Install from github.com/ravidsrk/autonomous-fleet. Trigger on: "use autonomous-fleet", "run autonomous fleet", "autonomous multi-agent run", "fleet mission", "which fleet mission should I use".