/semantic-memory:contractfrom semantic-memory
Generate or refresh AGENTS.md at the project root — the versionable agent contract. Preserves Local Notes across regenerations.
Ships in semantic-memory. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
When the user runs /contract, dispatch by argument:
/contract (no arg) or /contract refresh — call regenerate_contract to write or refresh AGENTS.md at the project root. Report whether the file was written, whether hand-edits were detected, and how many characters of Local Notes were preserved./contract inspect — call inspect_contract (read-only) and report whether AGENTS.md exists, whether managed-block markers are present, and the size of the Local Notes tail./contract force — call regenerate_contract with force=true to overwrite hand-edited managed-block content. Use only after the user has confirmed they accept losing in-block hand-edits.If the call returns hand_edit_detected: true, do NOT pass force=true automatically — surface the warning to the user and let them decide whether to move their changes to the Local Notes section or overwrite.
AGENTS.md is the canonical agent contract for this project. The managed block is regenerable from the current tool surface and active modes; the Local Notes section is user-owned and preserved verbatim across regenerations.
7-day visitors to each command page
12 commands in this plugin
/healthcheckVerify the local install + run drift detection. Self-heals npx-cache ERR_MODULE_NOT_FOUND. Pass --fast to skip the slow tier, --fix to auto-apply safe fixes./helpTask-shaped help for semantic-memory. No topic lists them; pass an id or words (e.g. federated search, eval, gaps)./jev-modeJev ModeTurn jev mode on or off, or show its state (Jev through jev-loop for semantic-memory's yes/no decisions)/mode/mode — semantic-memory mode controlSet or query the active semantic-memory mode (vault-first | research | outage-silence)/normalize-configNormalize ConfigRewrite fragile npx-@latest entries in .mcp.json to the stable node-against-node_modules form/policyGet or set the semantic-memory update policy (auto | nudge | off)Generated from the plugin's indexed repository (the-glitch-kingdom/semantic-memory) — no native marketplace selected
npx claudepluginhub p/theglitchking-semantic-memoryOther plugins' commands for the same job