原始内容
Caveman for pi
Ultra-compressed communication mode for pi: fewer tokens, same technical substance.
pi-caveman packages the original JuliusBrussee/caveman response style as a native pi package. Install it, and every agent response becomes shorter by default.
Why
Coding agents often spend tokens on polite filler. Caveman mode removes filler while preserving exact technical meaning.
Before: Sure! I'd be happy to help. The issue is likely caused by...
After: Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:
Features
- Always-on caveman response style while package is installed
- No commands, per-session state, config, or toggles
- Short system prompt injected before every agent turn
Install
Recommended: npm
pi install npm:@viartemev/pi-caveman
After install, nothing else is needed. Caveman mode is always active while the package is enabled.
GitHub
pi install git:github.com/viartemev/pi-caveman
Project-local install from GitHub:
pi install -l git:github.com/viartemev/pi-caveman
From local clone
git clone git@github.com:viartemev/pi-caveman.git
pi install ./pi-caveman
Try without installing:
pi -e ./pi-caveman
To stop caveman mode, disable or uninstall the package in pi.
Package layout
extensions/caveman.ts # pi extension adapter + compact mode prompts
skills/caveman # caveman response-style skill
package.json # pi package manifest
How it works
The pi extension hooks into:
before_agent_start— injects compact active-mode rules every turn
The base caveman skill is exposed by package.json; the extension makes the style always active.
License
MIT. See LICENSE.
Attribution
Caveman rules and skills originate from JuliusBrussee/caveman, MIT licensed.