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.

Install it, pinned
mdr add chrono-meta/forge-harness/context-doctor@git:20261015.0f39635

Pins 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

The exact contents, by fingerprint
mdr add chrono-meta/forge-harness/context-doctor@sha256:bfc748de8e542933

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_umdb3zspq2jb2t2r.svg)](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.

versioncommittedcommitsizeaudit
git:20261015.0f39635 latest2026-10-15 0f39635 24,142 BA view · diff
git:20260810.f632f4a2026-08-10 f632f4a 24,070 BA view · diff
git:20260727.17b90e12026-07-27 17b90e1 23,543 BA view · diff
git:20260725.6e622132026-07-25 6e62213 20,616 BA view · diff
git:20260710.3c3ace62026-07-10 3c3ace6 19,660 BA view · diff
git:20260705.1816f0f2026-07-05 1816f0f 19,542 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from chrono-meta/forge-harness

AGENTS.md AGENTS.md file
chrono-meta/forge-harness · AGENTS.md
git:20261106.d65601c · audit A · 31 stars
CLAUDE.md CLAUDE.md file
chrono-meta/forge-harness · CLAUDE.md
git:20261028.262afbe · audit A · 31 stars
convergence-loop SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/convergence-loop/SKILL.md · A universal gate-reinforcement meta-skill that replaces the "single-pass = done" pattern with a converging loop of up…
git:20261106.b7c7dc5 · audit A · 31 stars
deliberation SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/deliberation/SKILL.md · Multi-perspective synthesis structure — Innovator (propose) → Devil-Advocate (challenge) → Mediator (synthesize)…
git:20261031.0abc181 · audit A · 31 stars
ko-tech-writer SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/ko-tech-writer/SKILL.md · Writes or revises Korean technical prose across three registers — reader-facing documents (tech-blog posts, technical…
git:20261107.0096126 · audit A · 31 stars
mcp-circuit-breaker SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/mcp-circuit-breaker/SKILL.md · Detects MCP tool failure patterns and trips a circuit breaker to stop cascading retries. Proposes fallback alternatives…
git:20260811.eede7ad · audit A · 31 stars
persona-cast SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/persona-cast/SKILL.md · One-line doorway that lets a field harness review an artifact (a screen, a spec, a PR, a page) through a pre-built cast…
v0.1 · audit A · 31 stars
standpoint-review SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/standpoint-review/SKILL.md · Standpoint review — check a change from the side that RECEIVES it: copy the receiving repo (or a clean install of the…
v0.1 · audit A · 31 stars
token-budget-gate SKILL.md skill
chrono-meta/forge-harness · plugins/fh-commons/skills/token-budget-gate/SKILL.md · Estimates token cost before a multi-step task and outputs a 4-tier Green/Yellow/Orange/Red gate verdict. Records actual…
git:20260811.52c0a42 · audit A · 31 stars
agent-composer SKILL.md skill
chrono-meta/forge-harness · plugins/fh-meta/skills/agent-composer/SKILL.md · Reads the current work context and plans the optimal agent dispatch. Clarifies direction with 1-2 questions when…
git:20260929.983c25e · audit A · 31 stars
apex-review SKILL.md skill
chrono-meta/forge-harness · plugins/fh-meta/skills/apex-review/SKILL.md · Reviews a technical proposal from the perspective of organizational decision-makers (CTO, technical lead, QA lead…
git:20260811.eede7ad · audit A · 31 stars
asset-placement-gate SKILL.md skill
chrono-meta/forge-harness · plugins/fh-meta/skills/asset-placement-gate/SKILL.md · Routes a proposed skill, plugin, or agent to its correct home — forge-harness (FH) meta-skill, project-local agent, or…
git:20260914.31e2c46 · audit A · 31 stars

Every file in chrono-meta/forge-harness

Browse by kind, by grade A, or by owner.