honey-compress
Skill312 starsChanged 4 months agoMITView on GitHub
Rewrite a memory or context file (CLAUDE.md, AGENTS.md, a todo or notes file) into Honey-terse form so it costs fewer input tokens every session, without losing meaning. Backs up the original first. Use when asked to shrink or compress context files, trim CLAUDE.md, or cut per-session input cost. Prose only — never code, config, or data.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/honey.mdcCursor rule
- honey-ccrSkill
- honey-chatSkill
- honey-debtSkill
- honey-designSkill
- honey-ecoSkill
- honey-gainSkill
- honey-hiveSkill
- honey-loopSkill
- honey-memorySkill
- honey-pxSkill
- honey-reviewSkill
- honeySkill
- honey-superpowersSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 30
Don't touch code, config, or data files — prose context only.
- Distinctive: line 31
Don't merge two rules into one if they differ in effect.
- Distinctive: line 32
Don't compress a file you can't back up.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Honey Compress
Apply Lever 2 to a file the agent re-reads every session. The cheapest token is the one not re-sent — a one-time rewrite that saves on every future load.
Do
- Back up first. Copy
FILE→FILE.original.md. If that backup already exists, stop and ask — never clobber a restore point. If no backup can be written, refuse. - Rewrite the prose tersely — drop wind-up, hedging, narration, and redundancy; fragments over paragraphs; merge guidance that repeats.
- Preserve every distinct instruction — terser words, identical rules. If unsure whether a line changes behavior, keep it verbatim.
- Report original vs new line/byte count and the backup path.
Keep exact — never compress
- Code blocks, commands, paths, identifiers, versions.
- Any load-bearing directive — MUST/NEVER rules, and anything touching auth, secrets, money, migrations, or deletes. Compressing an instruction that changes behavior moves cost, it doesn't remove it.
Don't
- Don't touch code, config, or data files — prose context only.
- Don't merge two rules into one if they differ in effect.
- Don't compress a file you can't back up.
Boundaries
Reversible by design — FILE.original.md is the restore path. Verify the rewrite still carries every rule before reporting done.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

