Skip to content

Install the Plugin

Plugin

The plugin runs inside your coding agent and invokes archcore from your PATH. Install the CLI first, then install the plugin. The CLI install guide has one curl line for macOS and Linux and one PowerShell line for Windows.

With the CLI in place, archcore plugin install adds the plugin to every host it can act on. The per-host route below does the same job from each host’s own interface.

Two hosts need one extra step on either route. On Cursor you register MCP yourself. On GitHub Copilot CLI you wire the project with archcore init --agent copilot.

Terminal window
archcore plugin install

The command targets the four hosts that ship a plugin and prints one report per host.

HostWhat install does
Claude CodeRuns claude plugin marketplace add archcore-ai/plugin, then claude plugin install archcore@archcore-plugins at user scope
CursorPrints the instruction to add the plugin from the Cursor marketplace or with /add-plugin. Cursor has no CLI mechanism, so no host command runs
Codex CLIRuns codex plugin marketplace add archcore-ai/plugin, then codex plugin add archcore@archcore-plugins, machine-level
GitHub CopilotRuns copilot plugin install archcore-ai/plugin:plugins/archcore, machine-level

Machine-level means the host’s plugin store has no repository scope, so the install changes your machine rather than the current project.

To act on a single host, name it with --agent:

Terminal window
archcore plugin install --agent claude-code

--agent accepts claude-code, cursor, codex-cli, and copilot. Any other agent id fails with an error naming those four.

Typing the verb is the consent for every host the command targets, so it acts the same way with or without a terminal. The CLI runs a mutating host command only after that host’s own read-only plugin listing reports the plugin’s state:

  • The listing already names Archcore: the CLI reports it and changes nothing, so a rerun is a no-op.
  • The host CLI is not on PATH: the CLI reads the host’s on-disk plugin registry, reports the plugin when it finds it there, and otherwise prints the exact install command for you to run.
  • A host command fails or times out: the CLI prints the command it ran and continues with the next host.

archcore plugin covers the flags, the evidence tiers, and the exit codes.

When the CLI performs the Claude Code install, it also merges an extraKnownMarketplaces["archcore-plugins"] entry carrying "autoUpdate": true into ~/.claude/settings.json, keeping the fields already in the file. Claude Code then refreshes the plugin on its own in the background.

--scope project writes that entry into the repository’s .claude/settings.json instead, and the CLI prints that the committed file delivers the declaration to every teammate who checks it out. The flag selects the settings file and nothing else about the install.

Terminal window
archcore plugin status
archcore plugin update

status reports what each host carries. update refreshes every host whose listing confirms the plugin and stays silent for the rest.

A manual archcore update runs the same update action after its binary phase, so upgrading the CLI carries the plugin along. That step never changes the exit code, archcore update --check skips it, and the unattended background update never reaches it. See archcore update.

archcore init installs the plugin for every host you check in its agent picker or name with --agent:

Terminal window
archcore init --agent claude-code

A host that init merely detected gets a hint naming archcore plugin install, never an install. Under --yes without --agent, and in CI, init prints the per-host commands and runs none of them.

On GitHub Copilot CLI this is the shortest route: archcore init --agent copilot --project "$PWD" writes the hooks, the project-level MCP entry, and the usage hint, and installs the plugin in the same run.

Use this route when you prefer your host’s own interface. The plugin still calls archcore from your PATH, so the CLI stays a prerequisite.

From your shell:

Terminal window
claude plugin marketplace add archcore-ai/plugin
claude plugin install archcore@archcore-plugins

Or, from within Claude Code:

Terminal window
/plugin marketplace add archcore-ai/plugin
/plugin install archcore@archcore-plugins

The plugin spawns archcore mcp from your PATH through its .claude.mcp.json. If .archcore/ does not exist yet, the first MCP call initializes it.

Only an install performed by the CLI writes the autoUpdate marketplace entry described above. After a manual install, refresh the plugin with archcore plugin update, archcore update, or Claude Code’s own /plugin commands.

If archcore isn’t on PATH, the session-start hook prints install instructions and links to the CLI install guide.

The plugin always runs whichever archcore is on your shell’s PATH. In an offline or air-gapped environment, install the CLI by any supported method (curl, PowerShell, or build from source), then put it on PATH before you launch your coding agent. The CLI install guide covers each method.

To pin a specific binary, install it to a directory you control and put that directory first on PATH.

VariableEffect
ARCHCORE_DISABLE_INJECTION=1 turns off the pre-edit context injection globally.
ARCHCORE_HIDE_EMPTY_NUDGE=1 suppresses the session-start nudge that suggests /archcore:init.
ARCHCORE_HIDE_WIRING_NUDGE=1 suppresses the Copilot advisory about a project with no MCP wiring.
  1. Ask the CLI what each host reports:

    Terminal window
    archcore plugin status

    One line per host, for example:

    Claude Code: installed (the host reports it)
    Cursor: not installed
    Codex CLI: not installed (the host reports it)
    GitHub Copilot: installed (on-disk registry; the host CLI is not on PATH)

    The command covers all four hosts, reads each host’s own listing when its CLI is on PATH, falls back to the on-disk plugin registry when it is not, and always exits 0.

  2. Restart your coding agent so the session-start hook can run.

  3. In a fresh conversation, type /archcore: and check that autocomplete lists four commands: init, plan, document, and review.

  4. Run a read-only command against a real project:

    /archcore:review

    On a branch with changes you get a review of those changes against .archcore/. On the default branch you get the project health dashboard.

  5. Record a real decision:

    /archcore:document use PostgreSQL as the primary database

    The agent classifies it as an ADR, creates a draft in .archcore/ through MCP rather than a direct file write, and offers a rule and guide continuation.

If /archcore:* commands don’t appear, check Troubleshooting.

Remove the plugin from every host that carries it:

Terminal window
archcore plugin remove

On a host whose CLI is on PATH, the command runs that host’s own uninstall. On Claude Code it also deletes the extraKnownMarketplaces["archcore-plugins"] entry the CLI wrote and leaves the rest of ~/.claude/settings.json untouched. The archcore-plugins marketplace registration itself stays, because other plugins may still use it. A host whose listing shows no plugin is skipped in silence. A host whose CLI is off PATH but whose on-disk registry names the plugin gets its exact uninstall command printed.

By hand, per host:

HostUninstall
Claude Code/plugin uninstall archcore@archcore-plugins
CursorRemove Archcore from plugin settings, then delete the archcore entry from your Cursor MCP config
Codex CLIcodex plugin remove archcore@archcore-plugins
GitHub Copilot CLIcopilot plugin uninstall archcore

The archcore CLI is a separate install. To remove it as well, use the same script that installed it.