session-compression
Lossless session context compression for token efficiency. Extracts entities, decisions, and state into compact format before context window fills. 10-30x reduction in context size while preserving all actionable information.
Profile →npx skills add vibeeval/vibecosystem --skill session-compression --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Session Compression Compress session context without losing actionable information. Use before context window fills up or when handing off between sessions. ## Why Compress | Metric | Raw Context | Compressed | |--------|------------|------------| | Token count | ~50K | ~3-5K | | Decision count | Scattered | Indexed | | File references | Buried in prose | Listed | | Error history | Verbose stack traces | Root cause + fix | | Reduction | 1x | 10-30x | ## Compression Format ### ACDE Format (Actions, Context, Decisions, Entities) ```markdown ## A: Actions Completed - [x] Refactored auth middleware (auth.ts, middleware.ts) - [x] Added rate limiting (api/limiter.ts) - [ ] Pending: Write tests for rate limiter ## C: Context - Project: my-app (Next.js 16, TypeScript) - Branch: feat/auth-refactor (3 commits ahead of main) - Blockers: None ## D: Decisions - D1: JWT over sessions (stateless, mobile-friendly) - D2: 100 req/min rate limit (based on load test) - D3: Rejected Redis session store (overkill for current scale) ## E: Entities - Files: auth.ts:42, middleware.ts:15, api/limiter.ts (new) - Deps: jsonwebtoken@9.0.0, express-rate-limit@7.0.0 - APIs: POST /auth/login, POST /auth/refresh
- Why Compress
- Compression Format
- ACDE Format (Actions, Context, Decisions, Entities)
- When to Compress
- Compression Rules
- What to Keep (Lossless)
- What to Drop (Safe)
- Entity Coding
- Integration
- Pre-Compact Hook
- With Memory Palace
- With Compass Agent
What does the session-compression skill do?
Lossless session context compression for token efficiency. Extracts entities, decisions, and state into compact format before context window fills. 10-30x reduction in context size while preserving all actionable information.
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill session-compression --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.