Skip to content
Development
Skill

/pith-uninstall

Uninstall Pith from Claude Code. Removes hooks, slash commands, and cleans pith entries from settings.json. Preserves ~/.pith/state.json (token history) unless user explicitly asks to wipe all data.

From plugin
pith
9712 skills4 commands4 hooks

Claude Code

$ npx -y skills add abhisekjha/pith --skill pith-uninstall --agent claude-code

SKILL.md

pith-uninstall.SKILL.md
name: pith-uninstall
description: >
  Uninstall Pith from Claude Code. Removes hooks, slash commands, and
  cleans pith entries from settings.json. Preserves ~/.pith/state.json
  (token history) unless user explicitly asks to wipe all data.

When to use

  • User runs `/pith uninstall`
  • User asks "remove pith", "uninstall pith", or "clean up pith"

---

Steps

1 — Confirm intent

Before 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.

2 — Run the uninstall script

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.

3 — Verify clean

# 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')"

4 — Optionally wipe all data

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?"

5 — Confirm to user

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 handling

| 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.

Read more
@abhisekjha
Ships withpith

Status: stable — not actively adding features. Bug fixes welcome via issues. Token compression hooks for Claude Code. Install once, works in every session, zero config.

Stars on GitHub

Momentum

stars in total
97
Star history of abhisekjha/pith on GitHub, a chart by star-history.com

Other skills on pith.

pith-arch

pith-arch

One-shot architecture decision format. Use for technology choices, design decisions, system design questions. Format: Decision /…

@abhisekjha@abhisekjhaInstall Skill
pith-commit

pith-commit

One-shot commit message generator. Conventional Commits format, subject ≤50 chars. Use when writing a git commit message for…

@abhisekjha@abhisekjhaInstall Skill
pith-debug

pith-debug

One-shot structured debug format. Use when diagnosing errors, unexpected behavior, crashes, or failures. Format: Problem / Cause…

@abhisekjha@abhisekjhaInstall Skill
pith-graph

pith-graph

Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]], and opens an…

@abhisekjha@abhisekjhaInstall Skill
pith-install

pith-install

Install Pith into Claude Code. Copies hooks, patches settings.json, registers slash commands (/pith, /budget, /focus), and…

@abhisekjha@abhisekjhaInstall Skill
pith-plan

pith-plan

One-shot planning format. Use for feature planning, task breakdown, sprint planning, implementation plans. Format: Goal / Steps /…

@abhisekjha@abhisekjhaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about pith-uninstall.

Which coding agents can use pith-uninstall?
pith-uninstall installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.