Manuscript Offprint
arXiv:2610.23186Code Skill Server: A Large-Scale Search Engine for Code Generation Skills
ABSTRACT
Agent skills have proven to be an effective technique for improving agent ability on specific tasks, including software engineering, natural science, and mathematics. During such a process, using agent skills often involves manually discovering and organizing skills from heterogeneous sources, while existing skill retrieval methods mainly focus on selecting relevant skills from established skill libraries. However, with the rapidly increasing number and variety of reusable agent skills, manually searching for relevant skills across heterogeneous sources is becoming impractical at scale. In this paper, we introduce the Code Skill Server (CSS), a large-scale search engine for finding the most useful code generation skills for a target task. CSS consists of a skill server that incrementally collects and indexes publicly available code generation skills from multiple sources, with 993 skills included in the corpus used in this work. Extensive experiments across different retrieval methods and code generation benchmarks show that the best CSS configuration improves Pass@1 by up to 13.91% and consistently improves all evaluated models by at least 4.21% in the cross-model evaluation. These results demonstrate that CSS can effectively search for and serve relevant skills, improving code generation quality and enhancing models' code generation capabilities. Code and the CSS-993 corpus are available at https://github.com/haoyuli-sdu/CodeSkillServer.
1 INTRODUCTION
Large language models have advanced code generation by translating natural language specifications into programs, while code generation agents have further extended its application to tasks within existing software projects (Liang et al., 2025; Jimenez et al., 2024). Despite these advances, code generation for practical applications remains challenging: models need to understand complex task requirements, use external libraries appropriately, and account for dependencies in the surrounding project (Zhuo et al., 2025; Du et al., 2024). These challenges have motivated researchers to explore methods that provide code generation agents with additional domain knowledge and procedural guidance to complement the knowledge already encoded in the models.
Agent skills provide a reusable form of task guidance. Voyager demonstrates how an agent can accumulate and retrieve executable skills, while SkillsBench studies structured skill packages consisting of instructions and supporting resources and evaluates their effects on task performance (Wang et al., 2024; Li et al., 2026; Pan et al., 2026). For code generation, skills can describe recurring implementation procedures, testing patterns, and architectural conventions (Tan et al., 2026). However, having a collection of skills does not determine which skills are appropriate for a particular task. Manual selection requires users to search candidate skills across multiple skill sources, inspect their instructions, and assess their applicability. Differences in terminology, scope, and prerequisites across skills make this process more complex than matching a task to a broad capability label. Recent retrieval methods have focused on important parts of this process, such as selecting relevant skills from a skill library and organizing them into usable contexts (Zheng et al., 2026; Liu et al., 2026; Liao et al., 2026). However, these methods mainly focus on retrieval and contextualization within a skill library; a complete workflow also needs to connect the collection and organization of skills.
from external sources with skill retrieval and subsequent use by code generation agents. Therefore, a framework is still needed to integrate these stages into a unified service.

Figure 1: Code Skill Server: A large-scale search engine for identifying and combining relevant code generation skills. The server indexes skills from diverse sources, retrieves relevant skills according to the user query, and provides the selected skills to guide code generation.
To address this issue, we propose Code Skill Server (CSS), a large-scale search engine for code generation skills that connects skill search, organization, retrieval, and client use into a unified framework, as shown in Fig. 1. CSS consists of a SkillServer and clients: the SkillServer prepares and organizes code generation skills and retrieves relevant skills for target tasks, while clients are equipped with code generation agents that use the retrieved skills. CSS prepares publicly available skills as a shared resource, represents them in a consistent format, organizes them by capability, and builds indexes for retrieval. Using this workflow, we have collected and organized an initial set of 993 code generation skills. When a client receives a code generation task, FASTADAPT uses the client model to construct a structured skill retrieval request, and the server applies the configured retrieval method to return relevant skills to the client. The retrieved skills are provided to the client's code generation agent, which determines how to use them. The server determines which skills are served, while the agent determines which of the served skills to use. This separation enables different retrieval methods and client models to use the same prepared skill collection through a unified request and response interface, without requiring skills to be repeatedly collected and organized for individual tasks.
We evaluate CSS on two well-established code generation benchmarks, BigCodeBench (Zhuo et al., 2025) and CoderEval (Yu et al., 2024), covering function generation using external libraries and code generation within existing project contexts. We compare three retrieval configurations over a shared corpus of 993 skills. The best-performing CSS configurations improve task pass rates from 53.42% to 60.88% on BigCodeBench and from 33.04% to 46.96% on CoderEval. We further evaluate CSS across five models, and separately examine the effects of skill collection size and curated versus raw skill collections on task performance. Taken together, the evaluation demonstrates the practical utility of CSS for serving code generation skills to code generation agents across different retrieval methods and client models.
Overall, our contributions are threefold: (1) We introduce CSS, a large-scale search engine that connects code generation skill search, organization, retrieval, and agent use. (2) We construct a curated collection of 993 code generation skills with standardized records and capability labels. (3) We evaluate CSS on two code generation benchmarks and five models, comparing three retrieval methods and analyzing task-level outcomes and the effects of collection size and composition.
Code Generation. Code generation is an important application of large language models, motivating benchmarks that evaluate functional correctness from natural-language specifications. HumanEval evaluates function-level code generation through executable unit tests (Chen et al., 2021). DS-1000 focuses on realistic data science tasks involving external libraries, whereas EvalPlus strengthens functional correctness evaluation through expanded test suites (Lai et al., 2023; Liu et al., 2023). Subsequent benchmarks have moved toward more realistic programming settings. CoderEval evaluates functions and methods from real-world open-source projects while considering surrounding project dependencies (Yu et al., 2024). BigCodeBench extends function-level evaluation to complex tasks involving real-world libraries and tests whether models can compose multiple function calls to solve practical programming problems (Zhuo et al., 2025). These benchmarks primarily assess model capabilities rather than the effects of externally sourced reusable skills (Yu et al., 2024; Zhuo et al., 2025). We use CoderEval and BigCodeBench to evaluate whether retrieving such skills improves the functional correctness of generated code.
3 CODE SKILL SERVER
Code Skill Server (CSS) is a search engine for retrieving relevant skills for code generation tasks. As shown in Fig. 2, CSS consists of a SkillServer that maintains an indexed collection of skills and a client equipped with a code generation agent. Given a target coding task, the client submits a skill search request, the server retrieves relevant skills using the configured retrieval method, and the client agent decides how to use them during code generation.
Skills collected from diverse code repositories and skill registries differ in document structure, metadata, and the capabilities they describe. Names alone are insufficient to identify them: different skills may share a name, while identical skill documents may appear at multiple source locations. CSS acquires and filters the skills, normalizes them into structured records, and organizes them into capability pools. Searchable indexes enable efficient retrieval from the prepared collection. Given a coding task, the client constructs a query with retrieval constraints, the server selects and returns ordered skills, and the agent decides which of the served skills to use during code generation.
3.1 PROBLEM DEFINITION
Let denote the collection of code generation skills indexed by the SkillServer, and let denote a target coding task from a client. A task consists of a natural language specification together with its available coding context, such as the programming language, function signature, library dependencies, and input and output requirements. Each skill provides reusable implementation guidance for a class of coding tasks rather than a reference solution for a specific task instance.
Our goal is to select a subset of skills that is relevant to the target task . Let denote a candidate skill subset. The ideal selection is formulated as
where measures the relevance of the candidate skill subset to the target task .
Intuitively, given a target coding task, we aim to find the skills that are most relevant to the requirements of the task. The selected skills are then provided to the client coding agent, which determines how to incorporate them into the code generation process.
The problem becomes challenging when the skill collection is large and heterogeneous. Skills collected from different repositories and registries may have different document structures, metadata, naming conventions, and capability descriptions. Moreover, a client should not need to manually inspect the entire collection for every coding task. CSS addresses this problem by searching for and organizing skills on the SkillServer, then retrieving relevant skills based on each client task.

Figure 2: Overview of Code Skill Server (CSS). CSS consists of a SkillServer that maintains an indexed collection of code generation skills from diverse sources and clients equipped with code generation agents. Given a coding task, FASTADAPT constructs a structured skill search request specifying the task query and retrieval constraints. The SkillServer retrieves relevant skills from its indexed collection and serves them to the client, where the code generation agent determines how to use the retrieved skills to complete the task.
3.2 SERVER DESIGN
The SkillServer prepares the collection independently of client requests. This stage turns heterogeneous external skills into identifiable, searchable resources. We first describe discovery, acquisition, filtering, and normalization, then define the capability pools used to organize the resulting collection.
3.2.1 SKILL SEARCH AND ORGANIZATION
Discover skills. CSS searches public code repositories and skill registries, including GitHub, SkillsMP, and Skills.sh, for potential code generation skills. Discovery uses queries that describe specific coding tasks and the code they are intended to produce, such as function implementations and application scaffolds. These queries target code-producing capabilities rather than relying only on broad terms such as a programming-language name. Each discovered occurrence retains its available title, description, source location, and query provenance.
Acquire and filter. For each candidate, CSS locates and reads the corresponding SKILL.md to obtain the actual skill instructions. Repository and path information are used to identify the intended document and distinguish it from other skills in the same repository. Candidates that cannot be resolved unambiguously are retained for further inspection rather than being discarded. CSS then filters the acquired skills based on whether they provide instructions for producing or transforming code. The decision considers evidence from the skill name, description, metadata, and instruction body, while excluding skills focused only on explanation, planning, review, or other non-code outputs. For each candidate, CSS records the supporting evidence and filtering decision, enabling manual inspection of ambiguous cases.
Normalize skills. CSS converts the retained documents into a common record structure containing metadata, instructions, and provenance. Names and descriptions are extracted from the available document fields, while the original instructions and source information are preserved. CSS removes exact duplicates using SHA-256 hashes of the acquired Markdown content, storing identical content as a single record while retaining different source locations as separate provenance records. Documents with the same name but different contents remain distinct.
Build skill indexes. The normalized records provide the input for skill retrieval. CSS supports two types of retrievers over the prepared skill collection: content-based retrievers use textual fields for task and skill matching, while relation-based retrievers additionally use an index of skill relations. Both types operate on the same skill records. CSS provides a common interface for different retrieval methods, and the prepared indexes are reused across requests rather than rebuilt for each request.
3.2.2 SKILL CAPABILITY POOLS
CSS represents each skill as
where is its name, its description, its instruction text, its primary capability category, and its provenance records containing its source occurrences.
Each skill is assigned one primary capability category . We denote the set of seven capability categories by , which organizes the collection according to the main code artifact or development activity described by a skill. General & Functional Code covers general implementations and function-level code. Tools, SDKs & Generators covers utilities, software development kits, and code generators. Data & Infrastructure covers data processing code, database operations, and executable infrastructure configuration. Testing covers test code generation. Application Components covers components within applications. Web & API covers web functionality and API development. Code Migration covers transformations of existing code across interfaces, frameworks, or languages.
For , its pool is
These pools are logical views of the shared collection, not separately duplicated skill stores. A task may require several capabilities and can therefore search the union of multiple pools. This organization permits the server to restrict matching to a relevant candidate space while retaining access to complementary capabilities.
3.3 SKILLSERVER-CLIENT TRANSACTIONS
The interaction consists of three steps: FASTADAPT constructs the task request and its retrieval constraints; the SkillServer selects admissible skills; and the client receives the returned skills and decides which ones to use for code generation.
3.3.1 FASTADAPT
FASTADAPT is a task adaptation component of CSS that uses the client model to construct a structured skill search request. Given a target coding task q, FASTADAPT extracts the task information and task-specific retrieval constraints required for skill search. Specifically, it produces a task query containing the task description and available coding context, identifies the required capability categories C, and determines the maximum number K of returned skills, the token budget B for the served skill context, and the relevance threshold .
We denote the FASTADAPT operation using client model M by . The search request z is
where M denotes the client model, and r denotes the retrieval method, which is not extracted from the target task and can be configured by the user to choose among different retrieval methods.
For a task involving multiple activities, C may contain multiple capability categories, while allows retrieval from the entire skill collection. If no capability categories are specified, CSS searches the full collection and if count, token, or relevance constraints are unspecified, CSS imposes no additional limits on the retriever's results.
3.3.2 SKILL SELECTION
The server receives z and constructs the candidate collection
Because C can contain multiple capability categories, can combine skills from several capability pools. The server then applies the configured retrieval method r to match the normalized query against the prepared skill collection.
CSS treats retrieval as a pluggable method interface. Different retrieval methods can use different matching, scoring, or relation-traversal mechanisms, but they all operate on the same prepared collection and return the most relevant skills through the same serving interface. For a request, the returned skills are given by
where is the common CSS retrieval interface, is the normalized query, is the candidate skill collection, and denotes the retrieval constraints.
The server returns the selected skills in descending relevance order under the configured retrieval method. If fewer candidates satisfy the configured conditions, CSS may return fewer than K skills.
3.3.3 CLIENT WITH SKILLS
After receiving , the client combines the original task and coding context with the served skill instructions. Let denote its original coding prompt and denote the serialized skill instructions according to the order determined by the retrieval results. The augmented context is
where Compose combines the original task prompt with the returned skill instructions, and y is the program generated by the client model M.
The client agent decides which served skills to use, whether individually, in combination, or not at all. CSS determines which resources are made available, while the client determines how they are used during code generation. This separation allows the same prepared collection and serving interface to support different coding agents, with the benefit of served skills evaluated by the correctness of the resulting program.
4 EXPERIMENTS
We evaluate Code Skill Server (CSS) along four dimensions: its effectiveness across code generation Settings, its impact on individual tasks, its generalization across models, and the effect of the skill corpus on serving performance.
4.1 EXPERIMENTAL SETUP
Benchmarks. We evaluate on BigCodeBench (Zhuo et al., 2025) and CoderEval-Python (Yu et al., 2024). The main BigCodeBench comparison uses the same tasks across all methods. We group these tasks into seven domains according to their primary dependencies: Computation, General, Visualization, System, Time, Network, and Cryptography. CoderEval-Python contains 230 code generation tasks drawn from real software projects. We group them by contextual dependency level into L1–L2, L3–L4, and L5–L6. Together, the benchmarks cover function-level generation and generation within an existing project context.
Skill corpus. CSS collects candidate skills from public sources, including GitHub, Skills.sh, and SkillsMP. It parses and normalizes their contents, removes duplicates, and filters for code generation capabilities. The retained skills are organized into three high-level domains and seven fine-grained capability categories. For evaluation, we freeze a snapshot of 993 skills so that all retrieval methods use the same candidate corpus; this snapshot size is not an upper bound on the corpus CSS can maintain. Figure 3 shows its category distribution and mean instruction length.
Comparison settings. We compare No-Skill, BM25 (Robertson & Zaragoza, 2009), Graph-of-Skills (GoS) (Liu et al., 2026), and SkillTrace (Yao et al., 2026). No-Skill provides no external skill to the coding agent, while the other settings retrieve relevant skills from the same CSS corpus and provide them through a common serving format. This setup ensures that all skill-augmented methods operate over the same underlying skill corpus and serving interface.

(a) High-level skill domain distribution
(b) Fine-grained skill category distribution
(c) Mean skill instruction length by category
Figure 3: Distribution and textual characteristics of the 993-skill evaluation snapshot. (a) Distribution across three high-level domains. (b) Number and proportion of skills in seven fine-grained categories. (c) Mean skill instruction length by category, measured in tokens per SKILL.md file.
Table 1: Main results on BigCodeBench and CoderEval-Python. All values are Pass@1 (%). Best results are shown in bold.
| Method | BigCodeBench | CoderEval-Python | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Net. | Crypto. | Comp. | Gen. | Visual. | System | Time | Overall | L1-L2 | L3-L4 | L5-L6 | Overall | |
| No-Skill | 40.91 | 55.10 | 55.80 | 62.22 | 51.36 | 48.48 | 49.12 | 53.42 | 47.62 | 21.05 | 32.97 | 33.04 |
| BM25 | 51.52 | 69.39 | 57.14 | 62.96 | 56.36 | 61.21 | 54.39 | 58.33 | 50.79 | 35.53 | 26.37 | 36.09 |
| GoS | 59.09 | 59.18 | 60.71 | 68.15 | 56.36 | 54.55 | 54.39 | 59.39 | 63.49 | 43.42 | 38.46 | 46.96 |
| SkillTrace | 62.12 | 65.31 | 61.16 | 68.89 | 57.27 | 58.18 | 56.14 | 60.88 | 50.79 | 38.16 | 35.16 | 40.43 |
Models and evaluation. The main experiments use GPT-5.6 (OpenAI, 2026) as the primary model. For cross-model evaluation, we additionally use GLM-5.3-Flash (Z.AI, 2026), DeepSeek-V4-Flash (DeepSeek-AI, 2026), MiniMax-M2.7 (MiniMax, 2026), and Qwen3-Coder-480B (Qwen Team, 2025), with SkillTrace fixed as the skill-augmented setting. Following BigCodeBench (Zhuo et al., 2025), we report Pass@1 as the primary evaluation metric. For each task, a single final solution is generated and counted as correct only if it passes all benchmark tests. All methods are evaluated on the same task inputs and with the same evaluation procedure. Reference solutions, hidden tests, and test outcomes are excluded from the retrieval query and the agent's input.
4.2 EFFECTIVENESS ACROSS CODE GENERATION SETTINGS
CSS-served skills consistently improve code generation performance across both benchmarks. On BigCodeBench, all three skill-augmented settings outperform the No-Skill baseline in overall Pass@1, with the best result increasing from 53.42% to 60.88%. On CoderEval-Python, the best skill-augmented setting improves the overall pass rate from 33.04% to 46.96%. These results show that providing task-relevant skills can substantially improve the functional correctness of generated code across both standalone function generation and project-context code generation. The overall results are reported in Table 1.
The benefit of skills is also observed across different task categories rather than being concentrated in a small subset of tasks. On BigCodeBench, SkillTrace improves over No-Skill in all seven domains, including Computation, General, Visualization, System, Time, Network, and Cryptography. The largest improvement occurs in Network, where Pass@1 increases from 40.91% to 62.12%, corresponding to a gain of 21.21%. Improvements are also observed in domains such as Computation and Time, indicating that retrieved skills can provide useful implementation guidance across diverse programming requirements. The domain-level results are shown in Table 1.
CoderEval-Python further evaluates whether skills remain useful when code must be generated within an existing project context. Skill-augmented settings improve the overall pass rate over No-Skill, and the strongest result reaches 46.96%, compared with 33.04% without skills. Improvements are observed across the different contextual-dependency levels, suggesting that external skills can remain useful even when successful generation depends on information beyond the target function itself. Table 1 reports the detailed results by contextual-dependency level.
The magnitude of the improvement varies across retrieval configurations and task settings, indicating that the usefulness of skills also depends on whether appropriate skills are successfully retrieved.

(a) Outcome transitions across task categories

(b) Code generation with and without task-specific skills
Figure 4: Impact of retrieved skills. (a) Outcome transitions across task categories. (b) Code generation with and without task-specific skills.
Nevertheless, the consistent improvements over No-Skill across both benchmarks provide evidence that task-relevant skills can serve as effective external guidance for code generation.
4.3 TASK-LEVEL IMPACT ANALYSIS
Aggregate gains arise from substantially more failed tasks becoming successful than successful tasks becoming unsuccessful. We pair No-Skill and SkillTrace outcomes on the same BigCodeBench tasks and distinguish four cases: both pass, pass-to-fail, fail-to-pass, and both fail.
With skills, 112 previously failed tasks become successful, while 27 previously successful tasks fail, yielding a net increase of 85 successful tasks. SkillTrace recovers 21.1% of the tasks that fail without skills; conversely, 4.4% of the tasks that originally pass regress. Thus, the overall improvement does not imply that every task benefits. Figure 4 (a) breaks down these paired outcomes by domain.
The transitions vary across domains. In Network, 14 tasks change from failure to success without an observed reverse transition. In Computation, 36 tasks improve while 12 regress. Skill augmentation is therefore task-dependent: providing additional skills does not guarantee a positive change on every task.
Figure 4 (b) illustrates a concrete change in the generated implementation. The task requires a standardized numeric array to be returned as Base64-encoded ASCII text. Without a skill, the generated code encodes the array's raw bytes, which do not represent the required textual form. With the relevant skill, the code first applies np.array2string to obtain a textual representation, encodes that text as ASCII bytes, and then applies Base64 encoding. The case shows how a skill can supply a specific procedure that changes the final implementation.
4.4 CROSS-MODEL GENERALIZATION
Skill serving produces positive overall gains for all five evaluated models. To test whether the main result depends on GPT-5.6, we compare each model's No-Skill result with its result under SkillTrace. Every model improves, with gains ranging from 4.21 to 7.46 percentage points, as shown in Fig. 5.

Figure 5: Pass@1 comparison between the No-Skill and With-Skill settings across five language models.
The magnitude of the gain is not a monotonic function of the No-Skill pass rate. GLM-5.3-Flash has the highest No-Skill result among the evaluated models but the smallest gain, whereas GPT-5.6 and DeepSeek-V4-Flash each gain more than seven percentage points.
We further report category-wise Pass@1 under SkillTrace in Table 2 to examine how the five models perform across different Big-CodeBench domains. The models
Table 2: Cross-model performance comparison on BigCodeBench. We report the Pass@1 (%) of SkillTrace using five models across seven task domains and overall.
| Model | Comp. | General | Visual. | System | Time | Network | Crypto. | Overall |
|---|---|---|---|---|---|---|---|---|
| GPT-5.6 | 61.16 | 68.89 | 57.27 | 58.18 | 56.14 | 62.12 | 65.31 | 60.88 |
| GLM-5.3-Flash | 58.04 | 68.15 | 56.82 | 57.58 | 45.61 | 59.09 | 67.35 | 58.77 |
| DeepSeek-V4-Flash | 54.24 | 67.41 | 53.64 | 60.00 | 50.88 | 59.09 | 63.27 | 57.02 |
| MiniMax-M2.7 | 53.79 | 63.70 | 54.09 | 56.36 | 52.63 | 59.09 | 61.22 | 55.96 |
| Qwen3-Coder-480B | 53.57 | 62.22 | 55.91 | 51.52 | 47.37 | 59.09 | 67.35 | 55.35 |
exhibit noticeably different performance profiles across categories. General and Cryptography are among the stronger domains for most models, whereas Time remains relatively challenging for several models.
4.5 ANALYSIS OF THE CSS SKILL CORPUS
The preceding experiments establish that skill serving improves code generation across benchmarks and models. We next study how the properties of the skill corpus maintained by CSS affect downstream performance, focusing on corpus scale and corpus construction.
Impact of corpus size. To isolate the effect of corpus scale while controlling evaluation cost, we use a fixed subset of 210 BigCodeBench tasks, with 30 tasks sampled from each of the seven dependency-based domains. All settings share the same task set, model, and BM25 retriever. Starting from the full 993-skill corpus, we construct nested 20%, 40%, and 60% subsets by stratified sampling over the seven capability categories. As shown in Table 3, Pass@1 increases from 48.10% without skills to 51.90%, 56.67%, 57.14%, and 58.10% as the available corpus grows from 20% to 100%. These results indicate that broader corpus coverage increases the opportunity to retrieve task-relevant guidance.
Table 3: Effect of skill corpus size on BigCodeBench. All settings use the same 210 tasks and BM25.
| Setting | # Skills | Pass@1 | Δ |
|---|---|---|---|
| No-Skill | 0 | 48.10 | - |
| CSS-20% | 199 | 51.90 | +3.81 |
| CSS-40% | 397 | 56.67 | +8.57 |
| CSS-60% | 596 | 57.14 | +9.05 |
| CSS-100% | 993 | 58.10 | +10.00 |
Effect of corpus construction. We further compare two equal-sized corpora to examine whether the way the skill corpus is constructed affects downstream performance. Raw-993 is formed by randomly sampling 993 skills from the publicly collected candidate pool, whereas CSS-993 consists of 993 skills collected and organized through the CSS pipeline. Both settings use the same task set, model, BM25 retriever, and agent prompt structure. As reported in Table 4, CSS-993 achieves Pass@1, compared with for Raw-993. The result shows that the corpus constructed by CSS provides more effective support for downstream code generation than an equally sized randomly sampled corpus.
Table 4: Comparison of equal-sized skill corpora on BigCodeBench.
| Setting | # Skills | Pass@1 | Δ |
|---|---|---|---|
| No-Skill | 0 | 48.10 | - |
| Raw-993 | 993 | 50.95 | +2.86 |
| CSS-993 | 993 | 58.10 | +10.00 |
5 CONCLUSION
In this work, we introduce Code Skill Server (CSS), a unified framework that aims to retrieve useful reusable skills for a target code generation task from a large skill corpus. In particular, CSS collects skills from public sources, converts them into a consistent representation, organizes them by capability, and exposes them through a common retrieval and serving interface. The retrieved skills are then provided to the client agent as task-specific guidance for code generation. We experimentally show that CSS is effective across different code generation settings and models, and further find that both corpus scale and corpus construction influence downstream performance. We hope that this work provides a useful foundation for scalable skill sharing and retrieval as reusable agent skills continue to grow. In the future, we aim to further improve skill selection and extend CSS to support larger and more diverse skill ecosystems.
AI USE STATEMENT
We used generative AI tools to assist with language polishing and literature search during the preparation of this manuscript. AI-assisted outputs were reviewed and verified by the authors before being incorporated into the paper. The authors take full responsibility for the final content, claims, and presentation of this work.
ETHICS STATEMENT
This work does not involve human subjects or personally identifiable information. The skills used in our study are collected from publicly available sources, and the experiments are conducted solely for research purposes. We are not aware of any additional ethical concerns arising from this work.
REPRODUCIBILITY STATEMENT
We provide detailed descriptions of the skill collection and organization process, retrieval settings, evaluated models, benchmarks, and evaluation protocols in the main paper. These details are intended to facilitate reproduction of our experimental results.
REFERENCES
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. URL https://arxiv.org/abs/2107.03374.
DeepSeek-AI. DeepSeek-V4-Flash: Model documentation. DeepSeek API Documentation, 2026. URL https://api-docs.deepseek.com/quick_start/pricing. Accessed September 25, 2026.
Xueying Du, Mingwei Liu, Kaixin Wang, Hanlin Wang, Junwei Liu, Yixuan Chen, Jiayi Feng, Chaofeng Sha, Xin Peng, and Yiling Lou. Evaluating large language models in class-level code generation. In Proceedings of the IEEE/ACM 46th International Conference on Software Engineering. Association for Computing Machinery, 2024. doi: 10.1145/3597503.3639219. URL https://doi.org/10.1145/3597503.3639219.
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 International Conference on Learning Representations, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/edac78c3e300629acfe6cbe9ca88fb84-Paper-Conference.pdf.
Yuhang Lai, Chengxi Li, Yiming Wang, Tianyi Zhang, Ruiqi Zhong, Luke Zettlemoyer, Scott Wen tau Yih, Daniel Fried, Sida Wang, and Tao Yu. DS-1000: A natural and reliable benchmark for data science code generation. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 18319–18345. PMLR, 2023. URL https://proceedings.mlr.press/v202/lai23b.html.
Xiangyi Li, Yimin Liu, Wenbo Chen, Bingran You, Zonglin Di, Yifeng He, Shenghan Zheng, Kyoung Whan Choe, Jiankai Sun, Shuyi Wang, Chujun Tao, Binxu Li, Xuandong Zhao, Hejia Geng, Xiaojun Wu, Junwei Zhou, Xiaokun Chen, Hanwen Xing, Yubo Li, Qunhong Zeng, Di Wang,
Yuanli Wang, Roey Ben Chaim, Penghao Jiang, Haotian Shen, Luyang Kong, Xinyi Liu, Runhui Wang, Xuanqing Liu, Jiachen Li, Xin Lan, Yueqian Lin, Wengao Ye, Junwei He, Songlin Li, Yue Zhang, Yipeng Gao, Yijiang Li, Ze Ma, Liqiang Jing, Tianyu Wang, Kaixin Li, Yiqi Xue, Haoran Lyu, Yizhuo He, Yuchen Tian, Shutong Wu, Bowei Wang, Yixuan Gao, Bo Chen, Litong Liu, Sikai Cheng, Jiajun Bao, Shuaicheng Tong, Shuwen Xu, Terry Yue Zhuo, Tinghan Ye, Qi Qi, Miao Li, Longtai Liao, Zelin Tan, Chang Shi, Xilin Tang, Srinath Tankasala, Boqin Yuan, Yaoyao Qian, Jianhong Tu, Chenguang Wang, Yizhou Sun, Wei Wang, Aaron Taylor, Ziyue Yang, Changkun Guan, Zhikang Dong, Xinyu Zhang, Steven Dillmann, Han chung Lee, and Dawn Song. SkillsBench: Benchmarking how well agent skills work across diverse tasks. arXiv preprint arXiv:2602.12670, 2026. URL https://arxiv.org/abs/2602.12670.
Shanchao Liang, Nan Jiang, Yiran Hu, and Lin Tan. Can language models replace programmers for coding? REPOCOD says ‘not yet’. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 24698–24717, Vienna, Austria, jul 2025. Association for Computational Linguistics. doi: 10.18653/v1/2025.acl-long.1204. URL https://aclanthology.org/2025.acl-long.1204/.
Dianshu Liao, Shidong Pan, Guangdong Bai, Zhenchang Xing, and Xiaoyu Sun. Understanding and mitigating cross-session attacks via persistent artifacts in agent skill composition. arXiv preprint arXiv:2610.13227, 2026.
Dawei Liu, Zongxia Li, Hongyang Du, Xiyang Wu, Shihang Gui, Yongbei Kuang, and Lichao Sun. Graph-of-Skills: Dependency-aware structural retrieval for massive agent skills. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2026.
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, volume 36, pp. 21558–21572, 2023. doi:10.52202/075280-0943.
MiniMax. MiniMax-M2.7: Model documentation. MiniMax API Documentation, 2026. URL https://platform.minimax.io/docs/guides/models-intro. Accessed September 25, 2026.
OpenAI. GPT-5.6. OpenAI Model Documentation, 2026. URL https://developers.openai.com/api/docs/models. Accessed September 25, 2026.
Shidong Pan, Xiaoyu Sun, Tianyi Zhang, Dianshu Liao, Kaiwen Yang, and Zhenchang Xing. Skill-guard: A permission-centric framework for agent skill security. arXiv preprint arXiv:2606.03024, 2026.
Qwen Team. Qwen3-Coder: Agentic coding in the world. Qwen Blog, jul 2025. URL https://qwenlm.github.io/blog/qwen3-coder/. Qwen3-Coder-480B-A35B-Instruct; accessed September 25, 2026.
Stephen Robertson and Hugo Zaragoza. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends in Information Retrieval, 3(4):333–389, 2009. doi: 10.1561/1500000019.
Shangyin Tan, Lakshya A. Agrawal, Rohit Sandadi, Dan Klein, Koushik Sen, Alexandros G. Dimakis, and Matei Zaharia. Automatically learning skills for coding agents. In Proceedings of the ACM Conference on AI and Agentic Systems, pp. 1310–1315. Association for Computing Machinery, 2026. doi: 10.1145/3786335.3813196. URL https://dl.acm.org/doi/10.1145/3786335.3813196.
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. Transactions on Machine Learning Research, 2024. URL https://openreview.net/forum?id=ehfRiF0R3a.
Zora Zhiruo Wang, Jiayuan Mao, Daniel Fried, and Graham Neubig. Agent workflow memory. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 63897–63911. PMLR, 2025.
Peng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han, Yiyang Zhou, Xujiang Zhao, Haifeng Chen, Zeyu Zheng, Cihang Xie, and Huaxiu Yao. SkillRL: Evolving agents via recursive skill-augmented reinforcement learning. In ICLR 2026 Workshop on Memory for LLM-Based Agentic Systems, 2026. URL https://openreview.net/forum?id=By7Pj576U3. Oral Presentation.
Yue Yao, Shengyuan Wang, Xin Chen, Minke Zhang, Jia He, Bingjun Luo, and Tom Gedeon. SkillTrace: Traversing a query-skill graph for composable LLM agents. arXiv preprint arXiv:2608.02356, 2026. URL https://arxiv.org/abs/2608.02356.
Hao Yu, Bo Shen, Dezhi Ran, Jiaxin Zhang, Qi Zhang, Yuchi Ma, Guangtai Liang, Ying Li, Qianxiang Wang, and Tao Xie. CoderEval: A benchmark of pragmatic code generation with generative pre-trained models. In Proceedings of the IEEE/ACM 46th International Conference on Software Engineering, pp. 1–12. ACM, 2024. doi: 10.1145/3597503.3623316.
Z.AI. GLM-5.3: Model documentation. Z.AI Developer Documentation, 2026. URL https://docs.z.ai/guides/llm/glm-5.3. Accessed September 25, 2026.
Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. ExpeL: LLM agents are experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 19632–19642, 2024. doi: 10.1609/aaai.v38i17.29936.
Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, Zora Zhiruo Wang, Apurva Gandhi, Yueqi Song, Yu Gu, Jayanth Srinivasa, Gaowen Liu, Graham Neubig, and Yu Su. SkillWeaver: Web agents can self-improve by discovering and honing skills, 2025. URL https://arxiv.org/abs/2504.07079.
YanZhao Zheng, ZhenTao Zhang, Chao Ma, YuanQiang Yu, JiHuai Zhu, Yong Wu, Tianze Xu, Baohua Dong, Hangcheng Zhu, Ruohui Huang, and Gang Yu. Skillrouter: Skill routing for LLM agents at scale. arXiv preprint arXiv:2603.22455, 2026. URL https://arxiv.org/abs/2603.22455.
Terry Yue Zhuo, Vu Minh Chien, Jenny Chim, Han Hu, Wenhao Yu, Ratnadira Widyasari, Imam Nur Bani Yusuf, Haolan Zhan, Junda He, Indraneil Paul, Simon Brunner, Chen GONG, James Hoang, Armel Randy Zebaze, Xiaoheng Hong, Wen-Ding Li, Jean Kaddour, Ming Xu, Zhihan Zhang, Prateek Yadav, Naman Jain, Alex Gu, Zhoujun Cheng, Jiawei Liu, Qian Liu, Zijian Wang, David Lo, Binyuan Hui, Niklas Muennighoff, Daniel Fried, Xiaoning Du, Harm de Vries, and Leandro Von Werra. BigCodeBench: Benchmarking code generation with diverse function calls and complex instructions. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=YrycTjllL0.