/pith:pith-installfrom pith
Installs the Pith plugin into Claude Code: copies hooks, patches settings, and registers slash commands (/pith, /budget, /focus).
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 installFind where pith lives. Try in order:
~/.claude/plugins/cache/pith/pith/*/ (installed via plugin marketplace)bash "<pith_dir>/install.sh"
Stream the output to the user so they can see each step tick off.
After the script completes, confirm all five things installed:
# Hooks copied
ls ~/.claude/hooks/pith/
# Slash commands registered
ls ~/.claude/commands/ | grep -E "pith|budget|focus"
# Settings patched
node -e "const s=require(require('os').homedir()+'/.claude/settings.json'); console.log(JSON.stringify({hooks:Object.keys(s.hooks||{}), statusLine:!!s.statusLine},null,2))"
# Plugin root recorded
cat ~/.config/pith/config.json
# State dir exists
ls ~/.pith/
If any check fails, show the specific error and offer to re-run just that step.
Show this summary:
Pith installed.
Active automatically (zero config):
✓ Tool output compression
✓ Token meter in statusline [PITH 0k/200k]
✓ Auto-compact at 70% context
On-demand:
/pith lean|ultra|precise output compression
/pith debug|arch|plan structured formats
/pith commit commit message
/pith wiki project knowledge base
/pith status token usage
/pith tour interactive walkthrough
/budget <n> hard token ceiling
/focus <file> load relevant sections only
Restart Claude Code to activate hooks.
| Error | Fix |
|---|---|
node: command not found | Tell user to install Node.js ≥18 |
settings.json parse error | Show the broken JSON, offer to reset to {} |
| Permission denied on hooks dir | Run mkdir -p ~/.claude/hooks/pith first |
| Plugin root not found | Ask user to re-clone: git clone https://github.com/abhisekjha/pith |
One-shot. Does not persist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pith-installation, claude-plugin-setup, slash-commands, hooks
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-planOne-shot planning format. Use for feature planning, task breakdown, sprint planning, implementation plans. Format: Goal / Steps / Risks / Done-when. Does not persist.
Other plugins' skills for the same job