feat: bundle caveman-compress as /caveman:compress skill

- Update caveman-compress/SKILL.md name to 'compress' and trigger to '/caveman:compress'
- Create symlinks from compress/ (Claude Code) and plugins/caveman/skills/compress/ (Codex/npx) to caveman-compress/
- Single source of truth: caveman-compress/ holds all scripts and SKILL.md
- Update README to reflect compress as built-in skill

Fixes #33
This commit is contained in:
Akshay Patil
2026-04-07 17:11:54 -04:00
parent af581f6314
commit 981b6069d8
6 changed files with 12 additions and 5 deletions
+5 -2
View File
@@ -161,6 +161,9 @@ Install once. Use in all sessions after that.
One rock. That it.
> [!NOTE]
> **Windows users:** This repo uses symlinks. On Windows, enable `git config core.symlinks true` before cloning (requires developer mode or admin). The plugin installer resolves symlinks to real files at install time, so symlinks work transparently after installation.
## Usage
Trigger with:
@@ -232,7 +235,7 @@ Caveman makes Claude *speak* with fewer tokens. **Caveman Compress** makes Claud
Your `CLAUDE.md` loads on **every session start**. A 1000-token project memory file costs you tokens every single time you open a project. Caveman Compress rewrites those files into caveman-speak so Claude reads less — without you losing the human-readable original.
```
/caveman-compress CLAUDE.md
/caveman:compress CLAUDE.md
```
```
@@ -275,7 +278,7 @@ Code blocks, inline code, URLs, file paths, commands, headings, table structure,
| **caveman-compress** | Input tokens (memory files loaded per session) | ~45% |
| **Both together** | The whole conversation | Output + input both shrunk |
See the full [caveman-compress README](caveman-compress/README.md) for install, usage, and validation details.
Compress is now built-in with the caveman plugin — no separate install needed. Both `/caveman` and `/caveman:compress` work once you install caveman.
## Star This Repo
+3 -3
View File
@@ -1,10 +1,10 @@
---
name: caveman-compress
name: compress
description: >
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format
to save input tokens. Preserves all technical substance, code, URLs, and structure.
Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md.
Trigger: /caveman-compress <filepath> or "compress memory file"
Trigger: /caveman:compress <filepath> or "compress memory file"
---
# Caveman Compress
@@ -15,7 +15,7 @@ Compress natural language files (CLAUDE.md, todos, preferences) into caveman-spe
## Trigger
`/caveman-compress <filepath>` or when user asks to compress a memory file.
`/caveman:compress <filepath>` or when user asks to compress a memory file.
## Process
+1
View File
@@ -0,0 +1 @@
../../caveman-compress/SKILL.md
+1
View File
@@ -0,0 +1 @@
../../caveman-compress/scripts
+1
View File
@@ -0,0 +1 @@
../../../../caveman-compress/SKILL.md
+1
View File
@@ -0,0 +1 @@
../../../../caveman-compress/scripts