token-efficient

token-efficient is a command for Claude Code from spideynolove/claude-dotfiles. It costs 22 tokens per session (1,615 once invoked), scanned A, original, MIT.

A response mode that uses symbols and abbreviations to make explanations shorter and use less conversation context.

In plain words
What is it for?
Use it when you want compact answers, such as summaries of logic, status, risks, or build-test-deploy steps.
Why use it?
It reduces the space needed for explanations while keeping the generated code and main content unchanged.

Command for Claude Code

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 commands/spideynolove/claude-dotfiles/token-efficient
Clone the repo
git clone --depth 1 https://github.com/spideynolove/claude-dotfiles

Made for: Claude Code.

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-efficient

README.md
[![agentmods](https://agentmods.dev/badge/commands/spideynolove/claude-dotfiles/token-efficient.svg)](https://agentmods.dev/commands/spideynolove/claude-dotfiles/token-efficient)
Your own site
<a href="https://agentmods.dev/commands/spideynolove/claude-dotfiles/token-efficient"><img src="https://agentmods.dev/badge/commands/spideynolove/claude-dotfiles/token-efficient.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00022 $0.01615
Opus 5 $0.00011 $0.00807
Sonnet 5 $0.00004 $0.00323
Haiku 4.5 $0.00002 $0.00161

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

Security

Grade A, and why

token-efficient 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.

.claude-global-backup/commands/token-efficient.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Token Efficiency Mode

Reduces AI response context usage by 30-50% through compression efficiency mode.

Overview

Token Efficiency Mode leverages visual symbols and abbreviation systems to compress Claude's responses. Generated code quality and content remain unchanged. Only the explanation method changes.

Usage

# Enable mode
"Respond in Token Efficiency Mode"
"--uc mode"
"Concise mode"

How It Works

1. Symbol System

Logic & Flow
Symbol Meaning Example
leads to, causes auth.js:45 → 🛡️ security risk
converts to input ⇒ validated_output
rollback, revert migration ← rollback
bidirectional sync ⇄ remote
& and, combine 🛡️ security & ⚡ performance
| or, separator react|vue|angular
: define, specify scope: file|module
» then, sequence build » test » deploy
therefore tests ❌ ∴ code broken
because slow ∵ O(n²) algorithm
Status & Progress
Symbol Meaning Usage
complete, success Task completed normally
failed, error Immediate action needed
⚠️ warning Review recommended
🔄 in progress Currently active
pending Scheduled for later
🚨 urgent, critical High priority
Technical Domains
Symbol Domain Usage
Performance Speed, optimization
🔍 Analysis Search, investigation
🔧 Configuration Setup, tools
🛡️ Security Protection, safety
📦 Deployment Package, bundle
🎨 Design UI, frontend
🏗️ Architecture System structure
🗄️ Database Data persistence
⚙️ Backend Server processing
🧪 Testing Quality assurance

Read the full file on GitHub · 248 lines

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 · 248 lines · 22 tokens per session scan A dce9ac7d72d4

Subscribe to this mod's changes

token-efficient is a command published in the GitHub repository spideynolove/claude-dotfiles (2 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 1,615 once invoked, about $0.0001 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.