[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77WT9WX11FZ5F3BS7ABAQ8J":3,"skill-same:01M77WT9WX11FZ5F3BS7ABAQ8J":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M77WT9WX11FZ5F3BS7ABAQ8J","3-Layer Token Compressor — Cut AI API Costs 40-60%",null,"Pre-process prompts through 3 compression layers before sending to paid APIs. Uses a local Ollama model to intelligently compress messages and summarize history. Same quality, fewer tokens, lower bills.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftoken-compressor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"3-Layer Token Compressor — Cut AI API Costs 40-60%\"\ndescription: \"Pre-process prompts through 3 compression layers before sending to paid APIs. Uses a local Ollama model to intelligently compress messages and summarize history. Same quality, fewer tokens, lower bills.\"\nauthor: \"@TheShadowRose\"\nversion: \"1.1.0\"\ntags: [\"token-optimization\", \"cost-reduction\", \"compression\", \"api-costs\", \"prompt-optimization\", \"budget\"]\nlicense: \"MIT\"\n---\n\n# 3-Layer Token Compressor — Cut AI API Costs 40-60%\n\nPre-process prompts through 3 compression layers before sending to paid APIs. Uses a free local Ollama model to do the compression work — your paid API only sees the condensed result.\n\n## Runtime Requirements\n\n| Requirement | Details |\n|-------------|---------|\n| **Ollama** | Must be running locally (default: `localhost:11434`) |\n| **Local model** | A small model for compression (e.g. `llama3.1:8b`). Configurable via `compressionModel` option. |\n| **Node.js** | 14+ |\n\n**Ollama is required at runtime.** The compressor sends prompts to your local model — not to any external API.\n\n## What This Skill Sends to the Local Model\n\nThis skill sends the following to your local Ollama model:\n\n| Operation | System prompt | User prompt |\n|-----------|--------------|-------------|\n| Message compression | `You are a text compression tool. Output only what is asked, nothing else.` | Your message + instruction to compress |\n| History summarization | Same | Old conversation turns + instruction to summarize |\n\nNo data is sent to external APIs. All compression happens locally.\n\n## Side Effects\n\n| Type | Description |\n|------|-------------|\n| **NETWORK** | HTTP to `localhost:11434` only — your local Ollama instance |\n| **MEMORY** | Response cache stored in-memory (Map, configurable size\u002FTTL) |\n| **DISK** | None — cache is not persisted to disk |\n\n## Setup\n\n```javascript\nconst TokenCompressor = require('.\u002Fsrc\u002Ftoken-compressor');\n\nconst compressor = new TokenCompressor({\n  ollamaHost: 'localhost',      \u002F\u002F default\n  ollamaPort: 11434,            \u002F\u002F default\n  compressionModel: 'llama3.1:8b',  \u002F\u002F default — any Ollama model works\n  maxUncompressedTurns: 10,     \u002F\u002F keep last N turns verbatim\n  cacheMaxSize: 100,\n  cacheTTL: 3600000             \u002F\u002F 1 hour\n});\n```\n\nSee README.md for full API documentation and usage examples.\n","# 3-Layer Token Compressor — Cut AI API Costs 40-60%\n\nPre-process prompts through 3 compression layers before sending to paid APIs. Uses a free local Ollama model to do the compression work — your paid API only sees the condensed result.\n\n## Runtime Requirements\n\n| Requirement | Details |\n|-------------|---------|\n| **Ollama** | Must be running locally (default: `localhost:11434`) |\n| **Local model** | A small model for compression (e.g. `llama3.1:8b`). Configurable via `compressionModel` option. |\n| **Node.js** | 14+ |\n\n**Ollama is required at runtime.** The compressor sends prompts to your local model — not to any external API.\n\n## What This Skill Sends to the Local Model\n\nThis skill sends the following to your local Ollama model:\n\n| Operation | System prompt | User prompt |\n|-----------|--------------|-------------|\n| Message compression | `You are a text compression tool. Output only what is asked, nothing else.` | Your message + instruction to compress |\n| History summarization | Same | Old conversation turns + instruction to summarize |\n\nNo data is sent to external APIs. All compression happens locally.\n\n## Side Effects\n\n| Type | Description |\n|------|-------------|\n| **NETWORK** | HTTP to `localhost:11434` only — your local Ollama instance |\n| **MEMORY** | Response cache stored in-memory (Map, configurable size\u002FTTL) |\n| **DISK** | None — cache is not persisted to disk |\n\n## Setup\n\n```javascript\nconst TokenCompressor = require('.\u002Fsrc\u002Ftoken-compressor');\n\nconst compressor = new TokenCompressor({\n  ollamaHost: 'localhost',      \u002F\u002F default\n  ollamaPort: 11434,            \u002F\u002F default\n  compressionModel: 'llama3.1:8b',  \u002F\u002F default — any Ollama model works\n  maxUncompressedTurns: 10,     \u002F\u002F keep last N turns verbatim\n  cacheMaxSize: 100,\n  cacheTTL: 3600000             \u002F\u002F 1 hour\n});\n```\n\nSee README.md for full API documentation and usage examples.\n",{"name":5,"tags":24,"author":31,"license":15,"version":32,"description":7},[25,26,27,28,29,30],"token-optimization","cost-reduction","compression","api-costs","prompt-optimization","budget","@TheShadowRose","1.1.0","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftoken-compressor",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill \"3-Layer Token Compressor — Cut AI API Costs 40-60%\"",{"tool":48,"command":49},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill \"3-Layer Token Compressor — Cut AI API Costs 40-60%\"",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill \"3-Layer Token Compressor — Cut AI API Costs 40-60%\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftoken-compressor\u002FSKILL.md",true,[],[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]