Skip to content
Development
Command

/budget

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

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

Command definition

budget.md
allowed-tools: Bash
description: Set a hard token ceiling per response (e.g. /budget 100) or clear it (/budget off)

Run the Pith budget hook and apply the token ceiling.

**Argument:** $ARGUMENTS

Step 1 — execute the hook. The argument is forwarded literally via a single-quoted heredoc, so quotes/$()/backticks in input never reach the shell:

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

Step 2 — apply the result:

  • If a token limit was set: enforce it for every response from this point forward
  • If the budget was cleared: resume normal response length

Step 3 — confirm in one line.

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

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
pith

pith

Command

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

@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