document
Record a decision, document existing code, or file a supplied research material, in free text; no first word is a mode. Use for…
First-time Archcore setup. Wires the host (MCP config, hooks, CLAUDE.md/AGENTS.md managed block), measures the authored context the repo already holds, then composes a first-day seed — stack rule, run guide, data-model, integrations, config, entry points, public surface, a
Claude Code
$ npx -y skills add archcore-ai/archcore --skill init --agent claude-code
Codex
$ npx skills add archcore-ai/archcore --skill init -a codex -y
Cursor
$ npx skills add archcore-ai/archcore --skill init -a cursor -y
Gemini CLI
$ npx skills add archcore-ai/archcore --skill init -a gemini-cli -y
GitHub Copilot
$ npx skills add archcore-ai/archcore --skill init -a github-copilot -y
OpenCode
$ npx skills add archcore-ai/archcore --skill init -a opencode -y
Windsurf
$ npx skills add archcore-ai/archcore --skill init -a windsurf -y
name: init argument-hint: "[import|refresh] [path or domain]" description: "First-time Archcore setup. Wires the host (MCP config, hooks, CLAUDE.md/AGENTS.md managed block), measures the authored context the repo already holds, then composes a first-day seed — stack rule, run guide, data-model, integrations, config, entry points, public surface, a linked architecture overview, and specs for the top hotspot modules — shown in ONE preview and created on a single confirm. Modes, named as the first word: init import converts the repo's authored context — CLAUDE.md, AGENTS.md, .cursor/rules and other agent instructions, ADR and RFC folders, contributor docs, internal pages of a published docs site, recoverable git history — into native typed documents with no import marks, staged by a plan when the volume is large; init refresh adds facts that appeared since, or drills into one domain with init refresh <domain>. Use on a fresh clone, empty `.archcore/`, 'set up archcore', 'migrate our CLAUDE.md to archcore', 'import our docs and ADRs', or to wire host configs. Not for individual docs or planning."
First-time onboarding. Wires the host, measures the authored context the repository already holds, and fills `.archcore/` from two sources — what people wrote and what the code shows — so the code-alignment hook and per-command grounding have substance from day one. Per `magic-first-day-init.adr` and `init-import-mode.adr`: extractive facts are composed in full; authored content wins over synthesized content on the same subject; the overview is an index, never a prose blob. **Nothing is written before `confirm`.**
Before planning or writing relations, load `skills/_shared/relation-authoring.md`. Apply its claim check to seed and import wiring after reading the endpoint content.
The first word selects the run: `import` or `refresh`. These two words are the command's modes in the sense of `command-surface-v2.spec`. The rest of the arguments is the subject. No arguments, or any other first word, start a plain init.
**Not init** (route elsewhere):
**Mode routing** — evaluated top-to-bottom, first match wins.
| Signal | Route | Flow files | |---|---|---| | First word `import`, and the assessment gate (step 5) finds no authored source | → **no-source**: the no-source report; no gated operation, no confirm, no code seed | `lib/sources.md` "No authored source" | | First word `import` | → **import**: the whole import track, levels L1–L5; no code seed | `skills/_shared/tracks/import.md`, `lib/sources.md` | | First word `refresh` | → **refresh**: plain-init flow with the early-exit bypassed; existing artifacts are **skip (exists)** | as the plain rows below | | Open import plan found (step 3) on a plain init | → report the plan, name `/archcore:init import`, then continue the plain init without new conversion targets | — | | No manifest, no source, no authored source (step 4) | → **empty**: host wiring only, behind its own mini-confirm | `lib/host-wiring.md` "Empty route" | | No manifest and no source, authored sources found | → **import-only**: host wiring + the import track in one preview; no code seed | `skills/_shared/tracks/import.md` | | Anything else | → **plain init**: host wiring + facts + the fill the assessment gate divides | `lib/seed-detect.md`, `lib/seed-compose.md` |
**Fill routing** — what the assessment gate (step 5) decides on a plain init or a refresh. The extractive facts are composed in **every** row.
| Assessment result | Authored sources | Hotspot specs | |---|---|---| | no authored source — nothing found, or every source found is `skip` | none; the announce line names what was checked, and names `/archcore:init import` when deeper levels hold files | the depth's budget over the unchanged ranked pool | | tier `S` (≤ 8 targets) | every target listed in the init preview; converted on the init confirm | budget over the pool **minus** the `coverage_set` | | tier `M` (9–40) or `L` (> 40) | the init confirm creates the import plan and runs wave 1; the closing message names `/archcore:init import` | budget over the pool **minus** the `coverage_set` |
Scale routing (small / medium / large, and what each seeds) lives in `_shared/grounding/detect-scale.md` and `lib/seed-compose.md`. Tier-1 facts are seeded in any scale **w
Git-native project context for AI coding agents.The agent stops guessing and starts following the system. A coding agent can write the code.
Record a decision, document existing code, or file a supplied research material, in free text; no first word is a mode. Use for…
Plan future work, investigate before building, research a topic, or compare the alternatives for a choice. Takes optional free…
The pre-merge review of a branch in a project that records its specs, decisions, and rules in .archcore/. Run this first for…
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.