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
Use when the user wants to manage Valet agents, channels, connectors, organizations, or environment variables (secrets and plain config) via the valet CLI. Handles creation, deployment, linking, teardown, and all multi-step workflows. Also use when asked to "create an agent", "deploy an agent", "design an agent", "build me an agent that...", "create a connector", "set up a webhook", or anything involving the Valet platform or any request to create and deploy AI agents. Also use when asked to "learn from this session", "capture this workflow", "save this as an agent", "make this repeatable", or when writing SOUL.md files.
tools
Publish files, folders, and artifacts to the web. Static hosting for HTML sites, images, PDFs, reports, dashboards, and any file type. Use when asked to publish, host, upload, serve, or share work at a live URL. Also use to propose a rendered page when a report, comparison, chart, design document, or status page would work better than terminal text, but do not create or update a remote site until the user asks or agrees. Account publishing gives a permanent, private-by-default URL visible to org members; --anonymous gives a temporary public URL with no account. Use the valet CLI when available and its MCP server when the CLI cannot run. For deploying an AI agent rather than static files, use the `valet` skill instead.
testing
# Faceless.so Turn a script, prompt, Reddit post, or blog into a Remotion short with TTS, captions, and B-roll, then auto-post to YouTube, TikTok, Instagram, X, Facebook, LinkedIn, and Threads. ## Prerequisites - A Faceless.so account (from $24/mo) at https://faceless.so - Source material: script, prompt, Reddit URL, or blog URL - Destination social accounts to auto-post (YouTube, TikTok, Instagram, X, Facebook, LinkedIn, Threads) ## Instructions 1. Open https://faceless.so and start a new
testing
# BIMI SVG Tiny P/S Corpus Validator Use the public makeBIMI SVG Tiny P/S Test Corpus to evaluate an SVG against its evidence-bound fixture rules and to report the result clearly. ## Inputs Accept either an SVG file, an SVG URL, or raw SVG markup. If the source cannot be retrieved or parsed as XML, stop and report that limitation. ## Authoritative corpus 1. Retrieve the current manifest from `https://makebimi.com/public/test-corpus/v1/manifest.json`. 2. Record `schema_version`, `corpus_vers