skillfed

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 & other

SKIM (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. original30-60% of original tokens
BigCodeBench context: full text vs. SKIM-Adaptive4,676 → 3,172 tokens, 49.30% → 46.93% acc
256-token budget, matched (ToolQA): ICAE vs. SKIM7.13% vs. 35.66% accuracy
500xCompressor accuracy at 256 tokens0.18% (BigCodeBench), 0.00% (ToolQA)
LogicBench context: full text vs. SKIM-Adaptive1,089 → 438 tokens, 85.26% → 83.68% acc

Skills related to this research

Ugc Hot Girl This skill transforms Claude into a prompt engineer for creating photorealistic female characters built for UGC advertising. It gathers context about your product, platform, and audience preferences, then outputs a detailed, paste-ready prompt optimized for image generation tools. The framework prioritizes authenticity—characters look like real people you'd see on social media, not AI-generated—with guidance on lighting, framing, expression, and styling that converts.★ 283 Tanstack Query This skill provides structured guidance on implementing TanStack Query patterns across React applications. It covers query key design, caching strategies, mutations, error handling, prefetching, infinite queries, SSR integration, and offline support through prioritized rules with code examples.★ 201 cli-hub-matrix-3d-cad This skill bridges 3D design and fabrication by exposing CAD modeling, rendering, and production tools through a command-line interface designed for AI agents. It consolidates fragmented CAD ecosystems into a cohesive agent-native platform, enabling seamless integration of geometry creation, visualization, and manufacturing operations.★ 46,201 cli-hub-matrix-game-development This skill automates the full game development pipeline, from engine initialization through asset organization to final distribution. It provides CLI-driven workflows that streamline repetitive setup tasks and integrate essential development tools into a cohesive command-line environment. Ideal for developers seeking faster project scaffolding and standardized toolchain configuration.★ 46,201

Related notes

References

  1. Wang et al., "Adaptive Multi-Resolution Procedural Knowledge Compression for Large Language Models," arXiv:2606.12203
  2. ICAE (In-context Autoencoder for context compression)
  3. 500xCompressor (extreme prompt compression)
  4. LLMLingua-2 (data-distilled prompt compression)