token-reduction

token-reduction is a skill for Claude Code, Codex from matt-bat/agent-command-center. It costs 59 tokens per session (473 once invoked), scanned A, original, no licence file.

A guide for selecting less context and producing shorter responses when the user asks for lower-token output or when long context creates a concrete problem.

In plain words
What is it for?
Use it for explicitly shorter answers or for trimming context when retrieving or handling a large amount of information is slowing the work.
Why use it?
It reduces unnecessary text and context-processing overhead while keeping the response focused.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/matt-bat/agent-command-center/token-reduction
Any agent
npx skills add matt-bat/agent-command-center --skill token-reduction
Clone the repo
git clone --depth 1 https://github.com/matt-bat/agent-command-center

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for token-reduction

README.md
[![agentmods](https://agentmods.dev/badge/skills/matt-bat/agent-command-center/token-reduction.svg)](https://agentmods.dev/skills/matt-bat/agent-command-center/token-reduction)
Your own site
<a href="https://agentmods.dev/skills/matt-bat/agent-command-center/token-reduction"><img src="https://agentmods.dev/badge/skills/matt-bat/agent-command-center/token-reduction.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00059 $0.00473
Opus 5 $0.00030 $0.00236
Sonnet 5 $0.00012 $0.00095
Haiku 4.5 $0.00006 $0.00047

Measured 3d ago against content hash 27913e6c73fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

token-reduction scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/token-reduction/SKILL.md · 48 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 48 lines · 59 tokens per session scan A 27913e6c73fd

Subscribe to this mod's changes

token-reduction is a skill published in the GitHub repository matt-bat/agent-command-center (4 stars, last pushed 10d ago), with no licence file. It adds 59 tokens to every session and 473 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

applescript

AppleScript and JXA automation for macOS. Use when user asks to automate apps, control system, run AppleScript/osascript, or integrate with macOS applications.

dannote/dot-pi · 39 tokens

task-notification

Send a desktop notification when pi finishes a task. Works on macOS, Windows, and Linux. On first use, interactively asks the user to choose a notification preference (always, ask every time, or never) via arrow-key selector. Use this skill at the end of every task completion — after committing, after finishing a code…

PSPDFKit-labs/pi-skills · 85 tokens

resilient-coding-agent

Run long-running coding agents (Codex, Claude Code, etc.) in tmux sessions that survive orchestrator restarts, with automatic resume on interruption.

cosformula/resilient-coding-agent-skill · 38 tokens

chinese-git-workflow

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 69 tokens

stay-within-limits

Use when long-running or parallel agent work must respect 5-hour and weekly usage limits by checking usage between waves, pausing near the cap, and resuming only when the window is clear.

BuilderIO/skills · 45 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

kepano/obsidian-skills · 63 tokens