> 自然言語メモリファイル(CLAUDE.md, todos, 設定)を原始人形式に圧縮し入力トークン削減。 技術内容・コード・URL・構造は完全保持。圧縮版が原ファイルを上書き、人間可読版は FILE.original.md として保存。「/genshijin-compress <filepath>」「メモリファイル圧縮」で起動。
npx skills add https://github.com/InterfaceX-co-jp/genshijin --skill genshijin-compress
自然言語ファイル(CLAUDE.md, todos, 設定)を原始人モード化して入力トークン削減。圧縮版が原ファイル上書き、人間可読版は <filename>.original.md で保存。
/genshijin-compress <filepath> または「メモリファイル圧縮」等の依頼。
scripts/ を検出 cd <SKILL.md を含むディレクトリ> && python3 -m scripts <絶対ファイルパス>
` and indented)backtick)/src/components/..., ./config.yaml)npm install, git commit, docker build)$HOME, NODE_ENV)重要ルール:
禁止:
- コメント削除
- スペース削除
- 行順変更
- コマンド短縮
- 簡略化一切
インラインコード(`...`)は完全保持。バッククォート内は一切変更しない。
コードブロック含むファイル:
- コードブロックは読取専用領域として扱う
- 外側のテキストのみ圧縮
- コード周辺セクションの結合禁止
## パターン例
### 例1
原文:
> main ブランチにプッシュする前には必ずテストスイートを実行するようにしてください。これはバグを早期に発見し、壊れたビルドが本番環境にデプロイされるのを防ぐために重要です。
圧縮:
> main push前テスト実行。バグ早期発見、壊れビルド本番デプロイ防止。
### 例2
原文:
> このアプリケーションは以下のコンポーネントを持つマイクロサービスアーキテクチャを採用しています。APIゲートウェイが全ての受信リクエストを処理し、適切なサービスにルーティングします。認証サービスはユーザーセッションとJWTトークンの管理を担当します。
圧縮:
> マイクロサービスアーキテクチャ。APIゲートウェイ 全受信リクエストをサービスにルーティング。認証サービス ユーザーセッション + JWTトークン管理。
## 境界
- 自然言語ファイルのみ圧縮(.md, .txt, 拡張子なし)
- 絶対変更しない: .py, .js, .ts, .json, .yaml, .yml, .toml, .env, .lock, .css, .html, .xml, .sql, .sh
- 混在ファイル(散文 + コード)は散文部分のみ圧縮
- コードか散文か判断つかない場合は変更しない
- 原ファイルは FILE.original.md にバックアップしてから上書き
- FILE.original.md は絶対圧縮しない(スキップ)
- 機密ファイル(.env, credentials, id_rsa 等)は絶対に送信しない → 拒否
## セキュリティ
圧縮は Anthropic API に生データ送信。以下は拒否:
- `.env`, `.netrc`
- `credentials.*`, `secrets.*`, `passwords.*`
- SSH鍵(`id_rsa`, `id_ed25519` 等)
- 証明書(`.pem`, `.key`, `.p12`, `.crt` 等)
- ディレクトリ `.ssh`, `.aws`, `.gnupg`, `.kube`, `.docker` 配下
- ファイル名に `secret`/`credential`/`password`/`apikey`/`token`/`privatekey` 含むもの
ヒューリスティック誤検知時は、ファイル名変更で回避可能。
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Take interfacex-co-jp/genshijin-compress from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.