context-compression skillA
context-compression is agent-read markdown (skill) from yeaight7/agent-powerups: Use when conversation context is bloated, constraints are being forgotten, or a compact handoff is needed before continuing work..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Context Compression ## When to use Use when context approaches limits or response quality degrades (repeated mistakes, forgotten constraints, lost-in-the-middle effects) — typically after many turns of debugging or complex planning. ## Requirements / Checks - Active session contains long stack traces, large file dumps, or multiple failed iterations. ## Workflow 1. **Diagnose bloat** — identify: redundant outputs (same file read multiple times), contradictory instructions that accumulated over turns, constraint forgetting (earlier requirements no longer respected). 2. **Draft summary** — synthesize the *current* valid state of the code or plan in 3–5 sentences. 3. **Extract anti-patterns** — list what failed and why: `"Attempted X → failed because Y"`. These are critical to prevent the next session from looping on the same mistakes. 4. **Generate handoff artifact** — write the following template to disk: ```markdown ## Goal [One-sentence objective] ## Current state [What is working / what is in place right now] ## Blocker / next step [The exact next action to take] ## Anti-patterns (do not repeat) - Tried X → failed because Y …
Read the whole file at its exact version.
How to install
mdr add yeaight7/agent-powerups/context-compression@git:20260515.0272602mdr add yeaight7/agent-powerups/context-compression@sha256:5964a4017d88b2b5Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_rz2uauj5yva6f4tw)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260515.0272602 latest | 2026-05-15 | 0272602 | 2,957 B | A | view · diff |
| git:20260505.0b3d717 | 2026-05-05 | 0b3d717 | 2,184 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2957 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
yeaight7/agent-powerups · 6 stars · license Apache-2.0 · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rz2uauj5yva6f4tw GET https://markdownregistry.com/api/v1/resolve?ref=yeaight7/agent-powerups/context-compression GET https://markdownregistry.com/api/v1/blob/5964a4017d88b2b5750f58a1f09e3f64b7689a405d13d926fd7d5fb7f968889b
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from yeaight7/agent-powerups
Every file in yeaight7/agent-powerups