uninstall

uninstall is a command for Claude Code, Codex from sk-lim19f/Hypomnema. It costs 24 tokens per session (947 once invoked), scanned B, original, MIT.

An uninstall command removes Hypomnema’s installed hooks, settings entries, slash commands, and related setup while preserving the wiki content. It checks for manual changes and uses a dry run by default.

In plain words
What is it for?
It is for previewing and then removing Hypomnema’s local installation, shell setup, git hook, and synchronized extensions.
Why use it?
It helps disable or remove the wiki integration without deleting the pages, journal, or source files it contains.

Command for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT} variable, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Codex.

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 hypo plugin — 1 skill, 16 commands, 9 hooks shipped together

Good fit It is for previewing and then removing Hypomnema’s local installation, shell setup, git hook, and synchronized extensions.

Compare 6 commands 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 sk-lim19f/Hypomnema
Claude Code
/plugin install hypo

Made for: Claude Code, Codex.

Or install hypo, the plugin that ships this one along with the rest of its 1 skill, 16 commands, 9 hooks.

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/commands/sk-lim19f/hypomnema/uninstall/github.svg)](https://agentmods.dev/commands/sk-lim19f/hypomnema/uninstall)
Your own site
<a href="https://agentmods.dev/commands/sk-lim19f/hypomnema/uninstall"><img src="https://agentmods.dev/badge/commands/sk-lim19f/hypomnema/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/commands/sk-lim19f/hypomnema/uninstall"><img src="https://agentmods.dev/badge/commands/sk-lim19f/hypomnema/uninstall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 947 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00024 $0.00947
Opus 5 $0.00012 $0.00474
Sonnet 5 $0.00005 $0.00189
Haiku 4.5 $0.00002 $0.00095

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

Security

Grade B, and why

uninstall scanned grade B with 1 finding 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Strips Hypomnema entries from `~/.claude/settings.json`, leaving all other hooks untouched
commands/uninstall.md · 67 lines

How it starts

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

You are running /hypo:uninstall. Remove Hypomnema from this machine.

What this does

  • Removes Hypomnema hook files from ~/.claude/hooks/ (and optionally ~/.codex/hooks/)
  • Strips Hypomnema entries from ~/.claude/settings.json, leaving all other hooks untouched
  • Removes the claude() shell function block from ~/.zshrc and/or ~/.bashrc (whichever carries the marker init wrote; use --shell-config=<path> to target a different file)
  • Removes the marked pre-commit hook from the wiki repo (<wiki>/.git/hooks/pre-commit); resolve a non-default wiki with --hypo-dir=<path>
  • Removes tracked slash commands, extension hard-copies, and ~/.claude/hypo-pkg.json when nothing user-modified is left behind
  • Every removal above is marker- or SHA-gated: a block or file you have since hand-edited is reported and left in place, never guessed at
  • The wiki content itself (pages, journal, sources under the vault root) is never deleted, only the git hook and shell block Hypomnema installed
  • Dry-run by default: shows what would be removed without making any changes

Step 1 — Confirm intent

Say:

"This will remove Hypomnema's hooks, slash commands, the claude() shell function block, and the wiki's pre-commit hook. Your wiki content (pages, journal, sources) is NOT deleted. Run in dry-run mode first to preview changes? [yes]"

Default: yes (dry-run first)

Bundled scripts here run via ${CLAUDE_PLUGIN_ROOT}/scripts/. To resolve that package root: if ${CLAUDE_PLUGIN_ROOT} is already an absolute path, use it; otherwise read pkgRoot from ~/.claude/hypo-pkg.json (only when non-empty and the target script exists under it); otherwise use the hypo@hypomnema (or legacy hypomnema@hypomnema) installPath in ~/.claude/plugins/installed_plugins.json; if none resolve, stop and tell the user to run hypomnema upgrade --apply (or /hypo:upgrade on a plugin install) or reinstall instead of guessing the cache layout.


Step 2 — Dry run

Run:

node ${CLAUDE_PLUGIN_ROOT}/scripts/uninstall.mjs

Read the full file on GitHub · 67 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. 4d ago Changed 5ac1b68ce91b
  2. 8d ago First seen · 67 lines · 24 tokens per session scan B 7105c702b8f5

Subscribe to this mod's changes

uninstall is a command published in the GitHub repository sk-lim19f/Hypomnema (10 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 947 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.