uninstall

uninstall is a skill for Claude Code from HAX-Studio/mnemonica. It costs 53 tokens per session (703 once invoked), scanned A, original, MIT.

An uninstall procedure for Mnemonica, the project-knowledge documentation system. It removes Mnemonica's setup block and can also remove its documentation folder with confirmation.

In plain words
What is it for?
Use it to remove Mnemonica from a project, choosing separately whether to keep or delete the knowledge folder.
Why use it?
It provides a controlled way to stop using Mnemonica without accidentally deleting unrelated project files or accumulated documentation.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the mnemonica plugin — 8 skills shipped together

Good fit Use it to remove Mnemonica from a project, choosing separately whether to keep or delete the knowledge folder.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add HAX-Studio/mnemonica
Claude Code
/plugin install mnemonica

Made for: Claude Code.

Or install mnemonica, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uninstall

README.md
[![agentmods](https://agentmods.dev/badge/skills/hax-studio/mnemonica/uninstall/github.svg)](https://agentmods.dev/skills/hax-studio/mnemonica/uninstall)
Your own site
<a href="https://agentmods.dev/skills/hax-studio/mnemonica/uninstall"><img src="https://agentmods.dev/badge/skills/hax-studio/mnemonica/uninstall/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uninstall

Your own site · 80×15
<a href="https://agentmods.dev/skills/hax-studio/mnemonica/uninstall"><img src="https://agentmods.dev/badge/skills/hax-studio/mnemonica/uninstall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00703
Opus 5 $0.00026 $0.00351
Sonnet 5 $0.00011 $0.00141
Haiku 4.5 $0.00005 $0.00070

Measured 8d ago against content hash 6c530f853e30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

uninstall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/uninstall/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mnemonica: uninstall

Remove exactly what Mnemonica added to a project — never more. This mirrors setup's non-destructive install in reverse: the CLAUDE.md block is safe to remove without asking (removing what this plugin itself added is the same risk category as adding it), but knowledge/ holds real, accumulated documentation that took real reconciliation work to build, so deleting it follows the same "ask before deleting" rule as any other module deletion in knowledge-conventions.md — do not treat uninstall as a blanket exemption from that rule.

If the user's invocation includes extra wording (for example, "uninstall but keep the knowledge folder"), treat it as answering Step 2 in advance rather than asking again — but do not let it skip Step 1's confirmation-free block removal into something riskier than described here, and do not let it turn into deleting anything else in the project.

Step 1: Remove the CLAUDE.md block

Run ${CLAUDE_PLUGIN_ROOT}/scripts/remove-mnemonica-block.sh <project-root>.

  • Exit 2 (NO_CLAUDE_MD) or 3 (NO_BLOCK): there is nothing installed to remove here. Tell the user and stop — do not proceed to Step 2 or touch knowledge/ in this case, since there is no evidence Mnemonica actually manages this project's knowledge/ folder (it may predate Mnemonica, or belong to something else entirely).
  • Exit 0 (BLOCK_REMOVED or FILE_REMOVED): the block is gone; if it was the only content in .claude/CLAUDE.md, the file itself was removed too. Every other line in the file, if any remained, is untouched — verify this by rereading the file rather than assuming the script did the right thing.

Step 2: Ask about knowledge/

Ask the user, explicitly, whether to also delete the knowledge/ folder and its contents. Do not delete it without an answer, and do not default to deleting it. Mention how many module files are in there so the decision is informed (losing N module files' worth of documentation is a bigger ask than losing one). If the user declines or doesn't say, leave knowledge/ exactly as it is — an orphaned knowledge/ folder with no CLAUDE.md pointer to it is harmless clutter, not a broken state, and is trivial to remove by hand later.

Read the full file on GitHub · 53 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 53 lines · 53 tokens per session scan A 6c530f853e30

Subscribe to this mod's changes

uninstall is a skill published in the GitHub repository HAX-Studio/mnemonica (3 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 703 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.