← Back to Leaderboard
Cdrona23

drona23/claude-token-efficient

A drop-in CLAUDE.md that keeps Claude Code responses concise.

View on GitHub ↗
Engineering Health (Methodology)
B · 55/100
Maintenance Activity
● Updated 5mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption17/25
Release Cadence6/20
License Clarity20/20
Total Stars
★ 6,237
24h Growth
+2
7d Growth
+31
Forks
498

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

drona23/claude-token-efficient Star History (2026-03-29 - 2026-12-04) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +6.2k in 250d · avg +25/day 6.6k 3.3k 0 2026-03-29: ★ 12026-04-18: ★ 4,2812026-05-09: ★ 5,0622026-05-30: ★ 5,3352026-06-20: ★ 5,5402026-07-11: ★ 5,7022026-08-01: ★ 5,8122026-08-22: ★ 5,8812026-09-12: ★ 5,9592026-10-03: ★ 6,0132026-10-24: ★ 6,0742026-11-09: ★ 6,1402026-11-25: ★ 6,2022026-12-04: ★ 6,237 ★ 6.2k 2026-03 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This is a declarative instruction pack for Claude Code, not an executable extension or an MCP server. Claude Code loads the project-root CLAUDE.md as context, and the model interprets its rules while editing files, using tools, and drafting responses. The file does not sit between the model and its tools, enforce policy, or rewrite the output after generation.

Rules can compose across ~/.claude/CLAUDE.md, the project root, and subdirectories. The root file is the minimal default; profiles/ offers coding, agent, analysis, and benchmark variants, plus versioned workflow configurations. Python is used for the separate benchmark/run.py evaluation entrypoint, not for applying the configuration.

Key Capabilities & Differentiators

The rules steer Claude toward terse responses, targeted edits, reading relevant files before changing them, and testing before declaring completion. The v5 profile organizes multistep workflows; v6 favors single-pass execution and stopping once the task passes; v8 favors fewer turns. Their 50, 50, and 20 tool-call budgets are model instructions rather than hard limits.

At N=5, the minimal file reduced measured output tokens by about 4% on Haiku, 12% on Sonnet, and 7% on Opus. The earlier 63% reduction came from a single word-count comparison across four prompts; a fifth tested formatting. A separate three-task coding comparison reported a 17.4% aggregate cost advantage for v8 over C-structured, but v8 cost more on SQLite Windows. Results outside Claude remain untested.

Trade-offs & Limitations

The file trades recurring input overhead for shorter outputs and potentially fewer unnecessary turns. It is most defensible for repeated, output-heavy work; short queries can cost more with the file, and pipelines that repeatedly start fresh sessions should measure their own economics. Compare actual billed input and output, tool calls, and task success on representative workloads rather than extrapolating from word counts.

Chat instructions are lighter for one-off work. Schema-backed API outputs are a better fit for machine parsing, while hooks or CI gates can enforce requirements a prompt can only suggest. Terse defaults can also cut useful context from architecture discussions and investigations. Ask for detail when needed, and remove rules for behaviors the baseline already handles: the semantic evaluation observed none of several targeted behaviors, including preambles and sycophancy, in its baseline runs.

Hardware & Deployment Guide

For normal use, place CLAUDE.md in the project root or merge the relevant rules into an existing file. Keep shared preferences in ~/.claude/CLAUDE.md and scope task-specific rules to the relevant subdirectory. No package install, container, server, or dedicated accelerator is required for the file itself. It works with the existing Claude Code setup; storing it locally does not move model inference offline.

For evaluation, the Python 3 harness can be invoked with python3 benchmark/run.py -n 5 --model opus. benchmark/SUMMARY.md and benchmark/SEMANTIC.md cover token and semantic results. There is no published GitHub release listed, so pin the adopted file to a reviewed commit rather than treating the main download as a fixed version.

Integration: Project-root CLAUDE.md supplies Claude Code instructions without an MCP server or plugin runtime.
Context budget: Global ~/.claude/CLAUDE.md, project, and subdirectory rules can compose; active instructions add input overhead.
Output-token evidence: The minimal file cut output tokens by approximately 4% on Haiku, 12% on Sonnet, and 7% on Opus at N=5.
Benchmark interpretation: The original 63% figure measures words across four prompts in a single comparison, not total tokens or billing.
Workflow profiles: v5 and v6 specify 50-call budgets; v8 specifies 20. These are prompt-level budgets, not enforced quotas.
Cost-to-green: On the same model and harness, v8 totaled $0.935 versus $1.131 for C-structured across three passing coding challenges.
Best For

Teams running recurring, output-heavy Claude Code tasks that want concise responses and can measure cost and task success on their own workload.

Skip If

Most tasks are short or exploratory, or your pipeline needs guaranteed output schemas, hard tool-call limits, or enforced validation.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

curl -o CLAUDE.md https://raw.githubusercontent.com/drona23/claude-token-efficient/main/CLAUDE.md

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-token-efficient ★6.2k+31PythonMITA drop-in CLAUDE.md that keeps Claude Code responses concise.
spec-kit153.8k+1.3kPythonMITA Python CLI for spec-driven coding-agent workflows and reviewable handoffs
academic-research-skills59.6k+724Python—Claude Code plugin for human-reviewed research, manuscript writing, and peer rev
claude-plugins-official49.1k+611PythonApache-2.0Claude Code’s official marketplace for installing plugins and curated skill bund

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/drona23/claude-token-efficient.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

drona23/claude-token-efficient Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-token-efficient

Do I need to register an MCP server or install a Claude Code plugin?

No. Claude Code reads CLAUDE.md as project instructions. There is no MCP server to register or service to run. If the project already has a CLAUDE.md, merge the relevant rules rather than replacing it.

What hardware or runtime overhead does it add?

The Markdown file adds no local inference workload, so it has no dedicated GPU or VRAM requirement. Its recurring cost is instruction context. Python 3 is used to run the optional benchmark, not to apply the rules.

Can we use it commercially and keep it in our own repository?

Yes. The MIT license permits commercial use and modification; retain the copyright and permission notices when distributing copies or substantial portions. You can store the file locally, but that does not self-host model inference or change your model provider's terms and data-handling obligations.

When should we use chat instructions, structured outputs, or CI checks instead?

Paste rules into chat for a one-off task. Use a short CLAUDE.md for recurring style and workflow defaults. Use schema-backed structured outputs when a downstream parser depends on a stable contract, and hooks or CI checks when a workflow rule must be enforced.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining drona23/claude-token-efficient? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature drona23/claude-token-efficient on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare