By Arcanon-hub
Cross-repo service dependency scanner for Claude Code — maps your architecture, detects drift, and syncs to Arcanon Hub
Stage a correction to scan findings (insert into scan_overrides). Override is queued, not applied — the next /arcanon:map or /arcanon:rescan run consumes it via the override apply hook. Per invocation, exactly one override row is written.
Compare two scan versions or live vs shadow (--shadow). Shows services/connections added, removed, or modified.
Run 8 smoke-test diagnostics (worker reachable, version, schema head, config, data dir, DB integrity, MCP smoke, hub creds). PASS/WARN/FAIL/SKIP per check, exits 1 on critical fail. Read-only.
Detect drift — service-graph changes across scans + version/type/OpenAPI drift across linked repos.
Export the local service graph as Mermaid, DOT, or a self-contained HTML viewer.
Admin access level
Server config contains admin-level keywords
Modifies files
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
hub_urlBase URL of the Arcanon Hub API. Defaults to https://api.arcanon.dev
${user_config.hub_url}api_tokenBearer token starting with arc_. Get one at https://app.arcanon.dev/settings/api-keys
${user_config.api_token}auto_syncAutomatically push scan findings to Arcanon Hub and drain the offline queue after every /arcanon:map. Requires api_token.
${user_config.auto_sync}project_slugProject slug on Arcanon Hub (only required when using an org-scoped API key).
${user_config.project_slug}Hook triggers on file write and edit operations
Hook triggers on file write and edit operations
Runs pre-commands
Contains inline bash commands via ! syntax
Runs pre-commands
Contains inline bash commands via ! syntax
Cross-repo service dependency scanner for Claude Code. Map your architecture, detect drift, and sync to Arcanon Hub — all from inside your editor.
Arcanon is a Claude Code plugin that discovers services, endpoints, connections, and schemas across all your repositories, then helps you reason about cross-repo impact before you merge. The plugin works fully offline; when connected to Arcanon Hub, findings sync to a cloud service graph that powers org-wide drift detection and impact analysis.
Most dependency tools stop at package.json and Cargo.toml. Arcanon traces the runtime graph — the HTTP calls, gRPC streams, message-bus topics, and shared schemas that actually couple your services together — across repository boundaries.
| Pillar | What it means |
|---|---|
| Discover | Agents walk each repo, emit a structured JSON findings file. |
| Reconcile | Findings are stitched into a single cross-repo graph in local SQLite. |
| Detect drift | Compare a live scan against the last uploaded snapshot from the hub. |
| Sync to hub | Upload findings to api.arcanon.dev so your team, CI, and other repos can query them. |
# 1. Install the plugin marketplace (one-time)
claude plugin marketplace add https://github.com/Arcanon-hub/arcanon
claude plugin install arcanon@arcanon --scope user
# 2. In your repo, run your first scan
/arcanon:map
# 3. (Optional) Connect to Arcanon Hub
/arcanon:login # paste your arc_... API key
/arcanon:status # check sync state + queue
Full walkthroughs live in docs/getting-started.md.
Every /arcanon:* command supports --help, -h, or help.
Scanning & graph
| Command | What it does |
|---|---|
/arcanon:map [view|full] | Scan repos, build or refresh the local service graph. |
/arcanon:rescan <repo> | Re-scan exactly one linked repo, bypassing the incremental skip. |
/arcanon:shadow-scan | Scan into a sandbox shadow DB; live DB is byte-untouched. |
/arcanon:export | Emit Mermaid / DOT / JSON / self-contained HTML from the latest scan. |
Read-only navigation
| Command | What it does |
|---|---|
/arcanon:list | 5-line project overview — repos, services, connections, actors, hub. |
/arcanon:view | Open the graph UI in your browser. |
/arcanon:doctor | 8-check smoke-test diagnostics with structured exit codes. |
/arcanon:diff <scanA> <scanB> | Compare two scans (int IDs, HEAD/HEAD~N, ISO, branches; --shadow mode). |
Corrections & verification
| Command | What it does |
|---|---|
/arcanon:correct <kind> --action ... | Stage a scan_overrides row consumed on the next scan. |
/arcanon:verify | Re-read source at cited line ranges; flag drifted connections. |
/arcanon:promote-shadow | Atomically swap the shadow DB into live with a timestamped backup. |
Cross-repo intelligence
| Command | What it does |
|---|---|
/arcanon:impact <target> | Query cross-repo consumers of a service / endpoint / schema. |
/arcanon:drift [graph|versions|types|openapi] | Detect drift across repos (8 ecosystems for versions). |
Hub sync
| Command | What it does |
|---|---|
/arcanon:login | Store your Arcanon Hub API key. |
/arcanon:sync | Upload current repo's scan, then drain the offline queue (--offline, --repo, --dry-run, --force, --drain). |
/arcanon:status | Worker + hub + queue + per-repo scan freshness (commits-since-scan). |
Maintenance
| Command | What it does |
|---|---|
/arcanon:update | Version check / worker kill / cache prune / verify. |
See docs/commands.md for the full reference (flags, exit codes, examples).
Arcanon reads arcanon.config.json from the repo root.
{
"project-name": "my-project",
"linked-repos": ["../sibling-service", "../shared-lib"],
"hub": {
"auto-sync": true,
"url": "https://api.arcanon.dev"
}
}
Hub credentials can live in the plugin's userConfig (preferred, stored in the system keychain), the ARCANON_API_KEY environment variable, or ~/.arcanon/config.json. See docs/hub-integration.md.
Auto-format, auto-lint, and cross-repo quality gates for Claude Code
npx claudepluginhub arcanon-hub/arcanon --plugin arcanonCode intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.
Smart codebase exploration with dependency mapping and structure analysis
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Code intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.
Codebase intelligence — semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode
Maps and documents codebases of any size using parallel AI subagents