marktantongco/opencode-accomplishments/context-compressor

Claude Code and agent skill by marktantongco/opencode-accomplishments

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Compress long contexts preserving critical information. Use when use when reducing context length while keeping essential information Triggers on keywords: compression, context, optimization, tokens.

Install

npx vskill@latest install marktantongco/opencode-accomplishments/context-compressor

SKILL.md

Context Compressor

context

Compress long contexts preserving critical information. Uses hierarchical summarization, key entity extraction, and relevance scoring to fit essential context within token limits. This skill provides system-level capabilities that maintain agent state, ensure consistency, and optimize resource usage across sessions and projects.

instructions

Step 1: Assess System Needs
  1. Identify the system operation required — memory, sync, compression, or role management
  2. Determine scope — single session, multi-session, or cross-project
  3. Map dependencies — what other systems or tools are involved
  4. Establish operational parameters — retention, frequency, thresholds
Step 2: Execute System Operation
  1. Initialize — Set up or load required state and configuration
  2. Process — Execute the core operation with proper error handling
  3. Validate — Verify the operation completed correctly
  4. Report — Document what was done and any issues encountered
Step 3: Generate System Report
markdown
## System Operation Report
### Operation
Type of operation performed
### Input
What was processed
### Output
Results of the operation
### State Changes
-Change 1: before to after
-Change 2: before to after
### Issues Encountered
-Issue: resolution
Step 4: Verify System Health
  • [ ] Operation completed without errors
  • [ ] State is consistent and valid
  • [ ] No resource leaks or orphaned data
  • [ ] Logging and monitoring are active
  • [ ] Backup/recovery procedures are in place

constraints

  • NEVER modify system state without logging the change.
  • NEVER assume operations succeed — always validate results.
  • NEVER skip cleanup — system resources must be properly released.
  • ALWAYS handle concurrent access and race conditions.
  • ALWAYS maintain backward compatibility with existing state.

examples

Example: System Operation

Input: "Use when reducing context length while keeping essential information"

Output:

markdown
## System Operation Report
### Operation
Context Compressor executed successfully
### State Changes
-Configuration updated with new parameters
-State persisted to storage
### Verification
-All health checks passing
-No resource leaks detected

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

Popularity

Repository forks
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/marktantongco/opencode-accomplishments/context-compressor/badge)](https://verified-skill.com/skills/marktantongco/opencode-accomplishments/context-compressor)

Something wrong with this skill or its page? Tell us.