8000 GitHub - alt-ctrl-dev/pi-caveman: A pi extension that uses the caveman skill if it is available · GitHub
[go: up one dir, main page]

Skip to content

About

A pi extension that uses the caveman skill if it is available

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

🗿 caveman-pi

License: MIT CI pi-package

Caveman terse-speak mode for pi — 65% fewer output tokens. Same technical accuracy, fewer words.

"New object ref each render. Wrap in useMemo."

Uses the caveman skill if available, discovered via pi's skill system: project-local skills (.pi/skills/, .agents/skills/) take priority, then global skills (~/.pi/agent/skills/, ~/.agents/skills/). Falls back to bundled rules if no caveman skill is installed.

Demo

User:   "How do I fix memory leaks in React useEffect?"
Normal: "Memory leaks in React's useEffect typically happen when you set up
         subscriptions or intervals without cleaning them up. You should return
         a cleanup function..."
Caveman: "useEffect cleanup fn. Return fn that unsubscribes/clears. Empty deps
         → run once. Missing cleanup + interval → leak."
Mod 6DF6 e Tokens (normal) Tokens (caveman) Savings
lite 180 112 ~38%
full 180 63 ~65%
ultra 180 36 ~80%

Install

pi install git:github.com/alt-ctrl-dev/pi-caveman

Usage

Autoloads on every session (level: full). Control:

Command Effect
/caveman lite Tighter, keep articles
/caveman full Default — fragments, short synonyms
/caveman ultra Minimal words
/caveman off Disable
stop caveman or normal mode Disable in chat

Status bar shows 🗿 full.

How it works

At session start, pi discovers the caveman skill if present — project-local skills are checked first, then global user skills. If found, pi loads and applies those rules via its skill system. Otherwise the extension falls back to bundled caveman rules injected via before_agent_start. Mode is persisted in memory (resets to full on restart).

Levels

Level What changes
lite No filler/hedging. Keeps articles and full sentences. Professional but tight
full Drops articles, fragments OK, short synonyms. Classic caveman
ultra Abbreviations (DB/auth/config), arrows for causality (X → Y), one word when one is enough

Edge cases (security warnings, destructive ops, multi-step instructions) automatically revert to full clarity.

License

MIT © 2026 Reuben Coutinho

About

A pi extension that uses the caveman skill if it is available

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0