01
It starts by itself
you name a file. Runs in Claude Code routine.
- ↻ you name a file
/genshijin-compress <filepath>
Smaller memory files, same facts.
Install the Genshijin Compress skill and make it a habit: follow https://gethabit.dev/skills/interfacex-co-jp/genshijin-compress.md
12K installs333 starsMIT licenceSource on GitHub ↗

Genshijin Compress
by interfacex-co-jp · 12K installs
The skill
The genshijin compress skill shrinks natural-language memory files such as CLAUDE.md and todo lists into a terse caveman style to save input tokens, while it keeps code, URLs, paths and structure.
Only when you ask.
The habit
Smaller memory files, same facts.
↻ Runs by itselfyou name a file
When does it start? How does it check its work? What does it remember?
Stops after one file per run, with at most 2 fix retries.
The agent refuses code files and secret files like .env, keys or anything under .ssh.
The readable version is saved as FILE.original.md before anything changes.
The CLI from the scripts folder drops polite filler and hedges, but leaves code, URLs, paths and numbers alone.
The output check runs; on errors only the broken parts are fixed, up to 2 times.
You get the result, or an error report with the original file left unchanged.
The file name and outcome go into the run log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Genshijin Compress skill helps.
No. Code blocks, inline code and code files are never changed.
Yes. The original is kept next to it as FILE.original.md.
Yes, the text goes to the Claude API for compression. Secret files are refused.
Copy the prompt at the top into your agent. It installs the skill from interfacex-co-jp/genshijin and sets up the habit. Or run npx skills add interfacex-co-jp/genshijin --skill genshijin-compress.
Yes. It is published under MIT. Habit is free too.
Install the Genshijin Compress skill and make it a habit: follow https://gethabit.dev/skills/interfacex-co-jp/genshijin-compress.md
All interfacex-co-jp skills →More notes skills →
Works in
Made by interfacex-co-jp, published under MIT. Habit links to the original and never changes it. Is this your skill?