Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
リポジトリ情報はまだ収集していません。
No updates detected yet. GitHub releases will appear here.
Make Claude Code, Codex, and Cursor use fewer tokens. Local context compaction with measured savings.
翻訳待ち
Loading the full README.
Read the full README ↗Install · How it works · What you get · Proof · Supported tools · Plans · Privacy
Compaction runs underneath Claude Code, Codex, and Cursor. No new editor. No new agent.
It reduces eligible model visible input before it reaches the provider, shape unnecessary output before generation, and show the result inside the tools you already use.
This is a real acceptance run through a normal Codex subscription session:
$ codex
↳ compaction · input 8,388,356→7,212,095 (−14%) · output 14,393→10,795 (−25.0%, est.) · +~3.08m
The input arrow is measured before→after evidence. The output before value is a calibrated counterfactual, so it stays marked est.. +~3.08m is the estimated equivalent active agent time preserved at the observed workload consumption rate. This is not a claim about a provider's hidden quota or rate limit formula.
⭐ If Compaction helps, give the repo a star.
curl -fsSL https://cli.compaction.dev/install | sh
Then run:
compaction
Guided onboarding detects Claude Code, Codex, and Cursor, shows what will change, and writes nothing until you confirm.
Or install from npm:
npm install -g @compaction/cli
compaction
Supported persistent installs use managed updates to keep your version up to date.
curl -fsSL https://cli.compaction.dev/install | less
curl -fsSL https://cli.compaction.dev/install | sh -s -- --dry-run
npx @compaction/cli init
npx @compaction/cli --help
compaction update --check
compaction update
compaction update --rollback
--channel preview selects npm's next tag; stable uses latest. Opt out with compaction update --auto off or COMPACTION_AUTO_UPDATE=0.
compactionclaude, codex, and Cursor continue to be the tools you usecompaction watch follows new measurable turns live; --once shows the latest few and exits.compaction activity shows recent run history from the local metrics-only activity store, with filters and JSON output.compaction status shows setup/readiness state and includes a small recent-turn summary.Subscription. No API key needed. Claude Code and Codex keep using the subscription you already pay for. On supported runs, subscription sessions can use both input reduction and output reduction.
API-key. Traffic goes through the local Gateway. Your key rides straight through to your provider and is never read, stored, or logged by Compaction.
Output shaping is on by default once a tool is connected. Input compaction is explicit and gated. Unsupported request shapes pass through unchanged, and the original request is retained locally for byte exact recovery.
output ESTIMATED_BEFORE→ACTUAL (−N%, est.); otherwise we show output N/A→ACTUAL (N/A%, est.)Compaction only shows a number when it has evidence for it.
What appears depends on what Compaction could actually measure on that run.
Compaction can reduce output tokens but does not change the input:
compaction · observed input 91,472 · output 857→463 (−46.0%, est.) · id 5f539978
Compaction can also reduce model-visible input:
compaction · input 91,472→74,769 (−18%) · output 857→463 (−46.0%, est.) · 1.92M/2M left · id 5f539978
On an API-key, where the provider bills at a published per token rate, Compaction can also show the estimated price impact:
compaction · input 91,472→74,769 (−18%) · output 857→463 (−46.0%, est.) · −$0.05 (list price) · 1.92M/2M left · id 5f539978
We use a simple evidence rule:
est.N/A.For example:
compaction · observed input 91,472 · output N/A→463 (N/A%, est.) · id 5f539978
This is the beginning of the README. Read the rest at the original. Read the full README ↗