clear-context skillA
clear-context is agent-read markdown (skill) from athola/claude-night-market: Manages context overflow by handing off to a fresh subagent at 80% usage. Use when context pressure is critical and work must continue uninterrupted..
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
# Clear Context Skill
## Quick Start
When context pressure reaches critical levels (80%+), invoke this skill to:
1. Save current session state
2. Delegate continuation to a fresh subagent
3. Continue work without manual intervention
```
Skill(conserve:clear-context)
```
## When To Use
- **Proactively**: Before starting large multi-chained tasks
- **Reactively**: When context warning indicates 80%+ usage
- **Automatically**: Integrated into long-running workflows
## When NOT To Use
- Context usage is under 50% - continue working normally
- Mid-critical-operation where handoff would lose state
- **Consider "Summarize from here" first** (Claude Code 2.1.32+): Before full auto-clear,
try partial summarization via the message selector. This compresses older context while
preserving recent work, often sufficient to relieve pressure without a full handoff.
## The Auto-Clear Pattern
Since `/clear` requires user action, we achieve automatic context clearing without interruption through **subagent delegation**:
```
Main Agent (high context)
↓
Saves state to .claude/session-state.md
↓
Spawns continuation subagent (fresh context)
↓
…Read the whole file at its exact version.
How to install
mdr add athola/claude-night-market/clear-context@git:20260902.4a35d69mdr add athola/claude-night-market/clear-context@sha256:83161300b9bd46e9Pin 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_kvnsl2hh77wstm5q)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.4a35d69 latest | 2026-09-02 | 4a35d69 | 13,929 B | A | view · diff |
| git:20260813.0bee82e | 2026-08-13 | 0bee82e | 14,261 B | A | view · diff |
| git:20260601.8d67212 | 2026-06-01 | 8d67212 | 14,260 B | A | view · diff |
| git:20260529.2dbb219 | 2026-05-29 | 2dbb219 | 14,274 B | A | view · diff |
| git:20260526.269ccd5 | 2026-05-26 | 269ccd5 | 12,325 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 (13929 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
athola/claude-night-market · 338 stars · license MIT · pushed 2026-09-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_kvnsl2hh77wstm5q GET https://markdownregistry.com/api/v1/resolve?ref=athola/claude-night-market/clear-context GET https://markdownregistry.com/api/v1/blob/83161300b9bd46e9611f14de75a7c3c10729f1d616d764e4610d2fc0ca4d03e8
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.