context-doctor SKILL.md skillA
context-doctor from chrono-meta/forge-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chrono-meta/forge-harness/context-doctor@git:20261015.0f39635Pins git:20261015.0f39635 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chrono-meta/forge-harness
- Path
plugins/fh-meta/skills/context-doctor/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261015.0f39635, committed Oct 15, 2026
- First version recorded
- Jul 5, 2026
- Size
- 24,142 bytes
- Repository stars
- 31
- License
- MIT
Reduces token waste in Claude Code sessions (run the built-in `/context` first; this skill covers what it does not) across two axes — context footprint (auto-generates .claudeignore, guides over-read files and /clear timing) and command output (routes to a command-output proxy/hook such as rtk to trim verbose CLI stdout). In hub environments, regularly audits bloated CLAUDE.md/MEMORY.md/memory/*.md files and proposes compression. Usable standalone without a hub clone.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# context-doctor — Token Efficiency Diagnosis + Automatic Prescription Diagnoses the main causes of session token waste and prescribes immediate remedies: 1. No `.claudeignore` → unnecessary files loaded wholesale into context 2. Repeated full reads of large files → paying the same cost N times 3. Not using `/clear` after direction changes → continuing work with accumulated noise 4. Verbose CLI output → every `git`/`ls`/build/test call floods context with stdout (a *different* layer from 1–3 — see §Command-Output Reduction) **Two reduction axes — keep them distinct.** Causes 1–3 are the **context-footprint** axis (what gets read *into* context: files, history). Cause 4 is the **command-output** axis (tokens produced *by* the tools you run). `.claudeignore` cannot touch command output, and a command-output proxy cannot touch file reads — they are complementary, not substitutes. (Step 3.5 below adds an optional **third**, orthogonal lever — provider-side cache billing — distinct from both.) **Standalone install** — this skill works normally with plugin install only, without cloning the full meta-harness. …
Read the whole file at its exact version.
How to install
mdr add chrono-meta/forge-harness/context-doctor@sha256:bfc748de8e542933The line at the top of this page pins the label git:20261015.0f39635, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_umdb3zspq2jb2t2r)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 5, 2026 and Oct 15, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.0f39635 latest | 2026-10-15 | 0f39635 | 24,142 B | A | view · diff |
| git:20260810.f632f4a | 2026-08-10 | f632f4a | 24,070 B | A | view · diff |
| git:20260727.17b90e1 | 2026-07-27 | 17b90e1 | 23,543 B | A | view · diff |
| git:20260725.6e62213 | 2026-07-25 | 6e62213 | 20,616 B | A | view · diff |
| git:20260710.3c3ace6 | 2026-07-10 | 3c3ace6 | 19,660 B | A | view · diff |
| git:20260705.1816f0f | 2026-07-05 | 1816f0f | 19,542 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 (24142 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
chrono-meta/forge-harness · 31 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_umdb3zspq2jb2t2r GET https://markdownregistry.com/api/v1/resolve?ref=chrono-meta/forge-harness/context-doctor GET https://markdownregistry.com/api/v1/blob/bfc748de8e5429339f715ba0384c77cc2c89ae2f91d7d61371d63cfd795f2666
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.