arXiv

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

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

Abstract:

While Large Language Model (LLM) agents are increasingly dependent on reusable skills, such as $SKILL.md$ files, to handle complex operations, these components suffer from a significant lack of portability. Because agent frameworks are highly sensitive to prompt formatting, the same skill can yield widely varying performance results depending on the platform. Despite this, skills are typically written once in a format-agnostic Markdown style, which forces developers to incur the high cost of rewriting them for each specific framework. Furthermore, this approach largely neglects security, resulting in widespread practical vulnerabilities.

To resolve these issues, we introduce SkCC, a compiler designed for LLM agents that integrates classical compilation principles into skill development. The core of SkCC is SkIR, a strongly-typed intermediate representation that separates skill semantics from framework-specific formatting requirements, thereby facilitating portable deployment across diverse agent ecosystems. Built upon this IR, a static Optimizer enforces security constraints to block potential vulnerabilities prior to deployment.

SkCC operates as a four-phase pipeline that significantly reduces adaptation complexity. Specifically, it lowers the computational burden from $O(m \times n)$ to $O(m + n)$, where $m$ represents the number of skills and $n$ denotes the number of frameworks. Experimental results on SkillsBench indicate that SkCC provides consistent and substantial improvements over original methods. Performance gains include a pass rate increase from 21.1% to 33.3% on Claude Code and from 35.1% to 48.7% on Kimi CLI. Additionally, the design ensures sub-10ms compilation latency, a 94.8% proactive security trigger rate, and runtime token savings ranging from 10% to 46% across various frameworks.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TikTok Billionaire Tops Ambani as Asia’s Second-Richest
Bloomberg

TikTok Billionaire Tops Ambani as Asia’s Second-Richest

TikTok founder surpasses Mukesh Ambani to become Asia’s second-richest person, marking a significant shift in the region...

Publishers in UK can opt out of Google AI search results
BBC News

Publishers in UK can opt out of Google AI search results

UK publishers can now opt out of Google’s AI search summaries, a CMA ruling designed to boost their bargaining power and...

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.
Bloomberg

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.

Kioxia’s market cap nears Toyota’s, signaling a major shift in Japan’s corporate hierarchy. This narrowing gap highlight...

Reuters

Morning Bid: Marvell, a fitting name for the latest AI darling

Reuters highlights Marvell as a top AI stock, noting its name perfectly suits its status as the newest market darling.

Financial Times

Tim Hayward: I built the Jaguar E-Type of computer keyboards

Tim Hayward compares his bespoke keyboard designs to the Jaguar E-Type. He explores high-end customization for personal ...

Financial Times

AI Labs: Zuckerberg’s $100bn gamble

Meta’s $100 billion AI investment aims to secure AI dominance, but questions remain whether sheer spending can outpace c...