cco SKILL.md skillA

cco 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/cco@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/cco/SKILL.md
Versions recorded
8
Latest version
git:20261017.dfb62c2, committed Oct 17, 2026
First version recorded
Mar 22, 2026
Size
4,429 bytes
Repository stars
121
License
MIT

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

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 Optimizer

> **Needs Claude Code** (or Cowork on your computer): this runs the plugin's local scripts. If `node` or `${CLAUDE_PLUGIN_ROOT}` isn't available, as in claude.ai chat, don't try to run anything. Say so in one line and offer the `fresh-start` or `token-check` skill instead.

Arguments: `$ARGUMENTS`. The first word is the command; the rest are its
`<args>`. No command means `board`. `help`, or a command not in the table,
means: print the table below as a short menu and stop.

For a command, read its instructions in
`${CLAUDE_PLUGIN_ROOT}/skills/cco/commands/<command>.md` and follow them.
Those files write the plugin's path as `${CLAUDE_PLUGIN_ROOT}`: use
`${CLAUDE_PLUGIN_ROOT}` in its place, and the user's `<args>` where they say
`<args>`. When the user typed only a command that just runs its script, run
the script from the table directly and skip reading the file.

## See where the tokens go

| Command | What it shows | Script |
|---|---|---|
| *(none)* / `board` | This session: budget, $ spent, saved, waste, active task, next actions | `node ${CLAUDE_PLUGIN_ROOT}/src/dashboard.js board` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add egorfedorov/claude-context-optimizer/cco@sha256:7a96da6abf46ba2c

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_tiusvbwrxoe6a5b7.svg)](https://markdownregistry.com/a/art_tiusvbwrxoe6a5b7)

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

Versions

The registry has recorded 8 versions of this file, between Mar 22, 2026 and Oct 17, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20261017.dfb62c2 latest2026-10-17 dfb62c2 4,429 BA view · diff
git:20261017.44e77a42026-10-17 44e77a4 2,183 BA view · diff
git:20261017.1f7ea112026-10-17 1f7ea11 1,908 BA view · diff
git:20260930.79c622d2026-09-30 79c622d 1,877 BA view · diff
git:20260616.5d422472026-06-16 5d42247 1,767 BA view · diff
git:20260324.88753f82026-03-24 88753f8 968 BA view · diff
git:20260323.71e52e72026-03-23 71e52e7 983 BA view · diff
git:20260322.3fb0bd02026-03-22 3fb0bd0 970 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 (4429 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_tiusvbwrxoe6a5b7
GET https://markdownregistry.com/api/v1/resolve?ref=egorfedorov/claude-context-optimizer/cco
GET https://markdownregistry.com/api/v1/blob/7a96da6abf46ba2c50f36187d93a6d7d340c942aa44c853acb11206a2d37610e

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

doc-digest SKILL.md skill
egorfedorov/claude-context-optimizer · skills/doc-digest/SKILL.md · Turn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue…
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.