Compression — Development skill for Claude Code
用 LLMLingua、token pruning 等技术把长 prompt 压到 1/3-1/5,省钱、降延迟、不掉效果——长上下文时代必备的工程手段.
How to install Compression
Installs to ~/.claude/skills/yibo365-agent-camp-compression/SKILL.md
mkdir -p ~/.claude/skills/yibo365-agent-camp-compression && curl -fsSL https://raw.githubusercontent.com/yibo365/agent-camp/HEAD/prompt/compression.md -o ~/.claude/skills/yibo365-agent-camp-compression/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Compression does
title: Prompt Compression 提示词压缩 description: 用 LLMLingua、token pruning 等技术把长 prompt 压到 1/3-1/5,省钱、降延迟、不掉效果——长上下文时代必备的工程手段。 pageClass: prompt-compression-page
Prompt 工程
Prompt Compression 提示词压缩
用 LLMLingua、token pruning 等技术把长 prompt 压到 1/3-1/5——省钱、降延迟、不掉效果,长上下文时代必备。
Alternatives in Development
- GenericAgent — Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token co 6.1k ★
- Claude Token Efficient — One CLAUDE.md file 3.8k ★
- Doctor — Environment diagnostics with interactive fixes — providers, auth, RTK, hooks, token optimization 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Token Saver Stats
Show token-saver compression statistics and savings
ClaudeTokenSAP
⚡ Claude Code plugin to reduce token usage by up to 70% with smart compression for logs, JSON, and large conte
Ashlr Core Efficiency
Token-efficiency primitives for Claude Code: genome, compression, provider-aware budgeting.
Billion Context
基本稳定可用 A context-compression plugin for small context windows (a 100K context is enough), token savings (5x fe
Claude Prune
A fast CLI tool for pruning Claude Code sessions.
Better Compact
Staged context pruning for OpenCode, Oh My Pi, pi, and Claude Code.
Related Agents
Prompt Compression Verifier
Rot Soleil
The Soleil_Blank lens — Phantom Steganography, the Invisible Architect. Encodes intent at maximum semantic den
Omd Persona Tester
Adversarial synthetic user that walks through generated UI under a strict persona prompt with hard turn budget