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
22314 skills3 agents3 hooks
Install
$ npx -y skills add Green-PT/honey-for-devs --skill honey-compress --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/honey-compress

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

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. **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.

Read more
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 AI coding-agent token usage and LLM API costs — making agents emit less code and less prose without losing correctness.

Get the whole plugin

Other skills on honey.