packages/skills/skills/context-compression/SKILL.md
# Context Compression Strategies Compress agent context while preserving critical information for long-running sessions. ## Prerequisites - Understanding of context windows - Familiarity with summarization techniques ## Instructions ### Key Insight Optimize for **tokens-per-task**, not tokens-per-request. When compression loses critical details, agents must re-fetch information, wasting more tokens overall. ### Compression Approaches | Approach | Compression | Quality | Trade-off | |----
npx skillsauth add mediar-ai/skillhubz packages/skills/skills/context-compressionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compress agent context while preserving critical information for long-running sessions.
Optimize for tokens-per-task, not tokens-per-request. When compression loses critical details, agents must re-fetch information, wasting more tokens overall.
| Approach | Compression | Quality | Trade-off | |----------|-------------|---------|-----------| | Anchored Iterative | 98.6% | 3.70 | Best quality | | Regenerative | 98.7% | 3.44 | Moderate | | Opaque | 99.3% | 3.35 | Best compression |
## Session Intent
[What the user is trying to accomplish]
## Files Modified
- file.ts: Description of changes
## Decisions Made
- Key decision and rationale
## Current State
- Progress status
## Next Steps
1. Next action item
| Strategy | Trigger Point | |----------|---------------| | Fixed threshold | 70-80% context utilization | | Sliding window | Keep last N turns + summary | | Task-boundary | Compress at logical task completions |
Test compression quality by asking questions:
| Probe Type | Tests | |------------|-------| | Recall | "What was the original error?" | | Artifact | "Which files have we modified?" | | Continuation | "What should we do next?" |
Source: muratcankoylan/Agent-Skills-for-Context-Engineering
tools
# X Twitter Scraper Use Xquik for X/Twitter tweet search, user lookup, profile tweets, follower export, media download, monitors, webhooks, posting workflows, and MCP-backed API exploration. ## Prerequisites - A Xquik API key in `XQUIK_API_KEY`. - Internet access to `https://xquik.com/api/v1`, `https://xquik.com/mcp`, and `https://docs.xquik.com`. - A clear user request that identifies the target tweets, users, accounts, keywords, media, monitor, webhook, or write action. ## Source Truth -
tools
Use when the user says "mk0r", "appmaker CLI", "open a VM", "run something in the sandbox", "talk to the VM agent", "spin up an E2B sandbox", or "chat with appmaker from CLI." Wraps the `mk0r` CLI to list projects, exec commands inside their E2B sandboxes, stream chat with the VM agent (same `/api/chat` the web UI uses), toggle SOAX residential IP, manage schedules, and copy files. Supports a sticky default project via `mk0r projects use`.
testing
Use when the user mentions "influencer candidates", "social media operator", "check proposals on Upwork/Fiverr", "review influencer applications", "qualify candidates", or "reach out to operators". Manages the IG/TikTok account operator hiring pipeline — review applicants, check replies, qualify, and do proactive outreach.
tools
End-to-end newsletter pipeline: investigate recent features, draft, send via API endpoint, and track delivery/open/click metrics.