Paper Overview
Research area: Agent / Skill compilation / Cross-platform Authors: Yihao Wang, Yuheng Ji, Mingyu Cao, et al. (Sun Yat-sen University team) Release date: 2026-05-05 arXiv: 2605.03353 Code: open-source compiler code attached to the paper
Abstract (translated)
LLM agents increasingly rely on reusable skills (e.g., SKILL markdown files) to execute complex tasks, yet these artifacts lack portability: agent frameworks are highly sensitive to prompt formatting, leading to large performance variation for the same skill. Most skills are authored once as format-agnostic Markdown, necessitating costly per-framework rewrites, while security remains largely unaddressed, with widespread vulnerabilities in practice.
To address this, the authors present SkCC, a compiler for LLM agents that introduces classical compilation design into agent skill development. SkCC centers on SkIR, a strongly-typed intermediate representation that decouples skill semantics from framework-specific formatting, enabling portable deployment across agent frameworks. Atop this IR, a static Optimizer enforces security constraints, blocking vulnerabilities before deployment.
Key results
- Implemented as a four-phase pipeline, SkCC reduces adaptation complexity from O(m × n) to O(m + n) across m skills and n frameworks.
- Experiments on SkillsBench show consistent gains:
- Claude Code: task pass rate 21.1% → 33.3% (+12.2pp)
- Kimi CLI: task pass rate 35.1% → 48.7% (+13.5pp)
- Compilation latency: < 10ms
- Proactive security trigger rate: 94.8%
- Runtime token savings: 10%–46% across frameworks
*Auto-collected on 2026-07-03.*