Skip to content

Plugin Skills Reference

Plugin

Every command shipped with the Archcore plugin, with its outcome and flags. For grouped coverage with examples, see Skills. For the document types these commands produce, see Document types.

CommandOutcomeArguments and flags
/archcore:initMake your repo legible to AI agents--depth=light|standard|deep, --mode=small|medium|large, --domain=<slug>, --refresh
/archcore:planTurn a request into the document package it needs[topic], plus an optional expert path: sdd, sources, iso, research, rnd, evidence, a route name, or a document type
/archcore:documentRecord a decision or document what lives in code[module, topic, or decision], plus an optional type: adr, rfc, spec, doc, guide, rule, research, evidence
/archcore:reviewCheck your changes and your docs against each other--deep, --drift, and an optional path, tag, or scope

Path, route, and type names are positional, not flags. /archcore:plan iso payment gateway runs the ISO links directly.

--depth sets the synthesis budget and is independent of --mode. Extraction runs at every depth.

DepthHotspot specsCross-cutting rulesAuthored filesRelations
light10% of the ranked pool, floor 3Every candidate over the recurrence thresholdLinkedBasic
standard (default)25% of the ranked pool, floor 4Every candidate over the recurrence thresholdLinkedBasic
deep60% of the ranked pool, floor 6Every candidate over the recurrence thresholdExtracted and split; authored decisions become adr documentsEnriched, spec to rule and spec to spec

The spec budget is max(floor, round(rate × pool size)), clipped to the pool size, with no absolute maximum. It is a ceiling, not a quota: a 5-module pool yields at most 5 specs at deep. A 214-module pool budgets around 54 specs at standard, a 12-module pool budgets 4. Large mode adds a floor of one spec per selected domain and fills the rest by repo-wide rank; a --domain re-run applies the same formula to that domain’s narrowed pool.

Above 25 specs the preview carries a high-volume notice naming the spec count, the estimated tokens, and the cheaper depth. Nothing is written before the single confirm.

The skill computes a route from grounding before it creates anything, announces the route, then runs the instruments that route names. Naming an expert path skips the computation.

ValueValues it can take
Δ (canon delta)creates, modifies, retires (capability lists), decision, intent_gap
Π (gap profile)machine, user, world, undecided, empirical
M (maturity)pencil, stone
R (risk flags)external-contract, data-migration, security-compliance, irreversibility, multi-team
RouteFires whenPackageBase size
nullEvery Δ list empty, no decision, no intent gapNothingS
decisionOnly a settled choice is deltaadr, or rfc for an open proposalS
amendmentmodifies names an existing capabilityCode-wrong or spec-wrong verdict against that capability’s specS
capabilitycreates holds one capabilityspec and plan, plus a prd when intent_gap exceeds that capability’s purposeM
umbrellacreates holds two or more capabilitiesUmbrella prd, one spec per capability, one planL

Additions and escalations apply on top of the matched route:

ConditionEffect
The delta introduces an operational procedureAdds one guide
R carries data-migrationAdds a migration runbook guide
A decision or amendment implementation spans two or more tasksAdds one plan
M is stone, or R is non-emptyRaises the size label one step; the announcement names the raising flag
R carries security-complianceEscalates the flagged capability into the ISO links, and raises the size label one more step

Size labels run S, M, L, XL and cap at XL. They are derived, never asked.

SourceAction
machineCompose from grounding with no question, citing the artifact
userInterview within the question ceiling
worldResearch instrument, producing a research or an rnd by the closing test
undecidedDecision instrument, producing an adr or rfc
empiricalTimeboxed spike, producing an rnd that holds Goal, Questions, and Findings only
NamedPathRelations created
sddprd → spec (one per capability) → planspec implements prd, plan implements spec
sourcesmrd → brd → urdThe three source documents are peers, related rather than implementing
isobrs → strs → syrs → srsbrs implements mrd and brd, strs implements brs and urd, syrs implements strs, srs implements syrs
researchframe → gather → conclude, type fixed to researchresearch related the idea or prd it informs, when one exists; evidence supports or contradicts the investigation when gather files a material
rndframe → gather → conclude, type fixed to rndrnd related the idea or prd it informs, when one exists; rnd depends_on research when a territory map exists
evidencegather only, filing one standalone materialsupports or contradicts a local investigation when one is named; supersedes the local evidence it replaces; a standalone material may have none
A route namenull, decision, amendment, capability, or umbrella; Δ is still derived, and the name fixes only the route and the labelPer the route
A document typeThe instrument that produces it, entered at its first gatePer the instrument

Without a named type, a request that names a pending decision or a set of candidates produces an rnd; any other investigation produces a research. The research path produced an rnd before plugin v0.8.2. On a CLI older than v0.8.3 the path falls back to rnd and reports the required version.

Graph state no longer decides the package. Inside an engaged instrument, a gate whose topic an existing document covers still closes through skip_when.

TrackInputProduces
DecisionA settled decision, a team standard, or a proposaladr for a settled decision, rfc for an open proposal
DescribeA module, component, API, system, or technical topicspec, doc, or guide, picked from the evidence
ResearchA ready investigation report, or one external material, named by typeresearch for a report filed with document research; evidence for a material filed with document evidence

After an ADR is recorded, /archcore:document offers one continuation. It creates nothing before you confirm.

ContinuationFlowRelations createdUse when
Standardadr → rule → guide, optionally + cpatrule implements adr, guide related rule, cpat implements adr, rule related cpatThe decision describes enforceable behavior.
Architectureadr → spec → planspec implements adr, plan implements specThe decision changes a boundary contract.

The ADR alone is a valid endpoint. An rfc gets no cascade.

InvocationModeReturns
/archcore:reviewBranch review (default)Both directions of the branch diff against .archcore/, each finding verdicted spec-wrong, code-wrong, or ok.
/archcore:reviewProject healthFallback on the default branch or an empty diff: counts by category, status, and type, relation counts, orphans.
/archcore:review --driftStaleness scanCode drift, cascade drift, and temporal drift over the scope.
/archcore:review --deepFull auditEvery document, plus coverage gaps, relation health, and consistency findings.
/archcore:review --deep tag:authScoped auditThe same as --deep, narrowed to a tag, type, or path.

When reviewed changes repeat an undocumented pattern, review offers a cpat or task-type capture. It asks once, and a decline writes nothing.

The 21 document types have no dedicated slash commands. The commands above route to them. Call mcp__archcore__create_document directly when you need a specific type without a routing command.

CategoryTypes
Visionprd, idea, plan, rnd, research, mrd, brd, urd, brs, strs, syrs, srs
Knowledgeadr, rfc, rule, guide, doc, spec, evidence
Experiencetask-type, cpat

Full descriptions and required sections for each type: Document types.

  • Skills: full descriptions with examples for every command.
  • Document types: required sections per type.