headroom
Use when a Python or TypeScript app sends large tool outputs, logs, JSON, search results or long chat history to an LLM and the task is to cut input tokens, reduce token cost, fit a context window, or trim tool results without losing errors. Adds the headroom-ai compress() call; in-process, no API key, no model download.
التثبيت
انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):
npx degit headroomlabs-ai/headroom/plugins/headroom-skill/skills/headroom .claude/skills/headroomأو ثبّته لكل المشاريع:
npx degit headroomlabs-ai/headroom/plugins/headroom-skill/skills/headroom ~/.claude/skills/headroomمحتوى الملف
من إنشاء مؤلفيه الأصليين ومنشور بترخيص Apache-2.0. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗
…