@viartemev/pi-caveman
Caveman mode for pi: ultra-compressed responses that save tokens.
Package details
Install @viartemev/pi-caveman from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@viartemev/pi-caveman- Package
@viartemev/pi-caveman- Version
0.3.1- Published
- May 23, 2026
- Downloads
- not available
- Author
- viartemev
- License
- MIT
- Types
- extension, skill
- Size
- 7.3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/caveman.ts"
],
"skills": [
"./skills/caveman"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
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
From npm
pi install @viartemev/pi-caveman
From GitHub
pi install git:github.com/viartemev/pi-caveman
Project-local install:
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 this pi package.
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.