Claude Efficient
Stop burning Claude Code tokens.
ce wraps every session with automatic optimizations to save you money and improve context quality.
🚀 Installation
ce-tool is a Python package. Ensure you have Python 3.11+ installed. Once installed, the ce command will be available globally in your terminal.
Option 1: Install via pip (Recommended for all platforms)
Windows, macOS, and Linux:
pip install ce-tool
Option 2: Install from Source (Git Clone)
If you prefer to clone the repository and run it locally, follow these steps.
Windows, macOS, and Linux:
# 1. Clone the repository
git clone https://github.com/thedotmack/claude-efficient.git
# 2. Navigate into the directory
cd claude-efficient
# 3. Install the package globally so the 'ce' command works anywhere
pip install -e .
✨ Quick Start
-
Initialize your project:
ce initThis command sets up your project with a
CLAUDE.md,.claudeignore, and other necessary configurations for optimal performance. -
Run a task:
ce run "Your task description here. For example, build a FastAPI endpoint for user auth."
This is the main command you'll use. It automatically optimizes your request, manages session context, and routes it appropriately.
-
Check your savings:
ce gainsThis command displays a detailed dashboard of your token savings across different operations. Token savings are tracked automatically and stored globally (
~/.ce-telemetry.jsonl), allowing you to view your total savings across all projects.
🤖 Other AI CLIs
While ce acts as an optimizing wrapper around Claude Code, ce-tool also provides drop-in token optimization wrappers for other popular AI command-line tools. These wrappers apply the same prompt optimizations and track your token savings in the global ce gains dashboard.
ce-gemini: Wraps the Google Gemini CLI (gemini).ce-codex: Wraps the OpenAI Codex CLI (codex).ce-cursor: Wraps the Cursor CLI (cursor).ce-opencode: Wraps the OpenCode CLI (opencode).
You can use these just like their underlying commands (e.g. ce-gemini run "my task").
📋 Commands
claude-efficient provides a suite of commands to manage your workflow and optimize token usage.
| Command | Description |
|---|---|
ce init |
Initializes a new or existing project for use with claude-efficient. |
ce run [TASK] |
Runs a new coding session with the given task, applying optimizations. |
ce gains |
Displays the token savings dashboard. |
ce status |
Shows a health dashboard for the current project configuration. |
ce audit [LOG] |
Audits a session log to detect inefficiencies and suggest improvements. |
ce mem-search |
Searches cross-session memory for relevant context from past tasks. |
ce scope-check |
Estimates the token requirements for a task before running a session. |
ce helpers |
Provides assistance with setting up helpers and integrations. |
Made with ❤️ for efficient coding sessions.
Metadata
Release files for ce-tool 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ce_tool-0.2.0.tar.gz | 52.5 kB | Without provenance | Details for ce_tool-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ce_tool-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ce_tool-0.2.0-py3-none-any.whl |
Total release size: 129.9 kB
Release files / ce_tool-0.2.0.tar.gz
| Download URL | ce_tool-0.2.0.tar.gz |
|---|---|
| Size | 52.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21edd69d89a52334df7ea7783f358ea389b115eb3cac9f56530eb5c1abea4892
|
|
BLAKE2b-256 checksum How to use checksums |
a825b4d00afd653e0b7eca49d3d17ba15bbb3d80425354aba13507052bc643e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.6
|
Release files / ce_tool-0.2.0-py3-none-any.whl
| Download URL | ce_tool-0.2.0-py3-none-any.whl |
|---|---|
| Size | 77.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60b5b4e259bd70e62542b6fe31b94705413ea3554e8f7a46e331041e5d02e9d7
|
|
BLAKE2b-256 checksum How to use checksums |
5feb5e3d9e28f1151c13d53d15475fed6796ebdb4aa9d00e057bbbdf6e4745b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.6
|
Security for ce-tool 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.