Paper deep dive
SkillFusion: Towards Reliable Multi-Skill Composition for LLM Agents
Enhao Huang, Xinye Zhao, Yiming Li, Bingrun Yang, Nanjun Zhou, Chunshu Xia, Hongwei Yao, Zhan Qin
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Independently authored skills can impose incompatible requirements, competing preferences, and redundant instructions when jointly loaded by an LLM agent. We propose SkillFusion, an offline compiler that reconciles these interactions into a reusable merged skill. Its central idea is to make composition decisions explicit through typed, scoped constraints linked to their source directives. A type-scope gate selects candidate interactions, while selective fallback revisits pairs potentially missed by structural pruning. A classifier identifies interaction types, and an adversarial verifier re-examines uncertain judgments. The resolver applies conditional routing or explicit priorities to hard conflicts, verified abstraction to soft conflicts, and deduplication to redundant instructions. Source-linked checks guide synthesis and compression, and metadata synthesis supports discovery of the merged skill. The resulting artifact retains associated scripts and resources and can be reused across tasks and executor models. SkillFusion achieves the highest mean Success among evaluated non-oracle methods on all three agent benchmarks and on both transfer benchmarks across three executor models. At the largest tested instruction configurations, it achieves over 2.5 times the Success of unresolved multi-skill loading, highlighting the growing value of reconciliation as composition becomes more demanding. The code will be open-sourced after the review process concludes.
Tags
Links
- Source: https://arxiv.org/abs/2610.15481v1
- Canonical: https://arxiv.org/abs/2610.15481v1
Trouble viewing inline? Open PDF directly ā
Full Text
84,369 characters extracted from source content.
Expand or collapse full text
SkillFusion: Towards Reliable Multi-Skill Composition for LLM Agents Enhao Huang Affiliation: Zhejiang University Xinye Zhao Affiliation: Nanjing University Yiming Li ā thanks: Corresponding author. Affiliation: Nanyang Technological University Bingrun Yang Affiliation: Zhejiang University Nanjun Zhou Affiliation: Zhejiang University Chunshu Xia Affiliation: Zhejiang University Hongwei Yao Affiliation: City University of Hong Kong Zhan Qin Affiliation: Zhejiang University Abstract Independently authored skills can impose incompatible requirements, competing preferences, and redundant instructions when jointly loaded by an LLM agent. We propose SkillFusion, an offline compiler that reconciles these interactions into a reusable merged skill. Its central idea is to make composition decisions explicit through typed, scoped constraints linked to their source directives. A typeāscope gate selects candidate interactions, while selective fallback revisits pairs potentially missed by structural pruning. A classifier identifies interaction types, and an adversarial verifier re-examines uncertain judgments. The resolver applies conditional routing or explicit priorities to hard conflicts, verified abstraction to soft conflicts, and deduplication to redundant instructions. Source-linked checks guide synthesis and compression, and metadata synthesis supports discovery of the merged skill. The resulting artifact retains associated scripts and resources and can be reused across tasks and executor models. SkillFusion achieves the highest mean Success among evaluated non-oracle methods on all three agent benchmarks and on both transfer benchmarks across three executor models. At the largest tested instruction configurations, it achieves over 2.5Ć2.5Ć the Success of unresolved multi-skill loading, highlighting the growing value of reconciliation as composition becomes more demanding. The code will be open-sourced after the review process concludes. 1 Introduction LLM agents use reusable skills to carry domain knowledge into tasks such as spreadsheet editing, browser interaction, and software maintenance. A skill packages instructions, scripts, and resources around a SKILL.md file; metadata lets the agent discover and load the package when needed (Anthropic, 2026; OpenAI, 2026). This modular design lets authors encode workflows once and reuse them across tasks. As tasks span several workflows, an agent may activate skills from multiple authors in the same execution context (Sera, 2026). Their joint use creates a composition problem: the agent must determine how independently written instructions should jointly govern a task. The difficulty lies in the interactions between otherwise useful directives. Consider two spreadsheet skills: one recommends openpyxl for editing formulas and formatting, while another prescribes standard-library-only workbook auditing. Their applicability depends on the workflow phase. Removing that distinction can turn a useful division of responsibilities into an apparent conflict. More generally, co-activated skills introduce three interaction types (Figure 1). Hard conflicts demand incompatible actions at the same decision point. Soft conflicts introduce competing priorities, such as concise code and extensive explanatory comments. Redundancy repeats overlapping requirements, increasing the instruction burden. Reliable composition therefore requires both a decision about how directives interact and an account of when each directive applies. Existing work develops complementary parts of the skill ecosystem. Skill acquisition and refinement construct reusable knowledge (Wang et al., 2026), while retrieval and routing select relevant skills from large, noisy libraries (Zheng et al., 2026; Liu et al., 2026). Public-library analyses also report substantial intent-level redundancy (Ling et al., 2026). Once several skills have been selected, concatenation leaves their reconciliation to the executor. Free-form rewriting can consolidate their prose, but its treatment of individual requirements and exceptions is difficult to inspect. Instruction-following studies reinforce this concern: composed constraints challenge LLMs (Wen et al., 2024), accumulating requirements reduces performance (Guo et al., 2025), and conflicting instructions can lead to partial or silently compromised compliance (He et al., 2026). We ask: how can independently authored skills be merged into a coherent operational specification while retaining their behavioral requirements? Our key insight is that the appropriate merge operation depends on the type and scope of the interaction. Incompatible requirements need a routing or priority decision; competing preferences need a precise common formulation; duplicate requirements can be consolidated. Applying these operations requires an explicit representation of source directives and their activation conditions. It also requires selective reconsideration: an early error in typing or scope estimation can exclude a relevant interaction before the resolver sees it. Based on this insight, we propose SkillFusion, an offline compiler for instruction-level skill composition. A Parser Agent extracts typed, scoped constraints and links them to their sources. A typeāscope gate identifies likely interactions, and selective fallback revisits excluded pairs with uncertain typing or scope, global scope, or high semantic similarity. A Classifier Agent labels candidate interactions, with adversarial re-judging for uncertain verdicts. The Resolver Agent then applies routing or priority decisions, verified abstraction, and deduplication according to the interaction type. Source-linked checks accompany synthesis and compression, and the output retains discovery metadata, scripts, and resources. The resulting skill is compiled once per pool and reused across tasks and executor models. Experiments connect this design to both task performance and interaction recovery. On SpreadsheetBench Verified (Ma et al., 2024), WebArena-Verified (Zhou et al., 2024), and SWE-bench Verified (Jimenez et al., 2023; OpenAI, 2024), SkillFusion improves Success over three-call RewriteāCritiqueāRevise by 4.8, 4.0, and 3.8 percentage points, respectively. A human audit shows that selective fallback recovers 14 of the 24 incompatible pairs missed by strict pruning, increasing F1 from .713 to .840. Controlled mechanism experiments reveal performance drops under each interaction type and their joint condition, while component ablations assess the corresponding design choices. Transfer across three executor models and scaling to 140 constraints further evaluate the reuse and robustness of the compiled artifacts. The widening advantage over unresolved loading indicates that reconciliation becomes more valuable as instruction complexity grows, while cross-model transfer supports reuse beyond the compilation backbone. Our contributions are threefold. (1) We formulate instruction-level skill composition through typed, scoped constraints and distinguish hard conflicts, soft conflicts, and redundancy as targets for reconciliation. (2) We develop selective candidate generation and interaction-specific resolution with source-linked verification, producing reusable merged skills. (3) We evaluate task performance on three agent benchmarks and connect the results to interaction recovery through human auditing, controlled mechanisms, component ablations, cross-model transfer, and instruction scaling. Figure 1: Illustrative examples of three failure modes in multi-skill systems: hard conflict, soft conflict, and redundancy. These arise when independently authored skills are co-activated, leading to incompatible constraints, competing directives, and redundant instructions, respectively. 2 Related Work We briefly position SkillFusion relative to four lines of work; a comprehensive survey with per-paper discussion is provided in Appendix D. Skill construction and routing. A rapidly growing body of work addresses both how to build individual skills and how to reliably select the right one at inference time. On the construction side, existing methods range from iterative refinement through execution feedback (Wang et al., 2026) to reinforcement-learning-based skill discovery (Wang et al., 2025; Xia et al., 2026) and parameter-level skill acquisition via LoRA merging (Kuroki et al., 2025; Liu et al., 2025). On the routing side, SkillRouter (Zheng et al., 2026) shows that metadata-only retrieval is insufficient for large skill libraries and proposes a retrieval-reranking pipeline, while others study capacity limits of single-agent routing (Li, 2026) and the difficulty of skill retrieval from uncurated libraries (Liu et al., 2026). These efforts expand the supply of skills and improve their acquisition and selection. Instruction-level composition additionally requires analyzing interactions among independently authored directives and reconciling them into a shared operational specification. Skill composition. The most related work attempts to compose multiple skills together. Jiao et al. (2026) dynamically select and compose reasoning skills during problem synthesis, while Meng et al. (2026) define structured skill libraries with precondition and post-effect checking. At the parameter level, Prabhakar et al. (2025) and Fu et al. (2026) merge LoRA modules across skills. However, these methods operate either at the planning level (selecting which skill to invoke next) or at the weight level (merging adapter parameters directly). None of them address instruction-level reconciliation: given two SKILL.md files with partially overlapping and potentially conflicting natural-language directives, how should they be merged into one coherent and executable specification? Multi-agent verification. Recent work shows that multi-agent interaction improves single-model reliability. LLM-as-judge frameworks (Zheng et al., 2023) use one model to evaluate anotherās output, and multi-agent debate (Liang et al., 2024) demonstrates that adversarial critique reduces hallucination. SkillFusion applies this principle: a Classifier Agent and an Adversarial Verifier Agent form a debate protocol for conflict classification, re-examining uncertain judgments against the original pair of source constraints (Section 3.2.2; threshold analysis in Appendix A.5). Instruction-following under constraint pressure. Independent evidence from the instruction-following literature confirms that the problem is real. ComplexBench (Wen et al., 2024) shows that multi-constraint composition is a distinct challenge for frontier LLMs. RECAST (Guo et al., 2025) demonstrates sharp performance degradation as the number of explicit requirements grows. ConInstruct (He et al., 2026) adds a particularly relevant finding: even strong models often fail to surface or clarify conflicts, instead responding under partial or silently compromised compliance. These results establish that implicit runtime reconciliation is unreliable under constraint-dense conditions, which is precisely the regime that unresolved multi-skill loading creates. SkillFusion addresses this gap through explicit, offline reconciliation of source directives and their activation conditions, producing a reusable instruction set that is shared across tasks and executor models. 3 Method 3.1 Problem Setup Definition 1 (Agent Skill) An agent skill is a tuple s=(m,I,P,R)s=(m,I,P,R), where m=(name,desc)m=(name,desc) is metadata for discovery, I=d1,ā¦,dnI=\d_1,ā¦,d_n\ is a set of natural-language directives, P is a set of executable scripts, and R is a set of auxiliary resources such as templates and documentation. Figure 2: Overview of SkillFusion. A Parser Agent extracts typed constraints from each skill. Candidate generation combines a typeāscope gate with selective fallback for potentially missed interactions. A Classifier Agent and Adversarial Verifier Agent classify surviving pairs through a debate protocol. A Resolver Agent applies type-dispatched compilation (routing, abstraction, or deduplication) and compresses the result into a unified merged skill. Metadata enables discovery; instructions and scripts encode the commitments to be composed. Definition 2 (Typed Constraint) A typed constraint c=(Ļ,Ī“,Ļ)c=(Ļ,Ī“,Ļ) consists of a behavioral type Ļ, directive text Ī“, and activation scope Ļ, with Ļāformat,behavior,tool,priority,style.Ļā\ format, behavior, tool, priority, style\. Intuitively, the type Ļ indicates what behavioral dimension a directive governs (e.g., output shape, procedural step, or tool-use rule), while the scope Ļ indicates precisely when it applies. A global scope (Ļ=ā¤Ļ= ) means the directive is unconditional. Otherwise, it is active only when the current task context matches its scope cues. For a skill s, we write ā”(s)=c1,ā¦,cmC(s)=\c_1,ā¦,c_m\ to denote the full set of typed constraints extracted from I and P. Given skills sA,sBs_A,s_B, the compiler produces a merged skill sAāBs_AB that retains compatible requirements and specifies how conflicting directives are resolved. Naive concatenation, IAāIBI_A I_B, provides the unresolved reference. We assess the merged skill through task Success, instruction Compliance, and source-constraint Preservation. Interaction types. We distinguish hard conflicts, soft conflicts, and redundancy as introduced in Section 1. Hard conflicts require incompatible actions under overlapping scopes; soft conflicts compete without logical inconsistency; redundancy repeats an existing requirement. Section 4.7 evaluates their isolated and joint effects in controlled instruction combinations. 3.2 SkillFusion Pipeline SkillFusion uses four LLM roles across three stages (Figure 2): parsing, candidate interaction detection with adversarial re-judging, and resolution with compression. It outputs a merged SKILL.md, discovery metadata, and preserved scripts and resources. Detailed prompts and implementation procedures appear in Appendices E and F. 3.2.1 Stage I: Constraint Parsing Skill files vary widely in style: declarative checklists, narrative prose, and helper scripts all encode behavioral assumptions. Each skill must first be mapped into the representation of Definition 2. An LLM-based Parser Agent P decomposes each instruction file I into minimal directives: ā”(I)=(Ļ1,Ī“1,Ļ1),ā¦,(Ļm,Ī“m,Ļm).P(I)=\( _1, _1, _1),ā¦,( _m, _m, _m)\. The parser uses a structured JSON schema enforcing minimality and scope accuracy. Because raw scope language is often informal (e.g., āfor spreadsheet tasksā), we normalize each scope into structured cues (task category, workflow phase, file pattern, tool context) while retaining original wording for reconstruction. Behaviorally important constraints may also be encoded implicitly in scripts; for example, a workbook-editing script may enforce preservation of existing cell formulas. We extract such constraints via static inspection followed by a two-pass semantic filter. At the end of parsing, each skill is a finite set of typed, scoped constraints with provenance links. 3.2.2 Stage I: Conflict Detection The goal of Stage I is to determine how the constraints of two parsed skills interact. Comparing all cross-skill pairs directly would be both expensive and noisy, so we adopt a two-phase procedure: graph-based pruning followed by an adversarial debate protocol. Constraint Interaction Graph. For each pair of source skills, we form a bipartite constraint graph; larger pools include all skill pairs. The strict edge set uses the typeāscope gate: Estrict=(ci,cj):Ļi=Ļjā§Ļiā©Ļjā ā .E_strict=\(c_i,c_j): _i= _j\ \ _iā© _jā \. Typing and scope estimates can omit genuine interactions. The final system adds a selective fallback set EfbE_fb: excluded pairs are reconsidered when typing or scope is uncertain, either scope is global, or semantic similarity is high. Classification operates on E=EstrictāŖEfbE=E_strictāŖ E_fb. We call this configuration SF-final; SF-strict uses Efb=ā E_fb= . SF-final admits 7.8ā19.0% of possible cross-skill pairs in the three benchmark pools (Appendix B). Adversarial debate classification. For each surviving edge, a Classifier Agent 1J_1 labels the interaction into one of four categories: ā(hard conflict),ā(soft conflict),ā”(redundancy),ā(compatibility). \;(hard conflict), \;(soft conflict), ā”\;(redundancy), \;(compatibility). The classifier receives both constraints as structured JSON records and returns a label, confidence score, and rationale. To guard against over-classification, an Adversarial Verifier Agent 2J_2 re-evaluates low-confidence verdicts (γ<0.65γ<0.65) under a skeptical counter-prompt. A confidence-weighted rule adjudicates disagreements (Algorithm 1). Algorithm 1 Candidate Generation and Adversarial Conflict Detection Input: ā”(sA)C(s_A), ā”(sB)C(s_B); threshold Īø Output: Labeled set āL // Phase 1: Construct Constraint Interaction Graph 1: EāEstrictāŖEfbEā E_strictāŖ E_fb ā³ Selective fallback enabled in SF-final // Phase 2: Adversarial debate classification 2: āāā Lā 3: for all (ci,cj)āE(c_i,c_j)ā E do 4: (l1,γ1)ā1ā(ci,cj)(l_1, _1) _1(c_i,c_j) ā³ Classifier Agent 5: if γ1ā„Īø _1ā„Īø: āāāāŖ(ci,cj,l1)L āŖ\(c_i,c_j,l_1)\ 6: else: (l2,γ2)ā2ā(ci,cj)(l_2, _2) _2(c_i,c_j) ā³ Adversarial Verifier 7: lāāAdjudicateā(l1,γ1,l2,γ2)l^*ā Adjudicate(l_1, _1,l_2, _2); āāāāŖ(ci,cj,lā)L āŖ\(c_i,c_j,l^*)\ 8: return āL 3.2.3 Stage I: Conflict Resolution and Compression In Stage I, the Resolver Agent compiles detected interactions into a merged instruction set. This compilation is governed by the goal of behavioral preservation: retained and synthesized directives maintain links to their sources. Compatible requirements are preserved or subsumed; genuinely incompatible requirements require an explicit routing or priority decision. For task contexts within separable source scopes, the resolver defines: Ī“iājmergeā(t)=Ī“i,if āĻiājā(t),Ī“j,otherwise, _ij^merge(t)= cases _i,&if _ij(t),\\ _j,&otherwise, cases where t is the task context and Ļiāj _ij derives from normalized scope cues. If no reliable discriminator exists, SkillFusion falls back to an explicit disambiguation block that specifies a priority and fallback. For soft conflicts (competing but not contradictory), the resolver derives a super-directive Ī“iājabs _ij^abs that satisfies subsumption and specificity. Each candidate is verified by pairwise non-violation checks against the original constraints, with a fallback: if either check fails, the hard-conflict resolver chooses routing or explicit priority. For redundant pairs, the resolver keeps the more specific formulation and drops the weaker duplicate. After resolution, three compression operators are applied: shared-directive factoring, entailment-verified thematic clustering, and structural normalization. These operators reduce repetition while checking synthesized directives against their sources. Finally, the compiler synthesizes metadata mAāBm_AB covering both source skills. Activation recall measures whether the merged description preserves discovery coverage. 4 Experiments 4.1 Experimental Settings Benchmarks and skill pools. We evaluate on SpreadsheetBench Verified (Ma et al., 2024) (400 tasks, hard restriction), WebArena-Verified (Zhou et al., 2024) (all 812 tasks), and SWE-bench Verified (Jimenez et al., 2023; OpenAI, 2024) (500 tasks). Each is paired with five independently authored public skills covering spreadsheet workflows, browser interaction, or software engineering. HumanEval+ (Liu et al., 2023) (164 tasks) supplies the controlled testbed, with synthetic skills constructed from 12 coding-practice directives. Appendix H lists skill sources and construction details. Baselines and metrics. We compare No Skill, retrospective Single-Skill Oracle, Multi-Skill Loading (MSL), Naive Concat, one-call LLM Rewrite, Skill Routing (Zheng et al., 2026), and three-call RewriteāCritiqueāRevise (RCR). The oracle selects the best single-skill outcome per task and is a reference within that candidate family. SF-strict uses only the typeāscope gate; SF-final, our full method, adds selective fallback with verifier threshold .65. Success is benchmark-native correctness (pass@1 on HumanEval+). Compliance is the fraction of supplied instructions judged satisfied (Zheng et al., 2023); instruction sets vary by method, so we report it alongside Success and Preservation. Compression is 1āoutput tokens/input tokens1-output tokens/input tokens over instruction bodies. Ablations measure synthetic conflict recall, source Preservation, and metadata Activation recall. Protocol. The compiler uses DeepSeek-V3.2 (DeepSeek-AI et al., 2025) at temperature 0.0 through CAMEL (Li et al., 2023). One fixed artifact per method and skill pool is reused across tasks and transferred to GLM-4.7 (Zeng et al., 2025) and MiniMax-M2.5 (MiniMax, 2026). Every main and cross-model column uses three full evaluations. HumanEval+ generates one program per task per run: four runs for ablations and gate/threshold tests, and 20 for scaling and mechanism scenarios. Intervals show Student-t 95% confidence intervals for the mean across repeated executions on a fixed task set. Difference intervals use within-block paired score differences. Appendix A details record reuse, denominators, cost, and full results. 4.2 Main Results By explicitly reconciling interactions, SF-final achieves the highest non-oracle Success on all three benchmarks (Figure 3), improving over three-call RCR by 4.8, 4.0, and 3.8 percentage points. All three paired 95% intervals exclude zero (Appendix A.3). The advantage persists over a baseline that already critiques and revises its merge; the ablations identify the contributing composition decisions. Figure 3: Detailed main results across three fixed task sets. Bars and labels show mean Success (%); error bars show Student-t 95% CIs over three complete runs. All benchmarks share the same scale. Hatched bars denote the retrospective oracle reference. Table 1: Main-benchmark Compliance (C) and compression (R), in percent. Results cover all nine methods on the three benchmarks. Compliance is measured against each methodās supplied instruction set. Dashes indicate inapplicable metrics. SpreadsheetBench WebArena SWE-bench Method C R C R C R No Skill ā ā ā ā ā ā Single-Skill Oracle 53.4 ā 77.1 ā 99.1 ā MSL 48.7 0.0 74.9 0.0 99.3 0.0 Naive Concat 62.1 0.0 78.3 0.0 100.0 0.0 LLM Rewrite 57.3 22.3 79.4 38.9 99.7 15.8 Skill Routing 46.2 ā 76.2 ā 99.6 ā RCR 59.6 25.5 80.6 34.2 99.3 14.1 SF-strict 60.8 37.1 81.7 17.4 99.4 10.3 SF-final 62.3 36.0 83.1 18.0 99.5 10.5 The baselines expose the composition difficulty. On SpreadsheetBench, Naive Concat falls below No Skill, whereas SF-final exceeds even the retrospective single-skill oracle. The same oracle comparison holds on WebArena, supporting the value of combining complementary skills through reconciliation. SWE-bench retains a stronger oracle, indicating additional value in task-specific selection. SF-final also compresses less than RCR on WebArena and SWE-bench (Table 1). Its higher Success favors selective preservation over maximizing text reduction. Compilation cost is incurred once per skill pool and amortized through artifact reuse (Appendix A.3). 4.3 Component Ablations The S60 ablations separate representation, resolution, and packaging (Figure 4; Appendix A.2). Removing scope normalization gives the largest Success drop, from .799 to .768, and also lowers recall and Preservation. Typed representation shows the same direction. Scope thus matters at both candidate selection and source-requirement retention. Removing conflict-type distinction leaves recall at .833 but reduces Preservation from .900 to .850, locating its contribution in resolution after detection. Removing metadata synthesis leaves Preservation unchanged but lowers Activation recall, separating discovery from instruction retention. Compression improves Compliance and reduces length, while its removal yields higher mean Success (.811): compactness carries a task-performance trade-off in this setting. Figure 4: HumanEval+ S60 component ablations. Bars show means and error bars show Student-t 95% CIs over four runs on 164 fixed tasks. Additional recall, preservation, activation, and compression diagnostics appear in Appendix A.2. 4.4 Human Audit and Candidate Robustness The human audit identifies early pruning as a recoverable bottleneck. SF-strict misses 24 of 60 incompatible pairs; selective fallback recovers 14, largely from typing, scope normalization, and cross-type interactions. F1 rises from .713 to .840, while precision decreases from .878 to .847. Revisiting uncertain exclusions therefore recovers useful interactions that a strict structural gate would permanently hide from the resolver (Appendix A.4). Table 2: Candidate-generation trade-offs. P/R/F1 use the 300-pair human audit; candidates and API cost use a separate 5,216-pair calibration set. Preservation and Success use HumanEval+ S60; Spreadsheet Success uses the main benchmark. Bold marks best scores and lowest API cost. Variant P / R / F1 Candidates API Pres. S60 Sheet SF-strict 0.878/0.600/0.713 612 1.000 0.883 0.773 0.476 No gate 0.696/0.917/0.791 5,216 7.610 0.717 0.787 0.457 SF-final 0.847/0.833/0.840 1,184 1.820 0.900 0.799 0.488 Exhaustive comparison exposes the complementary failure mode (Table 2). No gate has the highest recall, but generates 24 false positives versus nine for SF-final and lowers Preservation and task Success. This is consistent with unnecessary conflict resolutions altering otherwise useful directives. SF-final also uses a much lower calibration API ratio (1.820 versus 7.610). Together, these results favor selective recovery: retain structural filtering while reopening plausible misses. The verifier sweep changes Success by at most .006 across the two testbeds, suggesting that the observed performance is relatively stable over the tested threshold range (Appendix A.5). 4.5 Cross-Model Generalization SF-final leads all non-oracle methods in the six benchmarkābackbone combinations, with gains over RCR of 1.5ā2.9 points on the two transfer backbones (Appendix Figures 7 and 8). These fixed artifacts transfer without backbone-specific recompilation. Free-form rewriting is less consistent: its WebArena Success falls to .098 with MiniMax, while SF-final retains .236. Explicitly resolved instructions thus support reuse across the tested executors despite differing absolute performance. 4.6 Scaling with Instruction Complexity The benefit of compilation grows with instruction complexity (Figure 5). Raw loads the unresolved instruction combination. With four skills, increasing constraints from 20 to 140 reduces Raw Success from .706 to .279, while SF-final declines from .825 to .708. Varying the number of skills shows the same pattern; finalāRaw gains reach 42.9 and 42.2 points at the two endpoints. Thus, reconciliation becomes more valuable as the executor faces a larger unresolved instruction set. The finalāstrict gap also widens along both axes, linking selective recovery to robustness under increasing composition demands. Appendix A.7 reports Compliance and paired gain intervals. Figure 5: HumanEval+ Success as instruction complexity increases. Left: four skills with varying constraint counts. Right: 20 constraints per skill. Each point uses 164 tasks across 20 runs; shading shows Student-t 95% confidence intervals for mean scores on the fixed task set. The 80-constraint and four-skill points reuse the same records. 4.7 Controlled Mechanism Analysis Unresolved skill interactions reduce execution quality (Table 3). The hard-conflict condition has the largest isolated Success loss; redundant instructions and competing preferences also lower Success and Compliance. Redundancy even exceeds the soft-conflict loss in these scenarios. These distinct burdens motivate routing, abstraction, and deduplication, whose differentiated treatment is supported by the conflict-type ablation. The joint condition yields the lowest Success and Compliance. Its mean Success drop is .027 smaller than the sum of the isolated drops (.219), so isolated penalties do not simply add when interaction types coexist. Joint evaluation therefore complements the isolated comparisons. Table 3: Unresolved interaction conditions on HumanEval+. Scores are mean Success and Compliance over 20 runs on 164 fixed tasks. The joint condition combines all three interaction types. Bold marks the highest mean in each column. Condition Success Compliance Single-skill reference 0.823 0.887 Hard conflict 0.716 0.745 Redundancy / dilution 0.758 0.802 Soft conflict / ambiguity 0.776 0.816 Joint condition 0.631 0.654 5 Conclusion SkillFusion compiles independently authored skills into reusable specifications through typed, scoped interaction analysis. Interaction-specific resolution improves task Success across three agent benchmarks, and selective fallback recovers conflicts missed by strict pruning. Human auditing, component ablations, and controlled mechanism experiments connect these gains to concrete stages of the compiler. Cross-model transfer and instruction scaling further demonstrate the utility of resolving skill interactions before execution. Ethics Statement This work studies skill composition using public agent benchmarks and reusable skill instructions. More effective composition can also facilitate harmful or unauthorized workflows, and LLM-generated resolutions can introduce incorrect instructions. Deployment should therefore retain independent permission checks, sandboxed execution, and human approval for consequential actions. Reuse and redistribution should respect benchmark terms and upstream skill licenses. Private files, credentials, and personal data require appropriate authorization and protection when third-party model APIs are used. Our evaluation concerns task performance and instruction consistency; operational safety requires separate assessment. AI Use Statement We used GPT-6 Astra to assist with grammar polishing and revision. Reproducibility Statement The appendices provide evaluation protocols, supplementary results, compilation costs, human-audit counts, prompt templates, and skill-pool details. The code will be open-sourced after the review process concludes. References Anthropic (2026) Anthropic. The complete guide to building skills for claude. https://resources.anthropic.com/hubfs/The-Complete-Guide-to-Building-Skill-for-Claude.pdf, 2026. DeepSeek-AI et al. (2025) DeepSeek-AI, Aixin Liu, Aoxue Mei, et al. DeepSeek-V3.2: Pushing the frontier of open large language models. arXiv preprint arXiv:2512.02556, 2025. Fu et al. (2026) Yuxia Fu, Zhizhen Zhang, Yuqi Zhang, Zijian Wang, Zi Huang, and Yadan Luo. MergeVLA: Cross-skill model merging toward a generalist vision-language-action agent. arXiv preprint arXiv:2511.18810, 2026. Guo et al. (2025) Zhengkang Guo, Wenhao Liu, Mingchen Xie, Jingwen Xu, Zisu Huang, Muzhao Tian, Jianhan Xu, Yuanzhe Shen, et al. RECAST: Expanding the boundaries of LLMsā complex instruction following with multi-constraint data. arXiv preprint arXiv:2505.19030, 2025. He et al. (2026) Xingwei He, Qianru Zhang, Pengfei Chen, Guanhua Chen, Linlin Yu, Yuan Yuan, and Siu-Ming Yiu. Coninstruct: Evaluating large language models on conflict detection and resolution in instructions. In AAAI, 2026. Jiao et al. (2026) Zhengbo Jiao, Shaobo Wang, Zifan Zhang, Xuan Ren, Wei Wang, Bing Zhao, Hu Wei, and Linfeng Zhang. Agentic proposing: Enhancing large language model reasoning via compositional skill synthesis. arXiv preprint arXiv:2602.03279, 2026. Jimenez et al. (2023) Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. Swe-bench: Can language models resolve real-world github issues? In The twelfth international conference on learning representations, 2023. Kuroki et al. (2025) So Kuroki, Taishi Nakamura, Takuya Akiba, and Yujin Tang. Agent skill acquisition for large language models via CycleQD. In ICLR, 2025. Li et al. (2023) Guohao Li, Hasan Abed Al Kader Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem. CAMEL: Communicative agents for āmindā exploration of large language model society. In NeurIPS, 2023. Li (2026) Xiaoxiao Li. When single-agent with skills replace multi-agent systems and when they fail. arXiv preprint arXiv:2601.04748, 2026. Liang et al. (2024) Tian Liang, Zhiwei He, Wenxiang Jiao, Xing Wang, Yan Wang, Rui Wang, et al. Encouraging divergent thinking in large language models through multi-agent debate. In Proceedings of the 2024 conference on empirical methods in natural language processing, 2024. Ling et al. (2026) George Ling, Shanshan Zhong, and Richard Huang. Agent skills: A data-driven analysis of claude skills for extending large language model functionality. arXiv preprint arXiv:2602.08004, 2026. Liu et al. (2023) Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by ChatGPT really correct? rigorous evaluation of large language models for code generation. In Advances in Neural Information Processing Systems (NeurIPS), 2023. Liu et al. (2025) Tenglong Liu, Jianxiong Li, Yinan Zheng, Haoyi Niu, Yixing Lan, Xin Xu, and Xianyuan Zhan. Skill expansion and composition in parameter space. In ICLR, 2025. Liu et al. (2024) Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. AgentBench: Evaluating LLMs as agents. In ICLR, 2024. Liu et al. (2026) Yujian Liu, Jiabao Ji, Li An, Tommi Jaakkola, Yang Zhang, and Shiyu Chang. How well do agentic skills work in the wild: Benchmarking LLM skill usage in realistic settings. arXiv preprint arXiv:2604.04323, 2026. Ma et al. (2024) Zeyao Ma, Bohan Zhang, Jing Zhang, Jifan Yu, Xiaokang Zhang, Xiaohan Zhang, Sijia Luo, Xi Wang, and Jie Tang. SpreadsheetBench: Towards challenging real world spreadsheet manipulation. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2024. URL http://papers.nips.c/paper_files/paper/2024/hash/ac840df270ac537d74530a15c332684-Abstract-Datasets_and_Benchmarks_Track.html. Meng et al. (2026) Ru Meng, Shaoyu Huang, Xinyue Zhang, Yourong Yang, Kewei Zeng, and Zhibin Huang. Constraint-consistent skill composition for reliable zero-shot task generalization in llm agents. 2026 9th International Symposium on Big Data and Applied Statistics (ISBDAS), 2026. MiniMax (2026) MiniMax. MiniMax M2.5: Built for real-world productivity. https://w.minimax.io/news/minimax-m25, 2026. OpenAI (2024) OpenAI. Introducing SWE-bench verified. https://openai.com/index/introducing-swe-bench-verified/, 2024. Human-validated 500-task subset of Jimenez et al. (2023). OpenAI (2026) OpenAI. Codex skills. https://developers.openai.com/codex/skills/, 2026. Patil et al. (2024) Shishir G. Patil, Tianjun Zhang, Xin Wang, and Joseph E. Gonzalez. Gorilla: Large language model connected with massive APIs. In NeurIPS, 2024. Prabhakar et al. (2025) Akshara Prabhakar, Yuanzhi Li, Karthik Narasimhan, Sham Kakade, Eran Malach, and Samy Jelassi. LoRA soups: Merging LoRAs for practical skill composition tasks. In COLING, 2025. Qin et al. (2024) Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, et al. ToolLLM: Facilitating large language models to master 16000+ real-world APIs. In ICLR, 2024. Schick et al. (2023) Timo Schick, Jane Dwivedi-Yu, Roberto DessƬ, Roberta Raileanu, Maria Lomeli, et al. Toolformer: Language models can teach themselves to use tools. In NeurIPS, 2023. Sera (2026) Kazuhiro Sera. Using skills to accelerate oss maintenance. https://developers.openai.com/blog/skills-agents-sdk, 2026. Shen et al. (2023) Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. HuggingGPT: Solving AI tasks with ChatGPT and its friends in Hugging Face. In NeurIPS, 2023. Shinn et al. (2023) Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. In NeurIPS, 2023. Tran et al. (2025) Khanh-Tung Tran, Dung Dao, Minh-Duong Nguyen, Quoc-Viet Pham, Barry OāSullivan, and Hoang D. Nguyen. Multi-agent collaboration mechanisms: A survey of LLMs. arXiv preprint arXiv:2501.06322, 2025. Wang et al. (2026) Chenxi Wang, Zhuoyun Yu, Xin Xie, Wuguannan Yao, Runnan Fang, Shuofei Qiao, Kexin Cao, Guozhou Zheng, et al. SkillX: Automatically constructing skill knowledge bases for agents. arXiv preprint arXiv:2604.04804, 2026. Wang et al. (2023) Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023. Wang et al. (2025) Jiongxiao Wang, Qiaojing Yan, Yawei Wang, Yijun Tian, Soumya Smruti Mishra, Zhichao Xu, Megha Gandhi, Panpan Xu, et al. Reinforcement learning for self-improving agent with skill library. arXiv preprint arXiv:2512.17102, 2025. Wang et al. (2024) Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, Wayne Xin Zhao, Zhewei Wei, and Jirong Wen. A survey on large language model based autonomous agents. Frontiers of Computer Science, 18(6):186345, 2024. Wei et al. (2026) Yifan Wei, Li Du, Xiaoyan Yu, Yang Feng, and Angsheng Li. Towards compositional generalization of LLMs via skill taxonomy guided data synthesis. arXiv preprint arXiv:2601.03676, 2026. Wen et al. (2024) Bosi Wen, Pei Ke, Xiaotao Gu, Lindong Wu, Hao Huang, Jinfeng Zhou, Wenchuang Li, Binxin Hu, et al. Benchmarking complex instruction-following with multiple constraints composition. In NeurIPS, 2024. Xia et al. (2026) Peng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han, Yiyang Zhou, et al. SkillRL: Evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234, 2026. Xu & Yan (2026) Renjun Xu and Yang Yan. Agent skills for large language models: Architecture, acquisition, security, and the path forward. arXiv preprint arXiv:2602.12430, 2026. Yang et al. (2024) John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In NeurIPS, 2024. Yao et al. (2023) Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In ICLR, 2023. Zabounidis et al. (2026) Renos Zabounidis, Yue Wu, Simon Stepputtis, Woojun Kim, Yuanzhi Li, Tom Mitchell, and Katia Sycara. SCALAR: Learning and composing skills through LLM guided symbolic planning and deep RL grounding. arXiv preprint arXiv:2603.09036, 2026. Zeng et al. (2025) Aohan Zeng, Bin Xu, Bowen Wang, Chenhui Zhang, Da Yin, Dan Zhang, et al. ChatGLM: A family of large language models from GLM-130B to GLM-4 all tools. arXiv preprint arXiv:2406.12793, 2025. Zheng et al. (2023) Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing Xing, Hao Zhang, Joseph E Gonzalez, and Ion Stoica. Judging LLM-as-a-judge with MT-Bench and chatbot arena. In NeurIPS, 2023. Zheng et al. (2026) YanZhao Zheng, ZhenTao Zhang, Chao Ma, YuanQiang Yu, JiHuai Zhu, Yong Wu, Tianze Xu, Baohua Dong, et al. SkillRouter: Skill routing for LLM agents at scale. arXiv preprint arXiv:2603.22455, 2026. Zhou et al. (2024) Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. WebArena: A realistic web environment for building autonomous agents. In International Conference on Learning Representations (ICLR), 2024. Appendix A Evaluation Protocol and Supplementary Results A.1 Fixed Evaluation Protocol and Metric Scope Each main-benchmark and cross-model column uses three complete evaluations: SpreadsheetBench Verified contains 400 tasks under the hard restriction; WebArena-Verified uses all 812 tasks; SWE-bench Verified uses 500 tasks. A methodās compiled artifact is fixed for a given skill pool and transferred unchanged across backbones. HumanEval+ contains 164 tasks, with one program per task per run. HumanEval+ ablation, gate, and threshold comparisons use four runs; SpreadsheetBench gate and threshold comparisons use three. Scaling and the controlled mechanism setting use 20 runs. The S60 ablation records are the first four repetitions of the corresponding 20-run scaling experiment. Their aggregates are calculated separately. The four-skill point with 20 constraints per skill and the 80-constraint point with four skills reuse exactly the same 20 records. With one skill, strict and final reuse the same records because there are no cross-skill candidate pairs. Success uses benchmark-native correctness. Compliance uses the proportion of taskāinstruction judgments satisfied under the same judge and scoring rule within each benchmark; the instruction sets can differ between methods. Preservation measures source constraints retained or covered by the compiled artifact. Compression uses a fixed tokenizer and instruction-body scope, excluding scripts, resources, and metadata. Ratios and gains are calculated before display rounding. All bracketed score intervals are two-sided Student-t 95% confidence intervals for the mean across repeated executions on the fixed benchmark task set. For repeat-block scores x1,ā¦,xRx_1,ā¦,x_R, we report x¯±t0.975,Rā1āsxR,sx2=1Rā1āār=1R(xrāxĀÆ)2. x\ ±\ t_0.975,R-1 s_x R, s_x^2= 1R-1 _r=1^R(x_r- x)^2. Here R counts complete repeat blocks (3, 4, or 20). For a method comparison, we first form dr=xr(A)āxr(B)d_r=x_r^(A)-x_r^(B) from corresponding repeat blocks, then apply the same formula to dĀÆ d and sds_d. Percentage-point gains multiply these differences and interval endpoints by 100. The intervals quantify execution-induced uncertainty in the mean conditional on the fixed task set and compiled artifact; they do not quantify task-sampling or compilation uncertainty. A.2 Additional Ablation Diagnostics Table 4 reports recall, preservation, activation, and compression for the variants in Figure 4. Synthetic recall counts 60 incompatible pairs, Preservation counts 60 source constraints, and Activation uses 164 probes. Table 4: Additional HumanEval+ S60 ablation diagnostics. Rcl.: synthetic recall; Pres.: preservation; Act.: activation recall; Compr.: compression. Success and Compliance are shown in Figure 4. Bold marks column maxima, including ties. Variant Rcl. Pres. Act. Compr. SF-final 0.833 0.900 1.000 0.108 SF-strict 0.583 0.883 1.000 0.113 w/o typed repr. 0.767 0.883 1.000 0.104 w/o scope norm. 0.717 0.867 0.988 0.096 No gate 0.917 0.717 0.957 0.000 w/o conflict types 0.833 0.850 1.000 0.075 w/o compression 0.833 0.900 1.000 0.000 w/o metadata 0.833 0.900 0.976 0.108 Synthetic recall and Preservation each have denominator 60, but count incompatible pairs and source constraints respectively. Activation uses 164 routing probes. A.3 Success Gains and Compilation Cost Table 5: SF-final minus RCR in percentage points (p), computed from unrounded evaluation counts. Brackets show paired Student-t 95% confidence intervals from corresponding repeat-block differences. Differences between rounded means may differ by 0.10.1 p. SpreadsheetBench WebArena SWE-bench +4.8 p [2.9, 6.6] +4.0 p [2.0, 6.0] +3.8 p [1.3, 6.3] RCR uses the same source skills in three calls: rewrite, critique, and revise. Table 6 reports its compilation cost alongside SF-strict and SF-final, using a separate SF-strict normalization within each benchmark. Candidate-generation API ratios use the calibration pool described below. Table 6: Offline compilation cost, normalized separately to SF-strict = 100,000 in each domain. Bold marks the lowest cost within each benchmark. Benchmark RCR Strict Final RCR/strict Final/strict RCR/final SpreadsheetBench 92,000 100,000 174,000 0.920 1.740 0.529 WebArena 96,000 100,000 168,000 0.960 1.680 0.571 SWE-bench 88,000 100,000 155,000 0.880 1.550 0.568 A.4 Human Audit and Gate Variants The audit contains 300 constraint pairs: 60 incompatible and 240 compatible. Candidate counts and API ratios are measured on a separate calibration pool of 5,216 pairs. Human-audit labels and synthetic ablation labels are evaluated on their respective pair sets. Table 7: Human-audit confusion matrices and detection quality. Bold marks the best Precision, Recall, and F1. Variant TP FP FN TN Precision Recall F1 SF-strict 36 5 24 235 0.878 0.600 0.713 No gate 55 24 5 216 0.696 0.917 0.791 SF-final 50 9 10 231 0.847 0.833 0.840 Table 8: Calibration workload and downstream outcomes. S60 uses four runs and SpreadsheetBench uses three. The S60 and main-benchmark records are reused, not new independent evaluations. Brackets show Student-t 95% confidence intervals for means across fixed-task-set repeats. Bold marks the best mean scores and lowest API ratio. Variant Candidates API ratio S60 Pres. S60 Success Spreadsheet Success SF-strict 612 1.000 0.883 0.773 [0.761, 0.785] 0.476 [0.457, 0.495] No gate 5,216 7.610 0.717 0.787 [0.773, 0.800] 0.457 [0.438, 0.476] SF-final 1,184 1.820 0.900 0.799 [0.788, 0.810] 0.488 [0.467, 0.510] Table 9: Attribution and recovery of the 24 strict-gate false negatives; fallback recovers 14 and leaves 10. Cause Strict misses Recovered Remaining Type assignment 8 5 3 Scope normalization 6 4 2 Cross-type conflicts 5 3 2 Scope overlap 3 2 1 Classifier 1 0 1 Annotation ambiguity 1 0 1 Total 24 14 10 Selective fallback increases audited recall from .600 to .833 and F1 from .713 to .840. No gate reaches .917 recall, with 24 false positives compared with nine for SF-final and costs 7.610 times SF-strict on the calibration set. Its S60 Preservation is .717, versus .900 for SF-final. Selective fallback recovers missed interactions while limiting false positives and classification cost. A.5 Verifier-Threshold Sensitivity All settings use the same 1,184 candidate pairs admitted by SF-final. Trigger and flip percentages use 1,184 as their denominator; P/R/F1 use the 300-pair audit. This threshold controls adversarial re-judging of the admitted pairs. The .65 row reuses SF-finalās records. Across the sweep, observed Success varies by .003 on S60 and .006 on SpreadsheetBench. Table 10: Verifier-threshold sweep: audit and verification workload. Counts and percentages are both reported. Bold marks the best P/R/F1 scores and lowest API ratio. Threshold TP FP Triggered Rate Flipped Rate P / R / F1 API 0.50 49 10 232 19.6% 45 3.8% 0.831/0.817/0.824 1.610 0.65 50 9 412 34.8% 84 7.1% 0.847/0.833/0.840 1.820 0.80 49 8 726 61.3% 126 10.6% 0.860/0.817/0.838 2.190 Figure 6: Verifier-threshold sensitivity. Bars and labels show mean Success (%); error bars show Student-t 95% confidence intervals over four HumanEval+ S60 runs and three SpreadsheetBench runs on fixed task sets. A.6 Full Cross-Model Results Figures 7 and 8 report all nine methods across three models, with confidence intervals. Fixed compiled artifacts are transferred unchanged across backbones. Figure 7: SpreadsheetBench cross-model Success. Bars and labels show means (%); error bars show Student-t 95% confidence intervals over three runs per model. Hatched bars denote the retrospective oracle reference. DeepSeek-V3.2 reuses the main results. Figure 8: WebArena cross-model Success. Bars and labels show means (%); error bars show Student-t 95% confidence intervals over three runs per model. Hatched bars denote the retrospective oracle reference. DeepSeek-V3.2 reuses the main results. A.7 Additional Scaling Results Each point uses 164 tasks over 20 runs. Figure 5 reports Success, Figure 9 reports Compliance, and Figure 10 reports the paired SF-finalāRaw Success difference. Gain intervals are Student-t 95% intervals computed from corresponding repeat-block score differences. Figure 9: Compliance under both scaling axes. Shading shows Student-t 95% confidence intervals for mean Compliance across 20 executions of the fixed task set. The four-skill and 80-constraint points share records. Figure 10: SF-final minus Raw Success in percentage points, with paired Student-t 95% confidence intervals from corresponding repeat-block differences on the fixed task set. A.8 RCR Diagnostics and Prior Failure Audit Table 11 reports source coverage using integer constraint counts. Table 12 summarizes a separate, previously annotated set of 30 RCR failures. Table 11: RCR source-constraint preservation. Source and Covered count input constraints and constraints retained or covered in the merged artifact, respectively. Benchmark Source Covered Preservation SpreadsheetBench 160 143 0.894 WebArena 78 71 0.910 SWE-bench 108 100 0.926 Table 12: Previously annotated RCR failures (30 cases), retained as descriptive evidence. Category Count Omitted scope 9 Vague compromise 7 Unresolved priority 5 Deduplication semantic change 4 Global/local confusion 3 Unsupported directive 2 Total 30 Appendix B Pipeline Intermediate Statistics Table 13 describes one fixed SF-final artifact per domain. The parser extracts 160, 78, and 108 constraints. Candidate generation with fallback admits 19.0%, 17.6%, and 7.8% of possible cross-skill pairs. Compatible pairs dominate the candidate set; the remaining pairs are resolved by interaction type. The statistics separate source-constraint accounting, cumulative generation events, and final artifact size. Retained and replaced partition the source constraints. Cumulative generation counts include intermediate outputs and do not measure the active constraint set; final constraints are counted in the completed artifact. Preservation uses retained or subsumed source constraints, while compression uses instruction-body token counts. Table 13: SF-final pipeline statistics. Type counts partition the source constraints; script-derived constraints are a subset. Each column covers one compilation run and its final artifact. Cumulative generation events include intermediate outputs; final constraints count the completed artifact. Candidate fractions use possible cross-skill pairs as the denominator. Statistic SpreadsheetBench WebArena SWE-bench Source 160 78 108 Behavior 134 75 103 Format 17 0 5 Tool 3 1 0 Priority 0 2 0 Style 6 0 0 Script derived 14 13 0 Possible pairs 9,488 2,391 4,604 Candidates 1,800 420 360 Candidate fraction 0.190 0.176 0.078 Hard 3 3 1 Soft 190 37 12 Redundant 10 10 17 Compatible 1,597 370 330 Retained source constraints 78 47 94 Replaced source constraints 82 31 14 Cumulative generation events 110 18 15 Final active constraints 156 52 99 Subsumed source constraints 69 27 9 Preserved source constraints 147 74 103 Preservation 0.919 0.949 0.954 Input tokens 20,000 20,000 20,000 Output tokens 12,800 16,400 17,900 Token retention 0.640 0.820 0.895 Compression 0.360 0.180 0.105 Qualitative scope disambiguation. One spreadsheet skill asks the agent to use openpyxl for formulas and formatting, while another requests standard-library-only workbook auditing. The compiled directive can distinguish workbook editing from structural auditing: use openpyxl for the former and the standard-library OOXML path for the latter. Scope normalization makes this division of responsibilities explicit in the merged instruction. Appendix C Limitations and Future Directions As an early study of reliable instruction-level skill composition, SkillFusion has three limitations that motivate further exploration. First, although offline compilation is amortized across downstream executions, semantic parsing and verification introduce additional LLM calls; cached judgments, batched inference, and incremental recompilation could reduce this cost for evolving skill libraries. Second, although typed scopes and selective fallback improve interaction recovery, the compiler relies on LLM judgments and predominantly pairwise analysis. Missed interactions and preservation errors remain possible, motivating joint reasoning over multiple constraints, stronger program-analysis checks, and independent human validation of synthesized directives. Third, although fixed artifacts transfer across executors, evaluation uses fixed skill pools and focuses on textual instructions and statically inspected scripts. Repeated compilation on broader natural skill pools, task-aware compression, and extensions to visual or state-dependent tool constraints would test the approach under more diverse composition settings. Appendix D Extended Related Work This appendix expands the related work in Section 2 with per-paper discussion of agents, skill acquisition, retrieval, composition, and instruction following. D.1 LLM-Based Agents LLM-based agents extend language models beyond single-turn generation by equipping them with planning, tool use, environmental feedback, and memory mechanisms. Yao et al. (2023) propose ReAct, which interleaves chain-of-thought reasoning traces with grounded actions, enabling the model to plan and revise in a single generation pass. Shinn et al. (2023) extend this to multi-trial settings with Reflexion, in which agents verbally reflect on execution failures and store reflective summaries in episodic memory. On the tool-use front, Schick et al. (2023) show that language models can learn to call external APIs in a self-supervised manner, Qin et al. (2024) scale tool learning to over 16,000 real-world RESTful APIs, and Patil et al. (2024) demonstrate that retriever-aware fine-tuning enables models to adapt to frequently updated API documentation with reduced hallucination. A parallel line of work studies agents in long-horizon, open-ended environments. Wang et al. (2023) introduce Voyager, an embodied lifelong-learning agent in Minecraft that maintains a growing code-based skill library. Shen et al. (2023) propose HuggingGPT, in which an LLM orchestrates heterogeneous expert models via task planning and tool selection across modalities. Yang et al. (2024) design SWE-agent with a custom agentācomputer interface for autonomous software engineering. Comprehensive evaluations such as AgentBench (Liu et al., 2024) and broader surveys (Wang et al., 2024; Tran et al., 2025; Xu & Yan, 2026) identify modular capability extension as a central design challenge, motivating the skill abstraction studied in this paper. D.2 Skill Design, Acquisition, and Refinement Wang et al. (2026) propose SkillX, a multi-level skill design in which strategic plans decompose into functional skills and ultimately into atomic operations, iteratively refined through execution feedback. Wang et al. (2025) introduce SAGE, which performs sequential rollouts so that skills accumulated in early episodes can be reused later. Xia et al. (2026) present SkillRL, which distills agent experience into a hierarchical skillbank and learns an adaptive retrieval policy. Zabounidis et al. (2026) couple an LLM planner with reinforcement learning to iteratively correct skill specifications. Wei et al. (2026) pursue compositional generalization by constructing a hierarchical skill taxonomy and synthesizing instructional data. At the parameter level, Kuroki et al. (2025) frame multi-task skill acquisition as a quality-diversity optimization problem (CycleQD), and Liu et al. (2025) maintain a skill library of plug-and-play LoRA modules composed by merging parameters. D.3 Skill Retrieval and Routing Zheng et al. (2026) formulate skill retrieval as a retrieval-reranking pipeline (SkillRouter), showing that exposing the full skill body yields a 31ā44 p improvement in Hit@1 over metadata-only retrieval on an 80,000-skill benchmark. Li (2026) observes a āphase transitionā in which routing accuracy declines sharply beyond a critical library size, and proposes hierarchical routing structures. Liu et al. (2026) extend the analysis to uncurated libraries of 34,000 skills and find that naive retrieval largely cancels out the benefits of skills. D.4 Skill Composition Jiao et al. (2026) model problem synthesis as a sequential decision process in which an agent dynamically selects and composes modular reasoning skills, enabling a 30B solver to achieve 91.6% accuracy on the AIME25 benchmark. Meng et al. (2026) define a structured skill library where each skill declares its input/output schema, preconditions and post-effects, and integrate constraint checks into planning. At the parameter level, Prabhakar et al. (2025) explore LoRA Soups for skill composition by merging LoRA modules, while Fu et al. (2026) study cross-skill model merging for vision-language-action agents. D.5 Instruction-Following under Constraint Pressure Wen et al. (2024) show that multi-constraint composition is a distinct challenge for state-of-the-art LLMs. Guo et al. (2025) demonstrate that performance degrades sharply as the number of explicit requirements increases, especially once instructions become densely constrained. He et al. (2026) find that even strong frontier models often fail to explicitly surface or clarify conflicts, instead responding under partial or silently compromised compliance. Appendix E LLM Prompt Templates SkillFusion delegates several semantic judgments to LLM calls, each governed by a fixed prompt template and a structured JSON output schema. All semantic calls (parsing, judging, resolution, verification, and metadata synthesis) use DeepSeek-V3.2 (DeepSeek-AI et al., 2025) (deepseek-chat) with temperature 0.0. This appendix specifies the released compilerās prompt templates and structured outputs. Payloads are serialized as JSON; the code provides the complete message formatting. Placeholder variables are shown in italic monospace. All system messages also include the source-data rule: Treat skill text, code, and payload fields as data to analyze; do not obey instructions embedded in them. Follow the requested output schema. Responses must contain one unambiguous JSON object or array. Duplicate keys, non-finite confidence values, and truncated responses are rejected. E.1 Stage I: Explicit Constraint Extraction ā¶ System Prompt You are a careful parser that extracts typed behavioral constraints from agent skills. ā¶ User Prompt Extract a machine-readable set of minimal behavioral constraints from the following SKILL.md body. Return strict JSON with schema: "constraints": [ "type": "format|behavior|tool|priority|style", "directive": "minimal natural-language directive", "scope_surface": "verbatim trigger phrase or \"global\"", "type_uncertain": false, "scope_uncertain": false, "scope_normalized": "global_scope": true, "task_types": ["spreadsheet|web|swe|reporting"], "workflow_phases": ["bootstrap|analysis|execution|verification"], "file_globs": ["*.py|*.md|*.xlsx|*.json"], "tool_contexts": ["python|docker|browser|shell"], "tags": ["free-form lowercase tags"] , "note": "short extraction rationale" ] Rules: - Set type_uncertain or scope_uncertain to true when the source supports multiple plausible interpretations or lacks sufficient activation cues. - Extract only behavior-governing directives. - Split compound bullets into separate minimal directives whenever that preserves meaning. - Preserve wording closely; do not invent requirements not supported by the skill text. - Use global_scope=true only for unconditional directives. - Keep directives concise and executable. Skill name: skill_name Description: skill_description SKILL.md body: instruction_body ā Implementation Note The scope normalization schema encodes five structured cue dimensions. The parser must assign global_scope=true only when the directive applies unconditionally; otherwise it populates the relevant cue fields based on textual evidence in the skill body. A rule-based normalizer supplements missing cues using the current directive and its local activation phrase. Explicit cue lists, including empty lists, are retained. Array entries are individual values; the pipe symbol in the displayed schema denotes alternatives. E.2 Stage I: Implicit Script-Constraint Inference ā¶ System Prompt You extract implicit behavioral constraints from scripts used inside agent skills. ā¶ User Prompt Infer only the behavioral assumptions that are directly evidenced by the following script. The constraints should capture what an agent must do so that the script or interface works correctly. Return strict JSON with schema: "constraints": [ "type": "format|behavior|tool|priority|style", "directive": "behavioral assumption", "scope_surface": "how the script activates this assumption", "type_uncertain": false, "scope_uncertain": false, "scope_normalized": ... , "evidence": "one short phrase pointing to the code evidence" ] Rules: - Set type_uncertain or scope_uncertain to true when type or activation cues are ambiguous or underspecified. - Include only assumptions directly supported by the code or declared interfaces. - Do not restate generic best practices unless the script clearly depends on them. - Keep each directive minimal and externally checkable. Skill: skill_name Script path: path Script: text ā Implementation Note The evidence field links each inferred constraint to a specific code pattern or declared interface. E.3 Stage I: Implicit Constraint Semantic Filter Script-inferred constraints often include environment-specific noise (e.g., āPython 3.11 must be installed,ā āpytest must be availableā) that does not belong in a merged task-solving skill. A rule-based pre-filter removes dependency availability and installation requirements. A second-pass semantic filter retains task-solving constraints, including output schemas and tool contracts when they govern task behavior. Accepted records retain their extracted text, type, and activation scope. ā¶ System Prompt You decide which implicit constraints are truly task-solving behaviors for a merged skill. ā¶ User Prompt Filter the following implicit script-derived constraints down to only task-behavior constraints that should appear in a merged skill. Return strict JSON with schema: "results": [ "id": "constraint id", "keep": true, "rationale": "short explanation" ] Rules: - Keep only directives that directly improve how the agent solves the end task. - Reject dependency availability and installation requirements. Keep output schemas and tool contracts when they govern task behavior. - Return inclusion decisions only; retained directives and scopes are kept verbatim. - Preserve task-relevant requirements for the source domain, including output formats and validation. Skill: skill_name Script path: path Candidates: candidates_json E.4 Stage I: Conflict Classification ā¶ System Prompt You are a precise judge for multi-skill constraint conflicts. ā¶ User Prompt Classify the semantic relationship between the following two constraints from different agent skills. Return strict JSON with schema: "label": "hard|soft|redundant|compatible", "confidence": 0.0, "rationale": "one short paragraph" Definitions: - hard: logically contradictory under overlapping scope. - soft: not strictly contradictory, but ambiguous or competing unless clarified. - redundant: semantically equivalent or one is just a wording variant of the other. - compatible: they can both stand without meaningful conflict. Left constraint: left_constraint_json Right constraint: right_constraint_json ā Implementation Note Each constraint is serialized as a JSON object containing its id, type, directive, scope_surface, scope_normalized, source_kind, source_path, and provenance fields, giving the judge full context. For non-spreadsheet benchmarks, candidate pairs are also classified in batches of up to 16 pairs per call, using a batched variant that returns a results array indexed by pair_index. When the primary verdict has confidence below 0.65, the same pair is re-submitted with an adversarial second pass: ā¶ Adversarial Second-Pass System: You are an adversarial second-pass judge for multi-skill conflicts. Re-evaluate the pair skeptically and only keep the original label if it remains the best fit. User: (Same user prompt as above, with an additional initial_verdict JSON field containing the primary verdict.) ā Implementation Note Adjudication first retains the agreed label and higher confidence. On disagreement, a primary hard-conflict label with confidence ā„0.6ā„ 0.6 is preserved. Otherwise, the second pass overrides only when its confidence exceeds the first by at least 0.15; the primary verdict is retained in the remaining cases. E.5 Stage I: Conflict Resolution E.5.1 Hard-Conflict Resolution ā¶ System Prompt You synthesize safe conditional resolutions for hard conflicts between agent-skill constraints. ā¶ User Prompt Resolve the following hard conflict between two skill constraints. Return strict JSON with schema: "strategy": "conditional_branch|disambiguation", "directive": "merged natural-language directive", "predicate": "short routing condition or empty string", "rationale": "short explanation" Rules: - State source activation conditions explicitly in the resulting directive. - ONLY use conditional_branch when the constraints have genuinely different scopes (e.g., different task types, file types, or workflow phases) that provide natural routing. - Do NOT invent fictional scope distinctions. If both constraints target the same scope (both global, both for Python files, both for the same task type), you MUST use disambiguation. - For disambiguation: write a single coherent directive that makes a principled choice between the two approaches. Establish a clear priority (prefer A, fall back to B when A is impractical). Set predicate to empty string. - Do not drop either behavior, but you may deprioritize one based on what produces more correct results in the target domain. benchmark_context (optional) Left constraint: left_json Right constraint: right_json E.5.2 Soft-Conflict Abstraction ā¶ System Prompt You create precise abstractions that preserve multiple agent-skill constraints. ā¶ User Prompt Generate a single abstraction that subsumes both soft-conflicting constraints without violating either one in its proper scope. Return strict JSON with schema: "directive": "merged abstraction", "rationale": "why the abstraction subsumes both originals" Rules: - Keep the directive as specific as possible and include each source activation condition in its text. - Do not mention parsing, conflicts, or internal pipeline stages. - If you cannot safely abstract, still provide your best candidate; downstream verification will decide whether it is usable. benchmark_context (optional) Left constraint: left_json Right constraint: right_json Each abstraction candidate is validated by a non-violation verifier: ā¶ Verification Prompt System: You are a strict verifier that checks whether synthesized instructions preserve source constraints. User: Check whether the candidate abstraction would violate the original constraint under the original constraintās scope. Use ok=true only if the candidate preserves the original requirement in its scope. Return strict JSON: "ok": true, "rationale": "short explanation" Candidate abstraction: candidate_json Original constraint: original_json ā Implementation Note Each input is checked separately. If either non-violation check fails or lacks an explicit Boolean ok: true, the candidate is passed to the hard-conflict resolver, which selects conditional routing or explicit disambiguation. E.5.3 Redundancy Selection ā¶ System Prompt You choose the more complete formulation when two skill constraints are redundant. ā¶ User Prompt Two constraints are redundant. Choose the more specific or complete formulation to keep. Return strict JSON: "keep": "left|right", "rationale": "short explanation" Left constraint: left_json Right constraint: right_json E.5.4 Cluster Summarization During compression, clusters of three or more related constraints may be summarized: ā¶ System Prompt You summarize semantically related constraints into one concise directive only when that summary still entails the originals. ā¶ User Prompt Summarize the following related directives into one concise directive without losing any actionable requirement. Return strict JSON: "directive": "cluster summary", "rationale": "short explanation" Constraints: cluster_json ā Implementation Note Each cluster summary is validated by an entailment check against every original constraint in the cluster; if any check fails, the cluster is kept uncompressed. E.5.5 Metadata Synthesis ā¶ System Prompt You synthesize discovery metadata for merged agent skills. ā¶ User Prompt Synthesize discovery metadata for the merged skill. Return JSON with name, description, display_name. Use a lowercase-hyphen name and preserve discovery coverage of every source. Do not describe internal compilation stages. Source skills: source_skills_json Directives: merged_directives_json ā Implementation Note The synthesized metadata is validated by a coverage check that verifies, for each source skill, whether the merged description would still fire on tasks that originally activated that source skill. Appendix F Pipeline Implementation Details This appendix details scope normalization, script inspection, adjudication, and compression for the pipeline in Section 3. F.1 Scope Normalization Each constraintās scope has both a surface form (the verbatim phrase from the source skill, e.g., āfor spreadsheet tasksā or āwhen editing Python filesā) and a normalized representation used for downstream interaction analysis. The normalized form is a structured record containing five cue dimensions: task types (e.g., spreadsheet, web, SWE), workflow phases (e.g., bootstrap, analysis, execution, verification), file globs (e.g., *.py, *.xlsx), tool contexts (e.g., python, docker, browser, shell), and free-form tags. A directive is marked as global_scope=true only when it applies unconditionally; otherwise the parser populates the relevant cue fields based on textual evidence in the skill body. A rule-based post-processor supplements missing cue fields from the current directive and its local activation phrase. Explicit lists are retained, with duplicate values removed; file-pattern case is preserved. The original surface wording is always retained for faithful reconstruction during the merge output stage. Cue dimensions are conjunctive, while values within a dimension are alternatives. An empty dimension is unconstrained, so constraints on different dimensions can still overlap. Global scopes overlap all scopes. Literal file patterns use direct matching; two wildcard patterns are pruned only when their mandatory literal prefixes establish disjointness. Ambiguous intersections remain candidates for semantic judgment. Selective fallback. The extraction schema includes Boolean uncertainty flags for type and scope. Missing flags, unsupported types, missing scope globalness, and non-global scopes without usable cues also mark a record uncertain. SF-final adds excluded pairs with either uncertainty flag, global scope, or sufficiently high embedding cosine similarity. SF-strict disables this additional admission step. Released configuration. The compiler defaults to all-MiniLM-L6-v2 sentence embeddings, a fallback cosine threshold of 0.80, and a clustering threshold of 0.75. Normalized vectors define cosine similarity. The embedding model and revision, thresholds, candidate mode, and ablation flags are configurable and recorded in the run manifest. A fixed cl100k_base tokenizer measures input and output instruction bodies, excluding YAML metadata and asset file contents. The manifest records the model settings and endpoint selected at compilation time. F.2 Script Constraint Extraction For each executable script pāPpā P, we perform static inspection and prompt the parser to enumerate behavioral assumptions directly evidenced by the code or declared interfaces (see Appendix E.2 for the prompt template). A second-pass semantic filter then removes environment-specific noise (dependency checks, shell assumptions, test harness conventions) and retains only directives that directly govern task-solving behavior (Appendix E.3). The resulting constraints are added to ā”(s)C(s) with provenance metadata indicating their script origin. The resulting records connect task-relevant behavioral commitments to their script evidence. F.3 Adversarial Re-Judging Protocol The adversarial second pass is triggered whenever the primary judgeās confidence falls below 0.65. The same constraint pair is re-submitted with a system instruction that requires the judge to āre-evaluate the pair skeptically and only keep the original label if it remains the best fitā (full prompt in Appendix E.4). Adjudication retains the agreed label and higher confidence. On disagreement, a primary hard-conflict label with confidence ā„0.6ā„ 0.6 is preserved. Otherwise, the secondary label overrides at a confidence advantage of at least 0.15, with the primary retained in the remaining cases. Appendix B reports the final adjudicated conflict landscape after this two-pass procedure. Resolution bookkeeping. When a source constraint participates in several candidate edges, later edges use its current replacement. Changed representatives are reclassified before resolution. The merge record retains intermediate inputs, outputs, and verdicts, and checks that every source identifier maps to exactly one final directive. Redundancy selection is accepted only after coverage checks against both inputs. Pre- and post-normalization counts are recorded separately. F.4 Compression Operators After all flagged interactions have been resolved, three compression operators are applied sequentially. Shared-directive factoring. Exact directives with identical type and scope are factored into a shared preamble. Semantic redundancy is handled by the verified redundancy-selection step, avoiding deletion based on wording similarity alone. Thematic clustering. Within each type and exact scope, remaining directives are grouped by complete-link embedding similarity. Clusters of size at least three may be summarized into a single directive if the summary passes an entailment-style verification against every original directive in the cluster (see Appendix E.5 for the cluster summarization prompt). If any entailment check fails, the cluster is kept uncompressed. Structural normalization. The merged SKILL.md is organized into a canonical layout: metadata, shared directives, conditional or domain-specific directives, and scripts/resources. Rendering serializes each final directive once without further semantic rewriting. Explicit routing and priority blocks bypass compression. Scripts and resources retain their source-directory structure in separate bundles, with file hashes checked when the artifact is written. Net token retention ratios for each benchmark are reported in Table 13. Appendix G Language Models and Compute Compiler and executors. DeepSeek-V3.2 (DeepSeek-AI et al., 2025) (deepseek-chat) implements parsing, classification, resolution, verification, and metadata synthesis through structured prompts (Appendix E). It also serves as the primary task executor. GLM-4.7 (Zeng et al., 2025) and MiniMax-M2.5 (MiniMax, 2026) provide transfer evaluation using the same compiled artifacts. All models are used through commercial APIs without fine-tuning. Evaluation and preparation. DeepSeek-V3.2 judges instruction Compliance from agent outputs. Synthetic skills use the skill-creator workflow in Appendix H.1. Manuscript editing and figure presentation used an AI writing assistant, as disclosed in the AI Use Statement. Compilation cost. Table 6 reports offline compilation costs normalized to SF-strict separately within each domain. Table 2 reports candidate workload and API ratios on the 5,216-pair calibration pool. Each compiled artifact is reused across downstream tasks. Appendix H Skill Pool Details Each real-world benchmark uses a pool of five publicly available skills sourced from the open skill ecosystem. All skills were retrieved via the skills add registry tool and retain their upstream licenses. Table 14 summarizes the 15 skills grouped by benchmark domain. Table 14: Skill pools used in the three real-world benchmarks. Each skill is a third-party community contribution retrieved from the public skill registry. Skill Source Description SpreadsheetBench Verified: spreadsheet and data workflows xlsx fcakyon/claude-codex-settings Read, edit, create, and convert spreadsheet files (.xlsx, .xlsm, .csv, .tsv) with formula-aware workflows. spreadsheet fcakyon/claude-codex-settings Spreadsheet creation, editing, analysis, and formatting with cached recalculation and visual review. xlsx-toolkit borghei/claude-skills Audit Excel workbooks for sheet count, formula density, external references, named ranges, and data validation. data-analysis claude-office-skills/skills Analyze spreadsheet data, generate insights, create visualizations, and build reports from Excel/CSV data. chart-designer claude-office-skills/skills Design data visualizations and chart configurations for ECharts, Chart.js, and other charting libraries. WebArena Verified: browser automation and web interaction browser-automation web-infra-dev/midscene-skills Vision-driven browser automation using Midscene; operates from screenshots without DOM access. vitest-midscene-e2e web-infra-dev/midscene-skills AI-powered E2E testing across web, Android, and iOS using natural-language UI interactions. browsing-with-playwright mjunaidca/mjs-agent-skills Browser automation via Playwright MCP for navigation, form filling, screenshots, and data extraction. agent-browser fcakyon/claude-codex-settings Snapshot-and-ref browser workflow covering navigation, element interaction, tab management, and auth. webapp-testing ComposioHQ/awesome-claude-skills Toolkit for testing local web applications using Playwright with screenshot capture and log viewing. SWE-bench Verified: software engineering practices test-driven-development obra/superpowers Write failing tests before implementation; redāgreenārefactor cycle for features and bugfixes. python-testing-patterns wshobson/agents Comprehensive pytest strategies with fixtures, mocking, parameterization, and test-driven development. refactor github/awesome-copilot Surgical code refactoring: extract functions, rename variables, break down god functions, improve type safety. security-review affaan-m/everything-claude-code Security checklist for authentication, user input handling, secrets, API endpoints, and payment features. clean-code sickn33/antigravity-awesome-skills Principles from āClean Codeā by Robert C. Martin; transform working code into clean, maintainable code. All skills are available at https://skills.sh/source where source is the repository path listed in the Source column above. H.1 HumanEval+ Synthetic Skill Construction For the controlled experiments on HumanEval+, we construct synthetic skills using a fixed seed pool of 12 coding-practice directives. Each directive is fed as a creation prompt to the official skill-creator tool, which generates a complete SKILL.md file containing typed behavioral constraints, scope annotations, and metadata. By sampling subsets of 1ā6 seeds per configuration, we control the number of skills and the total constraint count while preserving the naturalness of machine-generated skill text. The 12 seed directives are listed in Table 15. They encode contrasting programming preferences: Functional Purity emphasizes pure functions and immutable data, while OOP Encapsulation favors class-based organization; Maximal Conciseness favors compact expressions, while Defensive Validation emphasizes explicit checks; and Performance First and Algorithmic Elegance favor iterative and recursive formulations, respectively. Whether a pair forms a hard conflict, a soft conflict, or remains compatible depends on the generated directives and their activation scopes. The synthetic audit evaluates 60 labeled incompatible pairs separately from Preservation over 60 source constraints. Table 15: Seed pool for HumanEval+ synthetic skill construction. Each seed is a creation prompt fed to skill-creator. Intended contrasting seed pairs are indicated in parentheses. # Seed Name Creation Prompt (abbreviated) 1 Type Safety Enforce comprehensive type annotations on all parameters and returns; enable strict mypy-level checking; add runtime type guards for public APIs. 2 Functional Purity Write pure functions with no side effects; prefer immutable data structures; use function composition over imperative control flow. (contrast: #10) 3 Defensive Validation Validate all inputs at function boundaries; check boundary conditions explicitly; raise informative errors for degenerate cases. (contrast: #6, #11) 4 Performance First Prefer iterative over recursive solutions; use generators for memory efficiency; avoid unnecessary object allocations. (contrast: #12) 5 Documentation & Readability Require NumPy-style docstrings; use descriptive variable names (ā„ 3 chars); add inline comments for non-obvious logic. (contrast: #6) 6 Maximal Conciseness Favor single-expression solutions; use list comprehensions and ternary operators; minimize line count while preserving correctness. (contrast: #3, #5) 7 Robust Error Handling Use custom exception classes; never use bare except; ensure resource cleanup with context managers; provide traceable error messages. 8 Security Awareness Sanitize all string inputs; avoid eval/exec; use safe formatting; guard against injection patterns in string-processing tasks. 9 Test-First Write assertion-based test cases before implementation; cover edge cases; validate output types and boundary values. 10 OOP Encapsulation Use classes with private attributes; follow single-responsibility principle; prefer composition over inheritance; implement __repr__ and __eq__. (contrast: #2) 11 Pythonic Idioms Leverage built-in functions (zip, enumerate, any/all); use unpacking and walrus operator; avoid C-style index loops. (contrast: #3) 12 Algorithmic Elegance Prefer recursive divide-and-conquer formulations; document time/space complexity; implement solutions at optimal asymptotic bounds. (contrast: #4) For the scaling analysis (Section 4.6), the constraint-count axis fixes a random 4-seed subset and varies the total constraints by controlling the skill-creatorās output granularity parameter (20ā140 constraints total). The skill-count axis fixes 20 constraints per skill and samples 1ā6 seeds without replacement. Each configuration is evaluated over all 164 HumanEval+ tasks with 20 runs; the reported intervals and record-sharing protocol appear in Appendix A.