/context-optimizer:doc-digestfrom context-optimizer
Condenses long documents, PDFs, transcripts, spreadsheets, or logs into a compact working digest (~10% of source, max 800 words) for continued analysis, comparison, or discussion across multiple messages.
Ships in context-optimizer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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:
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 columns, units and odd values; a log keeps the first error and what led to it. Never pad it with general background.
Give the size in one line, as an estimate: "The document is about 40K tokens; the digest is about 1.5K." Then offer one of these, whichever fits:
fresh-start handoff if there is more than the document to
carry over.Don't claim the digest replaces the document for anything legal, financial or safety-critical; point to the original sections for those.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
document-summary, digest, long-document, pdf-summary, transcript-summary
npx claudepluginhub egorfedorov/claude-context-optimizer --plugin context-optimizer6 skills in this plugin
/ccoIn Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco audit, /cco task, /cco pack and more. Use when the user asks about session cost, context size, savings, or wants a task tracked across /compact./fresh-startContinue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use whenever the user wants to move to a new chat or conversation, hits usage limits, says replies got slow or Claude forgets earlier details, or the conversation has grown long./project-contextTurn background the user keeps re-explaining or re-pasting into reusable instructions, so new chats start with it for free. Use when the user repeats the same context, rules, style guide, persona or reference text across messages or chats, says they are tired of explaining the same thing, or asks how to set up a Claude Project, custom instructions or a CLAUDE.md.Other plugins' skills for the same job