Skip to content

Archcore commands and examples

Use Archcore in your agent to record project knowledge, plan a change, or review work against existing decisions. Describe the outcome in conversation or use one of the four slash commands below.

Slash commands require the Archcore plugin in a supported host. Other MCP agents can read and write the same documents through natural-language requests. For terminal operations, use the CLI command reference.

You want toCommandResult
Create initial context from this repository/archcore:initA preview of project documents and host wiring
Scope a change before implementation/archcore:planA document package based on the request and existing context
Record a decision or describe existing code/archcore:documentA typed document based on the supplied facts
Check changes against project context/archcore:reviewFindings about code and recorded documents
/archcore:init

Use this in a repository with existing code. The agent examines its structure and proposes an initial set of documents. Review the preview before confirming document creation and host wiring. An empty project has no implemented architecture to describe.

This is separate from terminal archcore init, which creates .archcore/ and configures your agent. See installation.

OptionEffect
--depth=light|standard|deepSets the synthesis budget; the default is standard
--mode=small|medium|largeOverrides detected repository scale
--domain=<slug>Focuses a run on one domain
--refreshAdds missing context in a previously seeded repository and refreshes host wiring
/archcore:init --depth=light
/archcore:init --domain=payments
/archcore:init --refresh

Depth limits the proposed coverage; it is not a target number of documents. Review the count in the preview, especially for a large repository.

/archcore:plan add CSV export to the reporting API

The agent reads project context and code, identifies missing information, and announces the proposed document package. A small fix can need no new documents. One capability can need a spec and a plan; a larger initiative can need requirements and several specs.

Questions concern information the agent could not establish from the available sources. Review the resulting plan before choosing whether to implement it. An interrupted package can resume from its draft documents.

For a specific planning workflow, name an expert path:

PathUse it for
sddA full requirements, specification, and plan package
sourcesMarket, business, and user requirements sources
isoThe formal BRS, StRS, SyRS, and SRS requirements chain
researchAn investigation, closed by scope coverage or a recommendation
/archcore:plan research compare storage options for our pending database decision

A pending decision or named candidates select rnd; a territory investigation selects research. rnd and evidence are not separate expert paths. To file one external material, use:

/archcore:document evidence https://example.com/report

The URL above is a placeholder: replace it with the material you want to record. Research and evidence vocabulary requires Archcore CLI 0.8.3 or later. On an older CLI, research falls back to rnd and reports the required version.

You can also name a route: null, decision, amendment, capability, or umbrella. This fixes package composition while the agent still grounds the request. The plugin source owns the internal routing rules.

Use a decision your project actually made:

/archcore:document record our decision to use PostgreSQL and the reasons we discussed

A settled decision is an adr; an open proposal is an rfc. Review the result before marking it accepted. The agent can offer related rules, guides, or implementation documents when the decision calls for them.

To describe existing code, name the module and the information you need:

/archcore:document describe src/payments and its public boundaries

Use document types to distinguish a behavioral contract (spec) from a reference description (doc). Record current behavior from source; do not turn an undocumented assumption into an accepted contract.

/archcore:review
/archcore:review --drift
/archcore:review --deep

On a branch with changes, review checks the work against recorded context. On the default branch, or without a branch diff, the default command reports project health. --drift checks for stale documents; --deep expands the audit to coverage and relations.

Name a path or topic to narrow the review. Ask to close out completed work when you want the agent to reconcile the recorded plan with the implementation. Document acceptance and permanent removal remain explicit decisions.

Start with one decision, rule, or procedure that the agent will need soon. Ask:

Extract the API error convention from AGENTS.md into an Archcore rule. Preserve its meaning and show me the draft before changing the source instructions.

Review the new document and check retrieval in a fresh session. Then remove duplicated project knowledge from the source instruction file, keeping agent-specific settings and the Archcore managed block.

/archcore:init can also import existing CLAUDE.md, AGENTS.md, and .cursorrules content as part of its preview. Review the import before approving it. Project context explains file organization and relations.

Some commands delegate multi-document work to archcore-assistant or read-only auditing to archcore-auditor. You normally request the outcome through the commands above; the skill chooses its helper. The host controls tool permissions.