Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Genshijin Compress (memory file token slimmer)

Compresses Japanese memory files (CLAUDE.md, todos, configs) into terse "caveman" style to cut input tokens while keeping code and structure intact.

UtilitiesIntermediate31011AI score 9/10Last updated: Aug 15, 2026

What it does

  • Aggressively compresses prose only in files like CLAUDE.md, todo lists and config notes: drops polite forms, filler words, obvious particles and "please do X" phrasing, and rewrites sentences in clipped noun-ending style.
  • Declares strict read-only zones: fenced/indented code blocks, inline backticks, URLs, file paths, commands, env vars, versions/dates/numbers, raw error messages and proper nouns.
  • Preserves Markdown structure: headings, bullet nesting, numbered lists, tables, frontmatter.
  • The compressed version overwrites the original file, while the human-readable copy is saved as FILE.original.md.
  • Refuses to send secrets: .env, credentials.*, SSH keys, certificates, anything under .ssh/.aws/.gnupg/.kube/.docker, or filenames containing secret/token/apikey.

Who it's for

  • Anyone maintaining long Japanese CLAUDE.md or project-rule docs that eat context every session.
  • Teams trying to reduce token spend from bloated memory files.
  • Users who want compression but fear their code samples and commands getting mangled.

Usage examples

  1. /genshijin-compress ~/project/CLAUDE.md → prose shrinks, code blocks copied verbatim, backup written to CLAUDE.original.md.
  2. Ask "compress my memory file" → the skill detects file type, runs the compression CLI, validates output, and patches only the broken spots on failure (max 2 retries).
  3. Point it at .env or id_rsa → it refuses and explains the security rule.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/InterfaceX-co-jp/genshijin/HEAD/skills/genshijin-compress/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/genshijin-compress folder from the GitHub repo InterfaceX-co-jp/genshijin into my ~/.claude/skills/genshijin-compress/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/InterfaceX-co-jp/genshijin.git /tmp/genshijin && mkdir -p ~/.claude/skills && cp -r /tmp/genshijin/skills/genshijin-compress ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/InterfaceX-co-jp/genshijin.git /tmp/genshijin
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/genshijin/skills/genshijin-compress ~/.claude/skills/
  5. Verify Python: python3 --version (the compression CLI needs Python 3).
  6. Restart Claude Code, then run /genshijin-compress /absolute/path/CLAUDE.md or just ask it to compress a memory file.
  7. Test on a throwaway copy first and confirm the FILE.original.md backup exists, since the original path is overwritten.