From pith
Installs Pith into Claude Code by copying hooks, patching settings.json, registering /pith /budget /focus slash commands, and recording plugin root. Use for /pith install or setup queries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pith:pith-installThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- User runs `/pith install`
/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.
npx claudepluginhub abhisekjha/pith --plugin pithUninstalls Pith from Claude Code: removes hooks, slash commands (/pith, /budget, /focus), and cleans settings.json pith entries. Preserves ~/.pith/state.json unless full wipe requested.
Guides creation and organization of Claude Code plugins: directory layout, plugin.json manifest, component structure for commands, agents, skills, and hooks.
Guides Claude Code plugin creation: directory layout, plugin.json manifest setup, commands/agents/skills/hooks organization, naming conventions, and auto-discovery configuration.