fwdai

Terse — AI skill for Claude Code

AI community

Strips boilerplate and filler from LLM conversation history to reduce token usage.

How to install Terse

This entry records only its repository, not the path inside it, so there is no exact command to give. Open fwdai/terse and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Terse does

Strips boilerplate and filler from LLM conversation history to reduce token usage.

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★

README

terse

Every message you send to Claude includes the full conversation history. As sessions grow, you're paying for the same tokens over and over — assistant affirmations, verbose phrasing, structural filler that the model doesn't need to do its job.

Terse strips it before it reaches the API. Transparently, in microseconds, with no code changes.

"Certainly! I'd be happy to help. In order to fix this issue,
 you should take into consideration the edge cases. I hope this helps!"

→  "Fix this issue, consider the edge cases."

   30 tokens → 12 tokens  (-60%)

Install

**curl (macOS and Linux):**

curl -fsSL https://raw.githubusercontent.com/fwdai/terse/main/install.sh | bash

**cargo:**

cargo install terse

**Manual:** download a pre-built binary from [Releases](https://github.com/fwdai/terse/releases).

How it works

Terse runs as a local proxy between your CLI and the Anthropic API. Claude Code (and any Anthropic SDK client) respects `ANTHROPIC_BASE_URL` — set it to `http://localhost:3847` and every request is automatically compressed before forwarding. The current message is always sent verbatim; only history is compressed.

Claude Code  →  terse proxy (compress history)  →  api.anthropic.com

**One-time setup:**

terse install       # hooks into your shell — proxy auto-starts when you run claude
source ~/.zshrc
claude              # that's it, compression is live

No API key changes. No wrapper scripts. Just run `claude` as usual.

What gets compressed

Three tiers, applied in order:

Tier Technique Latency
trim Regex: removes opener/closer boilerplate, filler words, structural labels, verbose phrases ~0ms
compress NLP: drops articles, substitutes shorter synonyms (utilize → use, repository → repo) ~1ms
rewrite Local LLM: telegraphic rewrite, semantic deduplication planned

Code blocks, inline code, and URLs are never touched.

**Typica