doc-digest SKILL.md skillA

doc-digest from egorfedorov/claude-context-optimizer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add egorfedorov/claude-context-optimizer/doc-digest@git:20261017.dfb62c2

Pins git:20261017.dfb62c2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
egorfedorov/claude-context-optimizer
Path
skills/doc-digest/SKILL.md
Versions recorded
1
Latest version
git:20261017.dfb62c2, committed Oct 17, 2026
Size
2,473 bytes
Repository stars
121
License
MIT

Turn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue from. Use when the user shares or pastes something long (several pages or more) and wants to discuss, analyze, compare or use it over more than one message, or asks to summarize a document so they can keep working with it.

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

# Document digest

A long attachment is re-sent with every later message of the conversation. A
digest that keeps what the work needs lets the rest of the work run on a
fraction of it, most of all in a fresh conversation that starts from the
digest instead of the file.

## Write the digest

In the user's language, inside one code block so it copies cleanly, at most
about a tenth of the source and never more than 800 words:

1. **What it is**: title, author or source, date, length, purpose, in one or
   two lines.
2. **Map**: the sections or parts in order, one line each, with page, slide,
   sheet or timestamp references, so a later question can go straight to the
   right place.
3. **Key content**: the claims, decisions, requirements, figures and
   definitions the user is likely to need, each with its reference. Quote
   exact wording only where it matters: legal terms, numbers, names, error
   messages.
4. **Gaps and doubts**: what the document leaves open, contradicts or gets
   wrong, in a line each.

Fit the digest to what the user said they want to do with the document: a
contract review keeps obligations, dates and penalties; a dataset keeps the
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add egorfedorov/claude-context-optimizer/doc-digest@sha256:840d78123993af4a

The line at the top of this page pins the label git:20261017.dfb62c2, 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_55s2j553tbupzkpg.svg)](https://markdownregistry.com/a/art_55s2j553tbupzkpg)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 17, 2026.

versioncommittedcommitsizeaudit
git:20261017.dfb62c2 latest2026-10-17 dfb62c2 2,473 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 (2473 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

egorfedorov/claude-context-optimizer · 121 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_55s2j553tbupzkpg
GET https://markdownregistry.com/api/v1/resolve?ref=egorfedorov/claude-context-optimizer/doc-digest
GET https://markdownregistry.com/api/v1/blob/840d78123993af4adee11af94f3267a662d934d0503750e57eed4adbdc77f0b4

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 egorfedorov/claude-context-optimizer

cco SKILL.md skill
egorfedorov/claude-context-optimizer · skills/cco/SKILL.md · In Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco…
git:20261017.dfb62c2 · audit A · 121 stars
fresh-start SKILL.md skill
egorfedorov/claude-context-optimizer · skills/fresh-start/SKILL.md · Continue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use…
git:20261017.dfb62c2 · audit A · 121 stars
project-context SKILL.md skill
egorfedorov/claude-context-optimizer · skills/project-context/SKILL.md · Turn background the user keeps re-explaining or re-pasting into reusable instructions, so new chats start with it for…
git:20261017.dfb62c2 · audit A · 121 stars
sharpen-prompt SKILL.md skill
egorfedorov/claude-context-optimizer · skills/sharpen-prompt/SKILL.md · Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format…
git:20261017.44e77a4 · audit A · 121 stars
token-check SKILL.md skill
egorfedorov/claude-context-optimizer · skills/token-check/SKILL.md · Estimate how many tokens a pasted text, an attached file or the conversation so far takes, what it means for the…
git:20261017.dfb62c2 · audit A · 121 stars

Every file in egorfedorov/claude-context-optimizer

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