Straitjacket — Development skill for Claude Code
A context sidecar for coding agents (Claude Code, Codex, Antigravity, and more).
How to install Straitjacket
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vamsiramakrishnan/straitjacket and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Straitjacket does
A context sidecar for coding agents (Claude Code, Codex, Antigravity, and more). Cut wasteful token spend, reduce turns with LSP, and delay context compaction — without lossy compression.
Alternatives in Development
- Shorten — Cut length without losing content 407 ★
- Simplify — Reduce complexity without changing behavior — code simplification 263 ★
- Token Saver Stats — Show token-saver compression statistics and savings 139 ★
README
straitjacket
**A context sidecar for coding agents.**
Cut wasteful token spend, reduce turns with LSP, and delay context compaction — without lossy compression.
Straitjacket runs alongside Claude Code, Codex, Antigravity, Hermes, Oh My Pi, OpenCode, and DeepSeek Harness. Your harness keeps running the model, handling auth, and controlling permissions. Straitjacket stores noisy command output locally once, hands the model a compact digest with exact retrieval handles, resolves code structure through reused language servers, and keeps the active transcript lean so sessions stay sharp longer.
Python 3.11+ · `ctx-harness` v1.1.0 · Apache-2.0 · [Documentation](https://vamsiramakrishnan.github.io/straitjacket/)
**Why without lossy compression matters:** on a [20,001-line log replay](evals/cache-ab-2026-11-23.md), head-and-tail truncation cuts the output to 1,219 tokens and silently drops a quiet fallback event at line 14,238. Straitjacket reduces 302,628 tokens
Related Skills
Noise Budget
Cut wasted token spend without skipping real bugs. Distinguish IMPOSSIBLE work (tech-mismatch CVEs, encoded re
ClaudeTokenSAP
⚡ Claude Code plugin to reduce token usage by up to 70% with smart compression for logs, JSON, and large conte
Edgee
Official Edgee CLI to interract with Edgee's Agent Gateway. Route Claude Code, Codex, Cursor, VS Code + Copilo
Agent Dlp Proxy
Local code-first DLP and token-compression proxy for CLI coding agents (Claude Code, Codex, Antigravity) — mas
Tokguard
Token-saving toolkit for Codex, Claude Code, Antigravity, and other MCP-compatible coding agents. TokGuard hel
Skill Compact
Shrink Claude Code SKILL.md token cost without breaking skills. Trigger-preserving description gate + lossless
Related Agents
Caveman Compress
Compression engine wrapper — runs the caveman-compress CLI on a body artifact in scratch, returns the compress
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
Ia Auditor
Audits the information architecture of Claudio's settings and navigation. Read only. Use it before redesigning