genshijin-compress

genshijin-compress is a skill for Claude Code, Codex from nakano1122/dotfiles. It costs 104 tokens per session (1,789 once invoked), scanned C, original, no licence file.

A command that compresses natural-language memory files such as CLAUDE.md, todo lists, and settings into a shorter form while keeping their technical content, code, links, and structure.

In plain words
What is it for?
It is for shortening agent memory files and saving tokens when working with Claude Code or similar tools.
Why use it?
It reduces the amount of text an AI agent reads from memory files, while preserving the original human-readable file as a backup.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It is for shortening agent memory files and saving tokens when working with Claude Code or similar tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nakano1122/dotfiles/genshijin-compress
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nakano1122/dotfiles --skill genshijin-compress
Clone the repo
git clone --depth 1 https://github.com/nakano1122/dotfiles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for genshijin-compress

README.md
[![agentmods](https://agentmods.dev/badge/skills/nakano1122/dotfiles/genshijin-compress/github.svg)](https://agentmods.dev/skills/nakano1122/dotfiles/genshijin-compress)
Your own site
<a href="https://agentmods.dev/skills/nakano1122/dotfiles/genshijin-compress"><img src="https://agentmods.dev/badge/skills/nakano1122/dotfiles/genshijin-compress/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for genshijin-compress

Your own site · 80×15
<a href="https://agentmods.dev/skills/nakano1122/dotfiles/genshijin-compress"><img src="https://agentmods.dev/badge/skills/nakano1122/dotfiles/genshijin-compress.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,789 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.01789
Opus 5 $0.00052 $0.00894
Sonnet 5 $0.00021 $0.00358
Haiku 4.5 $0.00010 $0.00179

Measured 11d ago against content hash bf949bbd4fa7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

genshijin-compress scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/__init__.py, scripts/__main__.py, scripts/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- `.env`, `.netrc`
dot_agents/skills/genshijin-compress/SKILL.md · 140 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 140 lines · 104 tokens per session scan C bf949bbd4fa7

Subscribe to this mod's changes

genshijin-compress is a skill published in the GitHub repository nakano1122/dotfiles (2 stars, last pushed 2mo ago), with no licence file. It adds 104 tokens to every session and 1,789 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens