genshijin: The Claude Code Plugin That Compresses Japanese Into Machine-Grade Speech

A Japanese-optimized caveman skill that strips politeness, cuts token waste, and still knows when to switch back to formal language for safety.

7 min read • View on GitHub • More from InterfaceX-co-jp

A wide editorial scene showing a stream of long, polite Japanese text being squeezed through a mechanical die into a tighter output stream. Three gates labeled 丁寧, 通常, and 極限 sit along the compression path, while the output side turns into short commands, arrows, and terse fragments. It explains how the plugin turns language style into a controlled compression system.
The core idea is not just “be shorter.” It is a staged compression pipeline with selectable intensity.
Key Takeaways

Politeness Has a Price

Japanese politeness is elegant, but in an LLM workflow it is also expensive. Extra honorifics, cushion words, and softening phrases consume tokens, which matters when you are paying per call and trying to keep context open for real work.

That is the strange and useful premise behind genshijin. It does not ask Claude to sound cooler. It treats language as infrastructure, then reduces overhead where the task does not need it.

What genshijin Actually Does

The skill gives Claude Code three compression levels. 丁寧 keeps the output polite, but trims filler. 通常 drops keigo, compresses particles, and aims for compact, task-first phrasing. 極限 pushes harder, using abbreviations, arrows, and telegram-style fragments when the situation allows it.

The point is not random terseness. The prompt system instructs the model to remove greetings, cut softeners like えーと and 基本的に, and preserve meaning with less verbal furniture. In the strongest mode, the output starts to look like notation rather than conversation.

The system is staged, not binary. Compression gets stronger by mode, but risky operations can override it and force clarity.

The Safety Valve Is the Real Design Win

A close-up control panel shows a red warning light concept rendered in black ink only, with a lever pulling the system out of compressed mode and back into a clearer output state. One branch on the screen stays terse, while the dangerous-command branch expands into longer, more explicit Japanese. It explains that safety can override compression when precision matters.
Compression is useful until the task becomes risky. Then the system snaps back to clarity.

This is the part that makes the repo feel engineered instead of performative. A compression gimmick is easy to copy. A rule that yields to risk is a real operational safeguard.

Why the Benchmarking Matters

The repository does not just claim savings. It runs a benchmark loop across 30 prompts, compares normal output with caveman-style compression, and tracks median token counts. That matters because prompt engineering claims get stale fast unless they are measured.

ModeStyleSafety behaviorBest use caseToken profile
Normal JapanesePolite, full phrasingBaselineWhen clarity and tone matter mostHighest
CavemanCompressed English-style shorthandDepends on the promptGeneral brevity experimentsLower
genshijinJapanese compression with rulesAuto-reverts for risky actionsClaude Code workflows in JapaneseLowest in safe routine tasks

The important detail is not only the savings number. The benchmark harness feeds those results back into the repo, so the README can stay aligned with the current model behavior. That closes the loop between claim, test, and documentation.

How It Fits Into the Claude Code Ecosystem

The plugin layer matters because friction decides adoption. A prompt file is easy to copy once. A Claude Code plugin is easier to install, share, and standardize across a team.

ApproachWhat you doWhat you getTrade-off
Copy-paste promptPaste compression instructions by handFast experimentLow consistency
Installed pluginAdd the skill through Claude CodeReusable workflowRequires ecosystem support

That is why genshijin is more than a clever prompt. It is packaging for a specific Japanese developer workflow, with enough structure to survive repeated use.

What This Says About AI Workflows in Japanese

The larger lesson is simple: language-specific optimization is becoming a product category. Generic concise-mode prompting can help, but it does not understand the cost structure of Japanese politeness, or the safety requirements of coding tasks, the way a dedicated tool can.

genshijin is small, but it is sharp. It turns a cultural habit into a measurable engineering problem, then solves it with rules, benchmarks, and a safety override.