Cave Talk
- Upstream: https://github.com/JuliusBrussee/caveman
- Plugin: https://gitlab.com/kilianpaquier/ai-integration
- Description: Ultra-compressed communication mode. Cuts output tokens while keeping full technical accuracy.
Hooks
| Event | Script | Output |
|---|---|---|
SessionStart |
scripts/caveman-activate.js |
the session level body, inlined into the script |
UserPromptSubmit |
scripts/caveman-mode.js |
nothing, it saves the mode change the prompt carries |
UserPromptSubmit |
scripts/caveman-activate.js |
a hint line naming the mode the session runs at |
Caveman supports the following levels: caveman, ultracave, megacave, or off to disable.
Within a session, /caveman <level> switches the level and stop caveman (or normal mode) turns it off.
By default the level for all session is caveman (manual to start inactive), but it can be changed with the following order precedence:
- the
CAVEMAN_DEFAULT_MODEenvironment variable - a
.caveman/config.jsonor.caveman.jsonwithin a repository withdefaultModeproperty - a
~/.config/caveman/config.json(or under$XDG_CONFIG_HOME/caveman/config.json) withdefaultModeproperty
Skills
A subset of upstream skills is vendored as-is.
The caveman, ultracave and megacave skills need no manual invocation, the SessionStart hook already inlines the session level body.
Installation
Warning
Nodejs is needed in PATH environment variable to work.
Native plugin (recommended):
my-agent plugin install cave-talk@one-for-allAPM package:
apm install kilianpaquier/ai-integration/plugins/cave-talk -gAPM plugin:
apm marketplace add kilianpaquier/ai-integration
apm install cave-talk@one-for-all -g