mirror of
https://github.com/JuliusBrussee/caveman.git
synced 2026-08-11 13:21:09 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../caveman-compress/SKILL.md
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../caveman-compress/scripts
|
||||
@@ -0,0 +1 @@
|
||||
../../../../caveman-compress/SKILL.md
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../caveman-compress/scripts
|
||||
Reference in New Issue
Block a user