SKIM cuts agent skills to 30-60% of their length for a 1-2 point accuracy hit
Notes on Adaptive Multi-Resolution Procedural Knowledge Compression for Large Language Models (arXiv:2606.12203) — Changyue Wang, Weihang Su, Qingyao Ai, Yichen Tang, Runzhong Qiao, Xuancheng Li, Min Zhang, Yiqun Liu · June 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Frontier & otherSKIM (SKIll coMpression) replaces a reusable agent skill's full instructions with a small set of learned soft tokens, so the skill no longer has to be pasted into every prompt in full. A compressor model reads the skill text alongside a fixed budget of learnable slot tokens, an MLP projector maps the result into the target model's embedding space, and a LoRA adapter teaches the target LLM to treat those soft tokens as if it had read the source text directly. Training moves from general to specific across three stages: it first reconstructs 60.9k collected skills to build general procedural knowledge representations, warms up next on procedural question-answering over 214.3k WikiHow-derived QA examples, and finally aligns on roughly 60k skill-conditioned QA examples via LoRA fine-tuning with the target model. Skill complexity varies enormously, so before deployment SKIM runs what the paper calls offline resolution selection: generate diagnostic questions from a skill, check how well answers at each token budget (256, 512, or full text) match the full-text answer, and lock in the smallest budget that clears a fidelity bar — all computed once, offline, before the skill is ever deployed.
Across five benchmark suites — BigCodeBench (code), CHAMP (math), LogicBench (logic), TheoremQA (theorem proving), ToolQA (tool use) — and two target models, Qwen3-8B and Phi-4, SKIM holds onto most of the task accuracy while the paper reports compressing skills to 30-60% of their original length overall. Looking at total per-task context in the adaptive setting: BigCodeBench shrinks from 4,676 to 3,172 tokens for a 2.4-point drop, 49.30% to 46.93%; LogicBench shrinks from 1,089 tokens to 438 for only a 1.6-point drop. General-purpose compressors don't come close: on the single-skill ToolQA benchmark, where SKIM, ICAE, and 500xCompressor all compress to the same 256 tokens, SKIM holds 35.66% accuracy against ICAE's 7.13% and 500xCompressor's 0.00%. On BigCodeBench, ICAE compressed to a flat 256 tokens manages 29.47% and 500xCompressor collapses to 0.18%, while SKIM's 256-token-per-skill setting — 708 tokens total, since BigCodeBench instances average multiple skills — reaches 44.21%.
Key numbers
| Compressed skill length vs. original | 30-60% of original tokens |
| BigCodeBench context: full text vs. SKIM-Adaptive | 4,676 → 3,172 tokens, 49.30% → 46.93% acc |
| 256-token budget, matched (ToolQA): ICAE vs. SKIM | 7.13% vs. 35.66% accuracy |
| 500xCompressor accuracy at 256 tokens | 0.18% (BigCodeBench), 0.00% (ToolQA) |
| LogicBench context: full text vs. SKIM-Adaptive | 1,089 → 438 tokens, 85.26% → 83.68% acc |
Skills related to this research
Related research
Related notes
- Cut Skill Bodies 39%, Task Success Rises 2.8% →
- Compiling skills into LoRA weights beats prompting them in-context by up to 21 points, on 64% fewer prefill tokens →
- Forced to search a 34k-skill library instead of being handed the right one, agents' pass rate falls from 55.4% to 38.4% -- a hair above the 35.4% no-skill floor →
- A skill-specific LoRA beats prompting the full SKILL.md by 5.2 points and cuts token cost 6.6% →
- A 3.9M-parameter skill sequencer closes 80% of the gap to hand-picked "gold" skill sets →
- LLM-Written Agent Skills Add Zero Pass-Rate Gain — Self-Diagnosis Closes Up to 67% of the Gap to Human Authors →
- Auto-evolved skill specs beat hand-written ones by 7 points, at twice the constraint density →
- Best Skill Scanner Catches 17% of Cross-Modal Attacks — a Distilled 7B Model Hits 88% →
- Diff a task run with the skill against one without it: 73.9% reward, zero labels →
References
- Wang et al., "Adaptive Multi-Resolution Procedural Knowledge Compression for Large Language Models," arXiv:2606.12203
- ICAE (In-context Autoencoder for context compression)
- 500xCompressor (extreme prompt compression)
- LLMLingua-2 (data-distilled prompt compression)