flora131 avatar

Context Compression

When your agent sessions balloon past context limits or you're working with 5M+ token codebases, this is the compression playbook you need. It lays out three production strategies, with the standout being "anchored iterative summarization" that keeps structured summaries with dedicated sections for intent, file changes, and decisions. The key insight: optimize for tokens per task, not tokens per request, because aggressive compression that loses critical info just makes you refetch everything later. Especially useful when debugging why your agent forgot which files it modified. Originally from muratcankoylan's agent skills collection, now maintained by flora131.

skills.sh installs
168
GitHub stars
234
last updated
Jun 3, 2026

Install

$ npx -y skills add flora131/atomic --skill context-compression --agent claude-code

Installs into .claude/skills of the current project.

Files

When your agent sessions balloon past context limits or you're working with 5M+ token codebases, this is the compression playbook you need. It lays out three production strategies, with the standout being "anchored iterative summarization" that keeps structured summaries with dedicated sections for intent, file changes, and decisions. The key insight: optimize for tokens per task, not tokens per request, because aggressive compression that loses critical info just makes you refetch everything later. Especially useful when debugging why your agent forgot which files it modified. Originally from muratcankoylan's agent skills collection, now maintained by flora131.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/flora131/atomic
First seen
Jun 3, 2026

More from flora131/atomic

All 39

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs