Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SkCC: Portable and Secure Skill Compilation for Cross-Framework LLM Agents

About

LLM agents increasingly rely on reusable skills (e.g., `SKILL.md`) to execute complex tasks, yet these artifacts lack portability: agent frameworks are highly sensitive to prompt formatting, leading to a large performance variation for the same skill. Nevertheless, most skills are authored once as format-agnostic Markdown, necessitating costly per-framework rewrites and also leaving security largely unaddressed, with widespread vulnerabilities in practice. To address this, we 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, thus enabling portable deployment across agent frameworks. Atop of this IR, a static Optimizer enforces security constraints, blocking vulnerabilities before deployment. Implemented as a four-phase pipeline, SkCC effectively reduces adaptation complexity from $O(m \times n)$ to $O(m + n)$ across $m$ skills and $n$ frameworks. Experiments on SkillsBench demonstrate that SkCC delivers consistent and substantial gains over original counterparts, with pass rate increases from 21.1% to 33.3% on Claude Code and from 35.1% to 48.7% on Kimi CLI. Further, the design achieves sub-10ms compilation latency, 94.8% proactive security trigger rate, and 10-46% runtime token savings across frameworks.

Yipeng Ouyang, Yi Xiao, Yuhao Gu, Xianwei Zhang• 2026

Related benchmarks

TaskDatasetResultRank
Coding/Agentic ExecutionKimi CLI 74 paired tasks--
4
Skill Code Conversion ComparisonSkCC--
4
Coding TasksClaude Code Evaluation Set
Number of Samples23
3
Software Engineering TasksClaude Code
Successful Tasks Count29
3
Agent Skill ExecutionClaude Code (test)
Total Tokens18.7
2
Agentic Skill ExecutionSkillsBench Claude Code CLI
Pass Count9
2
Agentic Skill ExecutionSkillsBench Kimi CLI
Success Count36
2
Agentic Skill ExecutionSkillsBench Codex CLI
Pass Count11
2
Agentic Skill ExecutionSkillsBench Gemini CLI
Pass Count4
2
Showing 9 of 9 rows

Other info

GitHub

Follow for update