/pith:pith-uninstallfrom pith
Uninstalls Pith from Claude Code: removes hooks, slash commands, and cleans settings.json while preserving token history unless user requests full wipe.
Ships in pith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/pith uninstallBefore running, ask once:
This will remove:
• ~/.claude/hooks/pith/ (all hook scripts)
• ~/.claude/commands/pith.md, budget.md, focus.md
• pith entries in ~/.claude/settings.json
Your project wikis (wiki/) and token history (~/.pith/) are NOT deleted.
Proceed? (yes / no)
If user says no, stop. If yes, continue.
Locate the pith directory (same logic as pith-install step 1), then:
bash "<pith_dir>/uninstall.sh"
Stream the output so user sees each item removed.
# Hooks gone
ls ~/.claude/hooks/pith/ 2>/dev/null && echo "STILL EXISTS" || echo "removed ok"
# Slash commands gone
ls ~/.claude/commands/ | grep -E "pith|budget|focus" 2>/dev/null && echo "STILL EXISTS" || echo "removed ok"
# Settings clean
node -e "const s=require(require('os').homedir()+'/.claude/settings.json'); const h=JSON.stringify(s.hooks||''); console.log(h.includes('pith')?'pith still in hooks':'hooks clean'); console.log(s.statusLine?'statusLine still set':'statusLine clean')"
If the user said "remove everything" or "wipe all data", also run:
rm -rf ~/.pith
rm -f ~/.config/pith/config.json
Warn first: "This deletes your lifetime token savings history. Are you sure?"
Pith uninstalled.
Removed:
✓ hooks (session-start, post-tool-use, prompt-submit, stop)
✓ slash commands (/pith, /budget, /focus)
✓ settings.json entries
Preserved:
• wiki/ directories in your projects
• ~/.pith/state.json (token history)
To reinstall: /pith install
| Error | Fix |
|---|---|
uninstall.sh not found | Run the node cleanup inline: remove ~/.claude/hooks/pith, delete command files, patch settings manually |
settings.json malformed | Show the file, offer to remove pith keys manually |
| Hook files already missing | Skip silently, still clean settings.json |
One-shot. Does not persist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub abhisekjha/pith --plugin pith12 skills in this plugin
/pithAdaptive output compression. Three levels: precise (no filler), lean (default, drop articles/fragments), ultra (maximum — abbreviate, structure, arrows). Activate: /pith | /pith precise | /pith lean | /pith ultra | /pith off
/pith-archOne-shot architecture decision format. Use for technology choices, design decisions, system design questions. Format: Decision / Options table / Choice / Risks / Next. Does not persist.
/pith-commitOne-shot commit message generator. Conventional Commits format, subject ≤50 chars. Use when writing a git commit message for staged changes. Does not persist.
/pith-debugOne-shot structured debug format. Use when diagnosing errors, unexpected behavior, crashes, or failures. Format: Problem / Cause / Fix / Verify — 4 fields, no prose. Does not persist.
/pith-graphRun the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]], and opens an interactive force-directed graph in the browser as wiki-graph.html.
/pith-installInstall Pith into Claude Code. Copies hooks, patches settings.json, registers slash commands (/pith, /budget, /focus), and records the plugin root so hooks can resolve paths.
Other plugins' skills for the same job