By d4551
Kraken-compressed PirateBao communication mode. Cuts ~75% of tokens while keeping complete technical accuracy.
Kraken-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /piratebao-commit. Auto-triggers when staging changes.
Quick-reference card for all PirateBao modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /piratebao-help, "PirateBao help", "what PirateBao commands", "how do I use PirateBao".
Kraken-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /piratebao-review. Auto-triggers when reviewing pull requests.
Kraken-compressed communication mode. Cuts token usage ~75% by speaking like PirateBao: pirate-dumpling terse while keeping complete technical accuracy. Supports intensity levels: skiff, brig, kraken (default), jade-skiff, jade-brig, jade-kraken, nihon-skiff, nihon-brig, nihon-kraken, swiss-skiff, swiss-brig, swiss-kraken. Use when user says "PirateBao mode", "talk like PirateBao", "use PirateBao", "less tokens", "be brief", or invokes /piratebao. Also auto-triggers when token efficiency is requested.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
PirateBao be a Bun-first, TypeScript-first pirate rig for terse AI coding replies. Commands, code, paths, versions, risk notes, stack traces, and test results stay nailed to the mast. Greeting foam, hedge fog, and apology barnacles get keelhauled on sight. Kraken eats boilerplate; cargo stays lashed. Parrot squawks; token bill shrinks.
Default sail: kraken. Main flags: /piratebao, $piratebao, /piratebao:compress. Goal: fewer tokens, same technical cargo, less polite sea-tax.
AI answers spend doubloons on hello, read the map thrice, then polish the plank until the plank demands equity. PirateBao heaves chatter overboard and lashes treasure to the mast: command, file, bug, fix.
| Before | After |
|---|---|
| "Sure, I would be happy to help. The issue is likely caused by a new object reference on each render." | "New object ref each render. Use useMemo." |
Same treasure map. Smaller scroll. Faster ship. Fewer invoices dressed as parrots. No "hope this helps" barnacle unless it actually fixes the failing test. Politeness is ballast; the kraken knows what to eat.
flowchart LR
A["Long answer"] --> B["PirateBao removes ceremony"]
B --> C["Short technical answer"]
C --> D["Fewer tokens"]
D --> E["Lower cost + faster replies"]
| Area | Contract |
|---|---|
| Runtime | Claude Code hooks compile to dist/hooks/*.js; session start hauls no tsx anchor. |
| Skills | Canonical behavior lives in skills/piratebao/SKILL.md; copies synced and verified — drift walks the plank. |
| Compression | /piratebao:compress <file> uses Anthropic SDK, preserves code/URLs/paths/headings, writes .original.md backup. |
| OpenCode | Native .opencode/skills/<name>/SKILL.md and .opencode/commands/*.md; no plugin dependency in this pass. |
| npmjs | package.json exports compiled TypeScript cargo and gates the payload with npm pack --dry-run --json. No imaginary barrels aboard. |
.bao | bao/piratebao.manifest.json is a cargo ledger, not an archive format. The quartermaster checks it. |
| Not aboard | Reason |
|---|---|
| Legacy aliases | Break rename is intentional. Old names are barnacles — scrape them. |
| CLI fallback for compression | Missing ANTHROPIC_API_KEY fails directly. Ghost oars cost maintenance and sometimes row toward prod. |
.bao archive builder | This pass counts barrels and checks labels only. No archive builder lurks below deck. |
| Runtime TypeScript loader for hooks | Hooks run compiled JS. Ship does not stop to compile at dawn. |
PirateBao は Bun-first / TypeScript-first の海賊リグです。AI コーディング返答から挨拶の泡、遠慮の霧、謝罪のフジツボを斬り捨てます。コード、コマンド、パス、バージョン、危険、スタックトレース、テスト結果はマストに釘打ちます。クラーケンは boilerplate を食べ、TypeError は残します。オウムは騒ぐ。token は金貨。礼儀に銀貨を払う船長はおらぬ。
AI は宝箱の前で長々と挨拶し、地図を三度読み直し、甲板を磨いて磨いて磨きがちです。PirateBao は泡を海に捨て、宝だけマストに残します: コマンド、ファイル、バグ、修正。金貨で霧を買わぬ。海賊は礼儀に銀を払わぬ。
flowchart LR
A["長い返答"] --> B["前置きを捨てる"]
B --> C["短い技術返答"]
C --> D["token削減"]
D --> E["速い航海"]
| 項目 | 内容 |
|---|---|
| 既定の帆 | kraken |
| 主要コマンド | /piratebao, /piratebao:compress <file>, /piratebao-help |
| 日本語モード | nihon-skiff, nihon-brig, nihon-kraken |
| 検証 | bun run check が TypeScript、Vitest、.bao、OpenCode、npmjs dry-run を通す |
| 積荷台帳 | bao/piratebao.manifest.json に README と OpenCode 積荷を載せる |
bun install --frozen-lockfile
bun run check
船長向け結論: これは翻訳された飾りではなく、日本語の短縮モードと検証対象の README です。nihon-kraken は短く切る。rm -rf と npm publish の危険は切りすぎない。髑髏は少なめ、検証は多め。
PirateBao isch es Bun-first, TypeScript-first Pirat-Rigg für churzi AI-Coding-Antworte. Code, Befehle, Pfäd, Versione, Risiko, Stacktraces und Testresultat bliibe am Mascht feschtgnaglet. Begrüessigs-Schaum, Hättegli-Nebel und Entschuldigungsmuschele gönd über Bord — kielholt ohni Gnade. De Chrottekrake frisst Boilerplate, nöd Fehlermeldige. De Papagei chiflet; d token-Rechnig schrumpft. Höflichkeit isch Ballascht.
AI redt mängisch hoi, list d Charte drüümal und poliert s Brett bis es nach Büro riecht. PirateBao seit: Ladig bhalte, Blabla ab is Wasser. Tokens sind Münze; mir zahled nöd für Nebel mit Schnauz. De Hafemeister nickt; de Papagei chrächzt.
flowchart LR
A["Langi Antwort"] --> B["Blabla usem Logbuech streiche"]
B --> C["Kurzi Technik-Antwort"]
C --> D["weniger Tokens"]
D --> E["schnäller Hafe"]
| Teil | Sinn |
|---|---|
| Standard-Segel | kraken |
| Befehle | /piratebao, /piratebao:compress <file>, /piratebao-help |
| Schwiizerdütsch-Modi | swiss-skiff, swiss-brig, swiss-kraken |
| Gate | bun run check prüeft TypeScript, Vitest, .bao, OpenCode und npmjs dry-run |
| Ladigslischte | bao/piratebao.manifest.json listet README und OpenCode-Fracht |
npx claudepluginhub d4551/piratebao --plugin piratebaoBrief prose. Short common words. Trust context. State what matters. Omit what reader can infer.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.
超圧縮コミュニケーションモード。原始人のように話してトークン使用量を約75%削減しつつ、技術的正確性は完全に維持。日本語に最適化。コミット生成・PRレビュー・メモリ圧縮・stats可視化サブスキル同梱。SessionStart/UserPromptSubmit フックでモード追跡・毎ターン補強・ドリフト防止・/genshijin-stats でセッション削減量+USD推定表示。MCP middleware (genshijin-shrink) でMCPツール記述も圧縮。スラッシュコマンド /genshijin /genshijin-commit /genshijin-review /genshijin-stats 付属。Cursor/Windsurf/Cline/Copilot 等マルチエージェント対応。3 cavecrew相当 subagent (investigator/builder/reviewer) で長セッションコンテキスト持続。
โหมดสื่อสารแบบกระชับสำหรับภาษาไทย+อังกฤษ ลด token ~60-75% โดยพูดไทยสั้นๆ แต่ยังถูกต้องทาง technical (Pordee — terse Thai+English mode for Claude Code, cuts ~60-75% tokens while keeping full technical accuracy.)
Automatically compresses verbose CLI output (git, docker, npm, terraform, kubectl, etc.) to save tokens in Claude Code sessions. 32 specialized processors with content-aware compression.