[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D5FV71CW1K3R8CJM3QMN2Q":3,"skill-same:01M6D5FV71CW1K3R8CJM3QMN2Q":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6D5FV71CW1K3R8CJM3QMN2Q","claude-session-optimizer",null,"Compress oversized Claude Code session files to prevent crashes and recover disk space. Uses the claude-session-optimizer tool from GitHub (javimosch\u002Fclaude-session-optimizer).","javimosch\u002Fsupercli","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M6D3F2EBNWNJ358Q90P5YQR1",57,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fclaude-session-optimizer\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"session","optimizer","claude session optimizer","github","code","disk","tool","compress","oversized","files","session files","2026-11-10 10:12:30",false,"---\nname: claude-session-optimizer\ndescription: Compress oversized Claude Code session files to prevent crashes and recover disk space. Uses the claude-session-optimizer tool from GitHub (javimosch\u002Fclaude-session-optimizer).\n---\n\n# Claude Session Optimizer\n\nClaude Code sessions (`~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl`) grow unbounded. Once a session exceeds **~75 MB**, Claude crashes on load. This tool compresses them back to \u003C 50 MB while keeping conversation history intact.\n\n## Commands\n- `claude-session-optimizer \u003Cresource> \u003Caction>` — Execute claude-session-optimizer commands\n- `claude-session-optimizer self install` — Download compress-claude-session script from GitHub to ~\u002F.local\u002Fbin\u002F\n- `claude-session-optimizer self list` — List all Claude Code sessions sorted by size, with status flags for oversized ones\n- `claude-session-optimizer self compress` — Compress all sessions over 50 MB threshold. Creates .bak backups first.\n- `claude-session-optimizer self dry-run` — Preview compression savings without modifying any files. Shows exactly what would be removed\u002Ftruncated.\n- `claude-session-optimizer self compress-threshold` — Compress all sessions over a custom MB threshold. Example: --threshold 30 compresses everything over 30 MB.\n- `claude-session-optimizer self file` — Compress a specific session file. Provide the full path to the .jsonl file.\n- `claude-session-optimizer self learn` — Teach the agent how to use claude-session-optimizer. Run: sc skills teach claude-session-optimizer:quickstart\n- `claude-session-optimizer self auto` — ? One-command health check: auto-installs optimizer (cached to ~\u002F.local\u002Fbin), scans all sessions, reports oversized ones, and gives guidance on next steps. Safe — never modifies files.\n- `claude-session-optimizer _ _` — Passthrough: run any raw compress-claude-session command. Example: claude-session-optimizer _ _ --threshold 30 --dry-run\n\n## Quick Start\n\n### ? One-command health check (safe)\n```bash\n# First-time: sync latest plugins, install, and run health check\nsc plugins update && sc plugins install claude-session-optimizer\nsc claude-session-optimizer self auto\n```\nThe `auto` command auto-installs the optimizer (cached), scans all sessions, reports oversized ones, and tells you how to compress. **Never modifies files** — safe to run anytime.\n\n> **Note for npx users:** Replace `sc` with `npx superacli`. The `plugins update` command fetches the latest plugin catalog directly from GitHub — no npm publish needed.\n\n### Manual commands\n```bash\n# List all sessions with sizes\nsc claude-session-optimizer self list\n\n# Compress all sessions over 50 MB\nsc claude-session-optimizer self compress\n\n# Preview savings (no writes)\nsc claude-session-optimizer self dry-run\n\n# Target a specific session\nsc claude-session-optimizer self file --path ~\u002F.claude\u002Fprojects\u002F-my-project\u002Fuuid.jsonl\n\n# Custom threshold (e.g., 30 MB)\nsc claude-session-optimizer self compress-threshold --threshold 30\n```\n\n## What Gets Removed\n\n| Component | Why | Typical savings |\n|-----------|-----|-----------------|\n| **thinking** blocks | Internal reasoning (not needed to continue) | ~11 MB |\n| **file-history-snapshots** | Undo history (auto-rebuilt) | ~17 MB |\n| **pr-link, queue-operation** | Redundant metadata | ~1 MB |\n| **tool_result** (large) | Command output → `[truncated: N B]` | ~3 MB |\n| **tool_use** input (large) | Tool args → tool name + size note | ~4 MB |\n\n**Kept:** user messages, assistant text, attachments\u002Fgoals, system prompts, last-prompt, mode markers.\n\n## Installation\n\n```bash\nmkdir -p ~\u002F.local\u002Fbin\ncurl -sL https:\u002F\u002Fraw.githubusercontent.com\u002Fjavimosch\u002Fclaude-session-optimizer\u002Fmain\u002Fcompress-claude-session.py -o ~\u002F.local\u002Fbin\u002Fcompress-claude-session\nchmod +x ~\u002F.local\u002Fbin\u002Fcompress-claude-session\n```\n\nOr run directly without installing:\n\n```bash\npython3 \u003C(curl -sL https:\u002F\u002Fraw.githubusercontent.com\u002Fjavimosch\u002Fclaude-session-optimizer\u002Fmain\u002Fcompress-claude-session.py) --list\n```\n\n## Safety\n\n- Creates `.bak` backup before modifying any file\n- Idempotent: running on already-compressed session is a no-op\n- Dry-run: use `--dry-run` to preview\n- Zero dependencies: Python 3 standard library only\n\n## GitHub\n\nhttps:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fclaude-session-optimizer\n","# Claude Session Optimizer\n\nClaude Code sessions (`~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl`) grow unbounded. Once a session exceeds **~75 MB**, Claude crashes on load. This tool compresses them back to \u003C 50 MB while keeping conversation history intact.\n\n## Commands\n- `claude-session-optimizer \u003Cresource> \u003Caction>` — Execute claude-session-optimizer commands\n- `claude-session-optimizer self install` — Download compress-claude-session script from GitHub to ~\u002F.local\u002Fbin\u002F\n- `claude-session-optimizer self list` — List all Claude Code sessions sorted by size, with status flags for oversized ones\n- `claude-session-optimizer self compress` — Compress all sessions over 50 MB threshold. Creates .bak backups first.\n- `claude-session-optimizer self dry-run` — Preview compression savings without modifying any files. Shows exactly what would be removed\u002Ftruncated.\n- `claude-session-optimizer self compress-threshold` — Compress all sessions over a custom MB threshold. Example: --threshold 30 compresses everything over 30 MB.\n- `claude-session-optimizer self file` — Compress a specific session file. Provide the full path to the .jsonl file.\n- `claude-session-optimizer self learn` — Teach the agent how to use claude-session-optimizer. Run: sc skills teach claude-session-optimizer:quickstart\n- `claude-session-optimizer self auto` — ? One-command health check: auto-installs optimizer (cached to ~\u002F.local\u002Fbin), scans all sessions, reports oversized ones, and gives guidance on next steps. Safe — never modifies files.\n- `claude-session-optimizer _ _` — Passthrough: run any raw compress-claude-session command. Example: claude-session-optimizer _ _ --threshold 30 --dry-run\n\n## Quick Start\n\n### ? One-command health check (safe)\n```bash\n# First-time: sync latest plugins, install, and run health check\nsc plugins update && sc plugins install claude-session-optimizer\nsc claude-session-optimizer self auto\n```\nThe `auto` command auto-installs the optimizer (cached), scans all sessions, reports oversized ones, and tells you how to compress. **Never modifies files** — safe to run anytime.\n\n> **Note for npx users:** Replace `sc` with `npx superacli`. The `plugins update` command fetches the latest plugin catalog directly from GitHub — no npm publish needed.\n\n### Manual commands\n```bash\n# List all sessions with sizes\nsc claude-session-optimizer self list\n\n# Compress all sessions over 50 MB\nsc claude-session-optimizer self compress\n\n# Preview savings (no writes)\nsc claude-session-optimizer self dry-run\n\n# Target a specific session\nsc claude-session-optimizer self file --path ~\u002F.claude\u002Fprojects\u002F-my-project\u002Fuuid.jsonl\n\n# Custom threshold (e.g., 30 MB)\nsc claude-session-optimizer self compress-threshold --threshold 30\n```\n\n## What Gets Removed\n\n| Component | Why | Typical savings |\n|-----------|-----|-----------------|\n| **thinking** blocks | Internal reasoning (not needed to continue) | ~11 MB |\n| **file-history-snapshots** | Undo history (auto-rebuilt) | ~17 MB |\n| **pr-link, queue-operation** | Redundant metadata | ~1 MB |\n| **tool_result** (large) | Command output → `[truncated: N B]` | ~3 MB |\n| **tool_use** input (large) | Tool args → tool name + size note | ~4 MB |\n\n**Kept:** user messages, assistant text, attachments\u002Fgoals, system prompts, last-prompt, mode markers.\n\n## Installation\n\n```bash\nmkdir -p ~\u002F.local\u002Fbin\ncurl -sL https:\u002F\u002Fraw.githubusercontent.com\u002Fjavimosch\u002Fclaude-session-optimizer\u002Fmain\u002Fcompress-claude-session.py -o ~\u002F.local\u002Fbin\u002Fcompress-claude-session\nchmod +x ~\u002F.local\u002Fbin\u002Fcompress-claude-session\n```\n\nOr run directly without installing:\n\n```bash\npython3 \u003C(curl -sL https:\u002F\u002Fraw.githubusercontent.com\u002Fjavimosch\u002Fclaude-session-optimizer\u002Fmain\u002Fcompress-claude-session.py) --list\n```\n\n## Safety\n\n- Creates `.bak` backup before modifying any file\n- Idempotent: running on already-compressed session is a no-op\n- Dry-run: use `--dry-run` to preview\n- Zero dependencies: Python 3 standard library only\n\n## GitHub\n\nhttps:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fclaude-session-optimizer\n",{"name":5,"description":7},"master","d362369a98edfcc6356f3bb152db470c34f08a46","plugins\u002Fclaude-session-optimizer\u002Fskills\u002Fquickstart",5,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli","https:\u002F\u002Fjavimosch.github.io\u002Fsupercli\u002F","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-11-02 18:24:17",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add javimosch\u002Fsupercli --skill claude-session-optimizer",{"tool":51,"command":52},"bunx","bunx skills add javimosch\u002Fsupercli --skill claude-session-optimizer",{"tool":54,"command":55},"pnpm","pnpm dlx skills add javimosch\u002Fsupercli --skill claude-session-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fclaude-session-optimizer\u002Fskills\u002Fquickstart\u002FSKILL.md",true,[],[60,73,93,106,118,126],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":70,"publishedAt":30},"01M6G7YFZVHRYAY51J0YG9SDNJ","sc-machin-mcp","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fsupercli-machin-cli\u002Fskills\u002Fsc-machin-mcp\u002FSKILL.md",[65],{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[71,72],"sc machin mcp","MCP",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":80,"publishedAt":30},"01M6G7YB179MQMSHZBJDC8TZA8","supercli.quickstart","SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fskills\u002Fsupercli\u002FSKILL.md",[79],{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},[81,82,83,84,85,86,87,88,89,90,91,92],"supercli quickstart","quickstart","cli","capability router","plugin","discovery","execute","router","discover","commands","interface","supercli,cli,plugin,capability,discovery,agent",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":30},"01M6G7Y734QS3793YMS5PR146J","zzdoc","Use this skill to compile scdoc manpages with a fast Zig-based compiler.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzzdoc\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[95,100,101,102,103,104,105],"with","use","zig","fast","compiler","compile",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":30},"01M6G7Y2WX56K2QJQ9RV2ZKEV7","zx","Use this skill when the user wants to a tool for writing better scripts using node.js.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzx\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[108,113,101,114,115,25,116,117],"scripts","user","node","js","writing",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":30},"01M6G7Y0M792DGW31HN4TEQT10","zvm","Use this skill when the user wants to manage multiple Zig compiler versions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzvm\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[120,102,125,101,114,104],"manage",{"skillNo":127,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":30},"01M6G7XX51W5HJW09DYXBK92TJ","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzstdmt\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[82]]