momori777/artemis/headroom
Claude Code and agent skill by momori777/artemis
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens. Use when context is bloated or approaching token limits.
Install
npx vskill@latest install momori777/artemis/headroomSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as momori777/artemis/headroom.
Headroom — Context Compression Layer
SmartCrusher + CCR (Compress-Cache-Retrieve) for token-saving context compression. Portable Python module — no external dependencies beyond stdlib.
When to Use
- Large tool output (grep results, JSON arrays, file listings) approaching context limit
- Before sending a long context to a model with token cap
- Need to preserve essential items while dropping noise
Quick Start
SmartCrusher — 5-Dimensional Scoring
Keeps items by:
- First/Last items — pagination context + latest data (30% head + 15% tail)
- Error items — 100% preserved
- Statistical outliers — > 2 std from mean
- Query-relevant — BM25 match against user query
- Change points — significant transitions in data
Config overrides:
CCR Store — Compress-Cache-Retrieve
Token Estimation
Integration Notes
- This module is already imported by
skills/shared/context_trimming.py(SmartCrusher layer) - CCR background worker in
skills/sakura/app/agent/memory_curator.pywrites to Qdrant - For roleplay context trimming: the context_trimming module wraps SmartCrusher with 24msg/40K char cap
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/headroom/SKILL.md
Popularity
- Repository stars
- 360
- Repository forks
- 20
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/momori777/artemis/headroom)