[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71J9MVX1QCA0TX84E3K7N3T":3,"skill-same:01M71J9MVX1QCA0TX84E3K7N3T":70},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":69},"01M71J9MVX1QCA0TX84E3K7N3T","headroom",null,"The Context Optimization Layer for LLM Applications. Compresses tool outputs that are 70-95% redundant boilerplate, dramatically reducing token usage while preserving accuracy. Use when you need to optimize LLM context, reduce token costs, or compress long outputs before sending to LLMs.","bobvarkey\u002Fdiabetes-buddy","bobvarkey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72114170?v=4","01M6KP64KQA4GNH11CSV7FXKNB","Bob Varkey","01M71J703CY616M3Q53B0VQPY7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Flocal\u002Fheadroom\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"outputs","llm context","optimize","llms","LLM Applications","you","reduce","when","use","true","context optimization","long","accuracy","applications","tool","Optimization","for","python3","usage","2026-11-10 10:12:30",false,"---\nname: headroom\ndescription: The Context Optimization Layer for LLM Applications. Compresses tool outputs that are 70-95% redundant boilerplate, dramatically reducing token usage while preserving accuracy. Use when you need to optimize LLM context, reduce token costs, or compress long outputs before sending to LLMs.\nmetadata:\n  openclaw:\n    emoji: 🧠\n    user-invocable: true\n    requires:\n      binaries: [\"python3\"]\n      env: []\n---\n\n# Headroom - Context Optimization Layer\n\n**Primary purpose:** Compress LLM context to reduce token usage by 70-95% while preserving accuracy. Headroom intelligently compresses tool outputs, JSON, code, and text using various compression techniques.\n\n## Activation\n- Trigger when user wants to reduce token usage in LLM conversations\n- Use for compressing long tool outputs, JSON responses, code files\n- Use when context window is approaching limits\n- Use for cost optimization when working with expensive LLMs\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| **Content Router** | Auto-detects content type, routes to optimal compressor |\n| **SmartCrusher** | Universal JSON compression for arrays, objects, nested data |\n| **CodeCompressor** | AST-aware compression for Python, JS, Go, Rust, Java, C++ |\n| **LLMLingua-2** | ML-based 20x text compression |\n| **CCR** | Reversible compression - LLM retrieves originals when needed |\n| **Proxy Mode** | Zero code changes - run as proxy server |\n\n## Usage Examples\n\n### Proxy Mode (Recommended for OpenClaw)\n```bash\n# Start the proxy server\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom proxy --port 8787\n\n# Then configure OpenClaw to use the proxy\n# Set environment variables for your LLM provider\n```\n\n### Python API\n```python\nfrom headroom import compress\n\nresult = compress(messages, model=\"claude-sonnet-4-20250514\")\nresponse = client.messages.create(\n    model=\"claude-sonnet-4-20250514\",\n    messages=result.messages\n)\nprint(f\"Saved {result.tokens_saved} tokens ({result.compression_ratio:.0%})\")\n```\n\n### Command Line\n```bash\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom learn                   # Analyze past sessions\nheadroom learn --apply          # Write learnings to CLAUDE.md\n```\n\n## Requirements\n- Python 3.10+\n- Virtual environment: ~\u002Fheadroom-env\n- Activate with: `source ~\u002Fheadroom-env\u002Fbin\u002Factivate`\n\n## Environment Setup\nThe headroom package is installed in a virtual environment at:\n```\n~\u002Fheadroom-env\n```\n\nTo use headroom in OpenClaw, activate the environment first:\n```bash\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom proxy --port 8787\n```\n\n## Notes\n- Headroom can reduce token usage by 70-95% while maintaining accuracy\n- Supports multiple backend providers (OpenAI, Anthropic, Azure, AWS Bedrock, Google Vertex)\n- Works with any OpenAI-compatible tool when run as proxy\n","# Headroom - Context Optimization Layer\n\n**Primary purpose:** Compress LLM context to reduce token usage by 70-95% while preserving accuracy. Headroom intelligently compresses tool outputs, JSON, code, and text using various compression techniques.\n\n## Activation\n- Trigger when user wants to reduce token usage in LLM conversations\n- Use for compressing long tool outputs, JSON responses, code files\n- Use when context window is approaching limits\n- Use for cost optimization when working with expensive LLMs\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| **Content Router** | Auto-detects content type, routes to optimal compressor |\n| **SmartCrusher** | Universal JSON compression for arrays, objects, nested data |\n| **CodeCompressor** | AST-aware compression for Python, JS, Go, Rust, Java, C++ |\n| **LLMLingua-2** | ML-based 20x text compression |\n| **CCR** | Reversible compression - LLM retrieves originals when needed |\n| **Proxy Mode** | Zero code changes - run as proxy server |\n\n## Usage Examples\n\n### Proxy Mode (Recommended for OpenClaw)\n```bash\n# Start the proxy server\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom proxy --port 8787\n\n# Then configure OpenClaw to use the proxy\n# Set environment variables for your LLM provider\n```\n\n### Python API\n```python\nfrom headroom import compress\n\nresult = compress(messages, model=\"claude-sonnet-4-20250514\")\nresponse = client.messages.create(\n    model=\"claude-sonnet-4-20250514\",\n    messages=result.messages\n)\nprint(f\"Saved {result.tokens_saved} tokens ({result.compression_ratio:.0%})\")\n```\n\n### Command Line\n```bash\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom learn                   # Analyze past sessions\nheadroom learn --apply          # Write learnings to CLAUDE.md\n```\n\n## Requirements\n- Python 3.10+\n- Virtual environment: ~\u002Fheadroom-env\n- Activate with: `source ~\u002Fheadroom-env\u002Fbin\u002Factivate`\n\n## Environment Setup\nThe headroom package is installed in a virtual environment at:\n```\n~\u002Fheadroom-env\n```\n\nTo use headroom in OpenClaw, activate the environment first:\n```bash\nsource ~\u002Fheadroom-env\u002Fbin\u002Factivate\nheadroom proxy --port 8787\n```\n\n## Notes\n- Headroom can reduce token usage by 70-95% while maintaining accuracy\n- Supports multiple backend providers (OpenAI, Anthropic, Azure, AWS Bedrock, Google Vertex)\n- Works with any OpenAI-compatible tool when run as proxy\n",{"name":5,"metadata":43,"description":7},{"openclaw":44},{"emoji":45,"requires":46,"user-invocable":49},"🧠",{"env":47,"binaries":48},[],[36],true,"main","96c323ae8e97220e2713e00f6b4a548258ea364b","skills\u002Flocal\u002Fheadroom","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy","https:\u002F\u002Fdiabetes-buddy.vercel.app","https:\u002F\u002Fgithub.com\u002Fbobvarkey","2026-09-28 10:30:17",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":49},[59,62,65],{"tool":60,"command":61},"npx","npx skills add bobvarkey\u002Fdiabetes-buddy --skill headroom",{"tool":63,"command":64},"bunx","bunx skills add bobvarkey\u002Fdiabetes-buddy --skill headroom",{"tool":66,"command":67},"pnpm","pnpm dlx skills add bobvarkey\u002Fdiabetes-buddy --skill headroom","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Flocal\u002Fheadroom\u002FSKILL.md",[],[71,95,118,142,153,180],{"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":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":38},"01M71JB0ESZJDBPJCQHG5CTZZ2","youtube","YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-api-skill\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-api-skill\u002FSKILL.md",[],[73,79,80,27,81,82,83,84,35,85,86,87,88,89,26,90,91,92,93,94],"api","OAuth","gateway skill","clawhub","api integration","manage","api-gateway","gateway","data","network","valid","apps","access","maton","managed","search",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":38},"01M71JAW9XM1K0FKXHR30ZWC5Y","xcellent","Free, open-source X (Twitter) growth tool. Analytics dashboard, niche discovery, AI tweet writer, best posting times, and credit usage monitoring — all running locally on your machine. BYOK (Bring Your Own Key) model means users only pay X directly for API usage (~$5-15\u002Fmo). A free alternative to SuperX ($39\u002Fmo), Typefully, and Tweet Hunter.","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fxcellent\u002FSKILL.md",[],[97,35,102,103,104,105,106,33,107,108,109,110,37,111,112,113,114,115,116,117],"hunter","bring","model","machine","discovery","twitter","typefully","tweet writer","posting","running","writer","open","analytics dashboard","free","pay","only",{"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":38},"01M71JAR498425CSRJKPPTJ6F4","work-application","CV generation, job scraping, offer analysis, and application tracking. Use when: (1) generating or adapting a CV\u002Fresume for a job offer, (2) scraping job offers from French platforms, (3) analyzing and ranking job offers, (4) generating a full analysis report for a single offer (skills, company, location, salary), (5) tracking candidatures and their status, (6) validating CV content against formatting guardrails. NOT for: cover letter generation (planned), LinkedIn direct messaging, job application submission, salary negotiation coaching.","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fwork-application\u002FSKILL.md",[],[125,126,127,128,129,87,130,88,26,131,132,133,134,135,136,137,138,139,140,141],"work","work application","application","master","cover","status","config","reports","analysis","files","ranking","Guardrails","company","messaging","french","scraping","analyzing",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":38},"01M71JAPH8A5CH6G5T8K24YQ85","weather","Get current weather and forecasts (no API key required).","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fweather\u002FSKILL.md",[],[144,79,149,150,151,152],"https","help","get","curl",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":38},"01M71JAMMTE4K1HZW7D8JQWKDQ","to-do","Give your AI the power to act in the future. Schedule delayed prompts and one-off reminders that automatically wake the agent up at an exact moment to execute workflows, check systems, or send notifications.","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fto-do\u002FSKILL.md",[],[160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],"to do","do","reminders","wake","notifications","check","schedule","one","workflows","up","send","power","at","openclaw","prompts","execute","tz","act","systems","node",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":38},"01M71JAKBCTYE3D7V8B72VKSJE","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fbobvarkey\u002Fdiabetes-buddy\u002Fblob\u002Fmain\u002Fskills\u002Fsummarize\u002FSKILL.md",[],[182,187,134,188,189,149,190,191,192,73,193,194,195],"tap","pdfs","install","web","Audio","cli","with","brew","images"]