hermaeuswaelon/fl33t/hermes-compression-fix
Claude Code and agent skill by hermaeuswaelon/fl33t
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Fix and troubleshoot compression mechanism in Hermes Agent conversations.
Install
npx vskill@latest install hermaeuswaelon/fl33t/hermes-compression-fixSKILL.md
The same SKILL.md was published earlier as hermaeuswaelon/fl33t/hermes-compression-fix.
Hermes Compression Fix
When to Use
When compression in Hermes Agent conversations is not working as designed — multi-tier thresholds firing incorrectly, context not compressing, or default compression behavior needs adjustment.
Key Files
| File | Purpose | |
|---|---|---|
/opt/hermes-agent/agent/context_compressor.py | Core compression logic: thresholds, triggers, ratios | |
/opt/hermes-agent/agent/system_prompt.py | System prompt assembly, calls context_compressor | |
/opt/hermes-agent/agent/prompt_builder.py | Prompt assembly, passes context info to compressor | |
~/.hermes/profiles/*/config.yaml | Per-profile config, may override compression |
Fix Pattern
- Check current thresholds in
context_compressor.py:
_TIER1_THRESHOLD_TOKENS,_TIER1_5_THRESHOLD_TOKENS,_TIER2_THRESHOLD_TOKENS- Verify they match desired behavior (single threshold vs multi-tier)
- Check compression triggers:
should_compress()logic + ratio targets
- Verify defaults:
hermes configCLI for conversation-level settings
- Test: Force a compression event, check compressor output
Default Single-64K Threshold (simplified)
Pitfalls
- Update both
_TIER*_THRESHOLD_TOKENSandCOMPRESSION_TIERSdict when changing thresholds - Changes to
context_compressor.pytake effect on next session start context_window_sizein config.yaml may override model native context length
Security
- Security scanPassed, 90 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 repositoryCheckingprofile/skills/software-development/hermes-compression-fix/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/hermaeuswaelon/fl33t/hermes-compression-fix)