Plugin Troubleshooting
Common issues specific to running the plugin inside Claude Code or Cursor. For CLI-level issues (MCP not reachable, .archcore/ missing, validation errors), see CLI troubleshooting.
/archcore:* commands don’t appear
Section titled “/archcore:* commands don’t appear”Symptom: Typing /archcore:help does nothing, or the autocomplete doesn’t list Archcore skills.
Checks, in order:
-
Plugin is installed.
Terminal window # Claude Codeclaude plugin list# Cursor: check plugin settingsYou should see
archcore@archcore-plugins. -
Host was restarted. Plugins load at startup. After installing or updating, restart the host.
-
Session-start hook ran. Look at the session opening messages — you should see a short “Archcore context loaded” line. If not, the hook didn’t fire.
-
Run
/archcore:verify. The plugin’s self-check validates that all skills, agents, and hook scripts are present.
”Plugin failed to load”
Section titled “”Plugin failed to load””Symptom: The host reports a plugin load error at session start.
Most common causes:
- The plugin package is missing
.claude-plugin/plugin.json(Claude Code) or.cursor-plugin/plugin.json(Cursor). - A skill file’s YAML frontmatter is malformed.
- A hook script is not executable.
Fix: Reinstall from the marketplace:
claude plugin uninstall archcore@archcore-pluginsclaude plugin install archcore@archcore-pluginsFor local dev installs, ensure bin/* scripts are executable (chmod +x bin/*).
MCP server not found
Section titled “MCP server not found”Symptom: Commands run but the agent reports “MCP tool not available” or “server not connected”.
The plugin does not ship its own MCP server — it reuses the CLI’s. So this is almost always a CLI-side issue.
Quick sanity checks:
archcore --version # CLI on PATH?archcore status # .archcore/ valid?which archcore # which binary?Writes blocked unexpectedly
Section titled “Writes blocked unexpectedly”Symptom: The agent tries to fix a typo in a .archcore/ file and gets blocked. The hook says “use MCP tools instead”.
This is the PreToolUse hook doing its job. The fix is to use update_document with the new content instead of Edit. Ask the agent:
Use
update_documentto correct the typo in the frontmatter title.
If you genuinely need to edit settings.json or .sync-state.json, those paths are allowed — only document files (*.md) are blocked.
Validation fails after every write
Section titled “Validation fails after every write”Symptom: Every time a skill creates or updates a document, the post-mutation hook reports a validation error.
- Run
archcore doctorfrom the shell — the CLI gives a precise error. - Common causes: slug with uppercase letters, missing
title/statusfrontmatter, tag with forbidden characters. - Skills should handle all three; if they don’t, file a bug on the plugin repo.
Cascade warnings overwhelm the output
Section titled “Cascade warnings overwhelm the output”Symptom: Every mutation dumps a long “cascade dependents may need review” block.
This means a lot of documents are linked to the one you just changed. That’s working-as-intended — but you can reduce noise by:
- Splitting the updated document into smaller, more focused pieces.
- Accepting some cascade drift deliberately (status
acceptedon the dependent means “I’ve reviewed this”).
There’s no global mute — the warning is intentional friction.
Cursor-specific: afterMCPExecution not firing
Section titled “Cursor-specific: afterMCPExecution not firing”Symptom: On Cursor, validation and cascade checks don’t run after MCP calls.
Cursor only fires afterMCPExecution for successful MCP calls. If the MCP call itself failed (invalid frontmatter, for example), the hook won’t fire — you’ll see the MCP error directly.
Claude Code-specific: both Write and Edit blocked
Section titled “Claude Code-specific: both Write and Edit blocked”Symptom: On Claude Code, you can’t fix a file manually even though you know what you’re doing.
That’s deliberate — the matcher is Write|Edit. If you truly need to bypass (one-off rename, recovering from a corrupted state), edit the file from a separate shell with vim/$EDITOR; the plugin doesn’t intercept shells.
Next steps
Section titled “Next steps”- How plugin works — understand what each hook is doing before debugging.
- CLI troubleshooting — for MCP/validate issues.
- Supported hosts — for host-specific differences.