TL;DR
Giving an AI agent a box of relevant tools isn't the same as handing it an assembly manual. Group of Skills (GoSkills) rethinks how agents retrieve external capabilities: instead of fetching a flat list of isolated snippets, it retrieves role-organized groups of skills and formats them into a clear execution contract—boosting task accuracy across the board without retraining a single model weight.
What Problem Does This Paper Address?
Modern LLM agents increasingly rely on massive "skill libraries"—reusable code snippets, API instructions, formatters, and verification scripts. Because you can't cram 2,000 skills into a single prompt without blowing up your token budget, agents rely on retrieval.
Standard semantic search grabs top-$k$ similar skills, which often misses crucial prerequisites (like a setup utility that isn't mentioned in the prompt). Recent graph-based methods fix this by pulling in dependency-aware bundles. Yet a subtle bottleneck remains: retrieving the right skills is not the same as presenting usable context. When an agent receives an unorganized pile of skills, it burns cognitive effort (and extra turns) figuring out where to start, which skill is just a helper, what public formatting checks must be satisfied, and what pitfalls to avoid.
Methods
GoSkills is a deterministic, inference-time retrieval layer—meaning it doesn't touch the underlying LLM, the execution loop, or the skill code itself. It splits the work into an offline indexing phase and an online contextualization phase:
- Offline Group Construction: Starting from a graph of individual skills (linked by dependencies, workflows, or shared artifacts), GoSkills builds small, reusable local templates called groups. Each group centers on one "lead" skill and up to two support skills, tagged with explicit roles and applicability rules. It then links these groups together into a higher-level group graph.
- Online Group Selection & Expansion: When a task arrives, GoSkills extracts visible requirements (like target frameworks, file extensions, or public unit tests) into a structured query schema. Instead of picking final skills right away, it scores and picks an anchor group (the main entry point) and greedily expands up to two support groups along positive edges in the group graph.
- Budgeted Bottlenecking & Coverage Backfill: Presenting every skill from every selected group would waste context. GoSkills squeezes the group plan through a budget bottleneck, prioritizing lead skills. Crucially, it calculates coverage debt—checking if any explicit, high-confidence query requirements were accidentally dropped—and backfills missing skills if budget permits.
- The Execution Contract: Finally, the surviving skills are rendered into a fixed prompt template with four explicit headers: START (the anchor), SUPPORT (helpers), CHECK (visible requirements and any uncovered debt), and AVOID (negative guidance/pitfalls).
Datasets
Because GoSkills operates purely at inference time, no training datasets are used. The authors evaluate the system using 2,000-skill libraries across three existing agent benchmarks (no new benchmarks are introduced):
- SkillsBench: Technical problem-solving tasks featuring explicit artifacts and deterministic, checkable requirements.
- ALFWorld: Multi-turn interactive household decision-making tasks.
- Terminal-Bench 2: Multi-step command-line execution, debugging, and verification tasks (evaluated here using an off-domain skill library).
Key Insights and Ideas
- It's not just pretty formatting: A natural skepticism is, "Did the prompt template do all the work?" To test this, the authors took the exact skills retrieved by a strong graph baseline (Graph of Skills) and formatted them into the GoSkills contract, and even let an LLM assign roles post-hoc. Both fell short of full GoSkills in reward and required more agent turns. Selecting skills as role-structured groups from the start genuinely matters.
- Tracking "coverage debt" prevents silent drops: Aggressive context compression often trims away boring-looking formatters or test checkers that turn out to be mandatory. Explicitly tracking uncovered visible requirements and backfilling them raised the development "must-hit" requirement rate from 0.73 to 1.00.
- Organizational clarity saves steps, not necessarily tokens: GoSkills often uses slightly more cumulative input tokens than simpler retrievers because of its structured contract, yet frequently finishes faster and in fewer turns because the agent spends less time fumbling with how its tools fit together.
Key Results
Across all 18 benchmark–backbone combinations (testing GPT-5.4, Claude Sonnet 4.5, Gemini 3 Pro, MiniMax M2.7, Qwen 3.5, and Kimi K2.5), GoSkills achieves the highest mean reward or accuracy:
- SkillsBench: Beats the strongest baseline (Graph of Skills) on every model—for instance, lifting GPT-5.4 from 35.7% to 39.4% and Claude Sonnet 4.5 from 27.1% to 31.9% (while cutting Claude's runtime from 325.2s to 284.9s).
- ALFWorld: Hits 97.0% reward on Claude Sonnet 4.5 and 95.5% on GPT-5.4, removing 43–81% of the remaining error relative to using no skills on top backbones, while reducing runtime vs. Graph of Skills across all six models.
- Terminal-Bench 2: Boosts accuracy by 6.7 to 14.6 percentage points over Graph of Skills across all models (e.g., jumping from 46.1% to 60.7% on GPT-5.4), though runtime and token usage increase here.
- Metadata Robustness: Even when 50% of skill metadata is blanked out before indexing, GoSkills retains 91.9% of its clean performance without retuning.
Limitations and Future Work
GoSkills is strictly a pre-execution organizer: it cannot adapt mid-task if a tool fails, bind arguments, or invent capabilities missing from the library (it can only flag them as coverage debt). Its deterministic scoring weights were hand-tuned on a small 10-task development subset, and it relies on reasonably clean skill documentation and explicit prompt requirements—meaning tasks with long setup chains, vague prompts, or hidden constraints will dull its edge. Runtime gains also flip to slowdowns on off-domain tasks like Terminal-Bench 2. For future work, the authors suggest replacing deterministic scoring rules with learned group-selection policies, improving resilience to noisy metadata, and incorporating runtime execution feedback to adapt groups on the fly.
Summary updated