Skip to content
Development
Skill

/honey-compress

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

From plugin
honey
35614 skills3 agents3 hooks

Claude Code

$ npx -y skills add Green-PT/honey-for-devs --skill honey-compress --agent claude-code

SKILL.md

honey-compress.SKILL.md
name: honey-compress
description: >-
  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.
license: MIT

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

1. **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. 2. **Rewrite the prose tersely** — drop wind-up, hedging, narration, and redundancy; fragments over paragraphs; merge guidance that repeats. 3. **Preserve every distinct instruction** — terser words, identical rules. If unsure whether a line changes behavior, keep it verbatim. 4. **Verify, then keep or undo.** Run `node "${CLAUDE_PLUGIN_ROOT}/bin/check.js" fidelity FILE.original.md FILE`. It fails if any number, code span, URL, negation or safety word was lost, or if the file didn't get smaller. On a failure, fix the named loss, or restore the backup (`cp FILE.original.md FILE`) when the fix would cost the savings. Never report a failing rewrite as done. (If `CLAUDE_PLUGIN_ROOT` is unexpanded, `bin/check.js` lives at the plugin root, two directories above this file; installed from npm it is `honey-check`.) 5. **Report** original vs new byte count (the check prints it) 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. The fidelity check is the floor, not the ceiling: it catches lost facts, not a reworded rule that changed meaning, so still read the diff.

Read more
@green-pt
Ships withhoney

Write less code and say less about it. Honey (I Shrunk the AI) by GreenPT is a cross-tool coding skill that cuts the output tokens AI coding agents spend — making them emit less code and less prose without losing correctness.

35614 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
356
Star history of Green-PT/honey-for-devs on GitHub, a chart by star-history.com

Other skills on honey.

honey-ccr

honey-ccr

Compress-Cache-Retrieve for huge, repetitive array tool output (logs, scan results, time series, event streams) before it enters…

@green-pt@green-ptInstall Skill
honey-chat

honey-chat

Honey for plain Claude — the terse-prose core with no agent-harness features. Paste into a claude.ai Project's custom…

@green-pt@green-ptInstall Skill
honey-debt

honey-debt

Harvest every `shortcut:` comment (and legacy `honey:` ones) in the codebase into a debt ledger, so the deliberate shortcuts…

@green-pt@green-ptInstall Skill
honey-design

honey-design

Same pixels, fewer tokens — for user-facing deliverables where visual polish is the spec. Use when building or editing a landing…

@green-pt@green-ptInstall Skill
honey-eco

honey-eco

Report this session's output tokens and CO₂ by running the repo's committed EcoLogits port, plus the modelled CO₂/$ saved vs a…

@green-pt@green-ptInstall Skill
honey-gain

honey-gain

Show Honey's benchmark scoreboard — the committed quality and token results per task tier (code, user-facing, agent-to-agent)…

@green-pt@green-ptInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about honey-compress.

Which coding agents can use honey-compress?
honey-compress installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.