/cco-task
Organize work by task and track tokens/cost per task — start a task, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task.
$ npx -y skills add egorfedorov/claude-context-optimizer --skill cco-task --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cco-task
Context preview
The summary Claude sees to decide when to auto-load this skill.
Organize work by task and track tokens/cost per task — start a task, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task.
SKILL.md
cco-task.SKILL.mdname: cco-task
description: Organize work by task and track tokens/cost per task — start a task, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task.
license: MIT
argument-hint: "[add \"<name>\" | list | done [note]]"
allowed-tools: [Bash]
Tasks — per-task context & cost
A task is a named unit of work. While a task is active, the tokens the session spends are attributed to it, so the Control Center (`/cco`) can show cost **per task**, not just per session. This is how the optimizer helps you *distribute work by task* while keeping token spend visible and low.
Commands
Parse the user's argument and run the matching command (working directory scopes the tasks to the current project):
**Start / switch task** (also closes the previous active task):
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js add "<task name>"After starting, suggest packing the minimal context for it: `/cco-pack "<task name>"`.
**List tasks** (newest first, with per-task tokens + $):
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js list**Complete the active task**:
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js doneFlow to recommend
1. `/cco-task add "implement X"` — start the task 2. `/cco-pack "implement X"` — load only the files that task needs 3. work… 4. `/cco` — see budget, savings, and this task's cost 5. `/cco-task done` — freeze the task's token/$ total
Only one task is active per project at a time; starting a new one finalizes the previous task's cost automatically.
Read more
name: cco-task description: Organize work by task and track tokens/cost per task — start a task, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task. license: MIT argument-hint: "[add \"<name>\" | list | done [note]]" allowed-tools: [Bash]
Tasks — per-task context & cost
A task is a named unit of work. While a task is active, the tokens the session spends are attributed to it, so the Control Center (`/cco`) can show cost **per task**, not just per session. This is how the optimizer helps you *distribute work by task* while keeping token spend visible and low.
Commands
Parse the user's argument and run the matching command (working directory scopes the tasks to the current project):
**Start / switch task** (also closes the previous active task):
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js add "<task name>"After starting, suggest packing the minimal context for it: `/cco-pack "<task name>"`.
**List tasks** (newest first, with per-task tokens + $):
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js list**Complete the active task**:
node ${CLAUDE_PLUGIN_ROOT}/src/tasks.js doneFlow to recommend
1. `/cco-task add "implement X"` — start the task 2. `/cco-pack "implement X"` — load only the files that task needs 3. work… 4. `/cco` — see budget, savings, and this task's cost 5. `/cco-task done` — freeze the task's token/$ total
Only one task is active per project at a time; starting a new one finalizes the previous task's cost automatically.
Claude Code plugin that tracks token usage, identifies wasted context, and saves 30-50% on API costs. Heatmaps, ROI reports, budget alerts, efficiency scores, git-aware suggestions — all local, zero config.
Repo: egorfedorov/claude-context-optimizer
Other skills on claude-context-optimizer.
- /cco-anatomy
Generate a compact project map so Claude understands the codebase without opening every file
Open skill - /cco-budget
Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Opus 4.8 default, full 1M context at standard price)
Open skill - /cco-claudemd
Analyze CLAUDE.md files for token bloat and suggest optimizations
Open skill - /cco-clean
Clean up old tracking data and reset statistics
Open skill - /cco-coach
Analyze the user's last prompt for clarity, scope and specificity — give a quality score and concrete suggestions to make the next prompt produce better results
Open skill - /cco-digest
Show weekly/daily efficiency digest with score and trends
Open skill

