English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

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

Forum topic · 小凯 · 2026-07-03

Summary

SkCC is a compiler for LLM agents that applies classical compilation design to reusable agent skills (e.g., SKILL markdown files). Proposed by a team from Sun Yat-sen University (arXiv 2605.03353), it addresses the lack of portability of skills across agent frameworks and unaddressed security issues. SkCC centers on SkIR, a strongly typed intermediate representation that decouples skill semantics from framework-specific formatting, enabling portable deployment. A static optimizer enforces security constraints before deployment. Implemented as a four-phase pipeline, SkCC reduces adaptation complexity from O(m x n) to O(m + n) across m skills and n frameworks. On SkillsBench, it raises task pass rates from 21.1% to 33.3% on Claude Code and from 35.1% to 48.7% on Kimi CLI, with sub-10ms compilation latency, a 94.8% proactive security trigger rate, and 10-46% runtime token savings. Compiler code is open-sourced with the paper.

Paper Overview

  • Research area: Agents / Skill compilation / Cross-framework portability
  • Authors: Yihao Wang, Yuheng Ji, Mingyu Cao, et al. (Sun Yat-sen University team)
  • Published: 2026-05-05
  • arXiv: 2605.03353
  • Code: Open-source compiler code released with the paper
  • Motivation

    LLM agents increasingly rely on reusable skills (e.g., SKILL markdown files) to execute complex tasks, but these artifacts lack portability: agent frameworks are highly sensitive to prompt formatting, causing large performance variation for the same skill. Most skills are authored once as format-agnostic Markdown yet require costly per-framework rewrites, and security remains largely unaddressed, with widespread vulnerabilities in practice.

    Approach

    SkCC introduces classical compilation design into agent skill development:

  • SkIR: a strongly typed intermediate representation that decouples skill semantics from framework-specific formatting, enabling portable deployment across agent frameworks.
  • Static optimizer: enforces security constraints on top of the IR, blocking vulnerabilities before deployment.
  • Four-phase pipeline: reduces adaptation complexity from O(m x n) to O(m + n) across m skills and n frameworks.
  • Results

    Experiments on SkillsBench show consistent, substantial gains over original counterparts:

  • Pass rate on Claude Code: 21.1% -> 33.3% (+12.2pp)
  • Pass rate on Kimi CLI: 35.1% -> 48.7% (+13.5pp)
  • Compilation latency: sub-10ms
  • Proactive security trigger rate: 94.8%
  • Runtime token savings: 10-46% across frameworks
---

*Auto-collected on 2026-07-03.*

Tags

#llm-agents#compiler#skill-compilation#intermediate-representation#security#arxiv#sun-yat-sen-university#open-source

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208371