Skip to content
Development
Command

/pith

Control Pith token compression modes and access structured output formats, wiki, and status

From plugin
pith
974 skills4 commands4 hooks
> /plugin marketplace add abhisekjha/pith
> /plugin install pith@pith

Command definition

pith.md
allowed-tools: Bash
description: Control Pith token compression modes and access structured output formats, wiki, and status

Run the Pith hook for this subcommand and apply the result.

**Subcommand:** $ARGUMENTS

Step 1 — execute the hook. The arguments are passed via a single-quoted heredoc so any shell metacharacters the user typed ('"$`;|&) are forwarded as literal bytes and cannot be evaluated by the shell:

node "${CLAUDE_PLUGIN_ROOT}/hooks/prompt-submit.js" --slash /pith <<'PITH_EOF_7f3a9c2e'
$ARGUMENTS
PITH_EOF_7f3a9c2e

Step 2 — act on the output:

  • If the output contains compression rules (LEAN / ULTRA / PRECISE): apply them immediately and confirm the mode is active
  • If the output contains a token status panel: display it to the user exactly
  • If the output contains wiki results or tool output: display it
  • If the output is empty (e.g. `/pith debug`): confirm the structured format is active and show a one-line example of it

Step 3 — confirm to the user in one line what changed or was shown.

@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 commands on pith.

budget

budget

Command

Set a hard token ceiling per response (e.g. /budget 100) or clear it (/budget off)

@abhisekjha@abhisekjhaInstall Command
focus

focus

Command

Load only the sections of a file relevant to the current question, reducing context noise

@abhisekjha@abhisekjhaInstall Command
pith-graph

pith-graph

Command

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

@abhisekjha@abhisekjhaInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command