Summary (Overview)
- CoSkill is a unified multi-agent reinforcement learning (RL) framework that jointly trains a Reasoning Agent and a learnable Meta-Skill Agent over a hierarchical skill library, enabling fine-grained skill–policy co-evolution.
- The framework casts static meta-skill workflows as an RL-trained agent, closing the skill–policy loop that prior paradigms leave open.
- CoSkill achieves 98.4% success on ALFWorld (+3.5 pp) and 90.6% success on WebShop (+6.2 pp), outperforming all prior skill-based and RL baselines.
- The approach demonstrates superior early-stage sample efficiency, asymptotic performance, and wall-clock efficiency compared to existing methods.
- Ablations show that RL training of the Meta-Skill Agent reduces destructive edits, improves retrieval reliability (from 12.4% to 0.2% empty step-bundle rate), and cuts redundant library growth by 47.6%.
Introduction and Theoretical Foundation
Background and Motivation
Skill libraries improve the sample efficiency of agentic RL by enabling LLM agents to reuse procedural knowledge across tasks. However, existing skill-evolution paradigms exhibit structural shortcomings:
-
Externally Orchestrated Skill Evolution (e.g., SkillRL, D2Skill, ReSkill, Trace2Skill): Treats the skill library as a standalone knowledge base managed by external LLMs or hand-crafted rules. Skill evolution remains outside the policy-learning objective, leading to stale or misaligned skills.
-
RL-Optimized Skill-Library Management (e.g., SAGE, ARISE, Skill1): Incorporates library maintenance into the RL loop but treats skills as atomic units, leaving internal procedures unoptimized.
-
Meta-Skill-Driven Skill Optimization (e.g., SkillOpt, EvoSkill, SkillEvolver): Uses execution feedback to optimize individual skill procedures but relies on predefined meta-skill programs (rubric-based prompts, SKILL.md specifications) and typically freezes the reasoning agent.
Key Design Insight
"Formulating the meta-skill as an RL-trained agent rather than a fixed workflow allows its update policy to co-adapt with the reasoning policy."
CoSkill models the Reasoning and Meta-Skill Agents as a cooperative team sharing a single LLM backbone, jointly trained over a hierarchical skill library. This directly addresses the limitations of prior paradigms by:
- Closing the skill–policy loop through an agentic formulation
- Replacing fixed workflows with learnable meta-skills
- Moving beyond coarse library management to step-level editing
Methodology
Hierarchical Skill Library
CoSkill structures its persistent library as a collection of K task-indexed skill bundles:
Each bundle contains an episode-level task skill and a child set of step skills for intermediate observations. Hierarchical retrieval proceeds in two stages:
where is a text encoder, is the task-skill retrieval key, and is the source observation of a step skill.
Shared-Parameter Multi-Agent Semi-Markov Decision Process (MSMDP)
The interaction is formalized as an MSMDP:
Global State Space: The shared blackboard state is:
Role-Specific Observations:
- Reasoning Agent:
- Meta-Skill Agent:
Heterogeneous Action Space: Both agents share policy but use role-specific prompts:
The Meta-Skill Agent's action space is restricted to structured edits:
Post-Edit Skill Verification Reward
To evaluate edit sequences through downstream execution, CoSkill runs M verification attempts with the edited bundle and computes:
This baseline-subtracted, mean-aggregated improvement score serves as the delayed episode-level reward for the Meta-Skill Agent's edit sequence.
Joint Optimization via GiGPO
Role-specific credit assignment combines episode-level and step-level relative advantages:
The joint objective updates the shared actor:
Empirical Validation / Results
Main Results (RQ1)
Table 1: Main results on ALFWorld and WebShop
| Method | ALFWorld Avg. (%) | WebShop Score | WebShop Succ. (%) |
|---|---|---|---|
| CoSkill (Ours) | 98.4 | 95.9 | 90.6 |
| RetroAgent | 94.9 | 88.9 | 82.3 |
| Skill1 | 93.7 | 91.6 | 75.0 |
| D2Skill (Gemini-3-Flash) | 90.6 | 91.1 | 80.5 |
| GiGPO (no skills) | 90.8 | 84.4 | 72.8 |
| SkillRL | 89.9 | 85.2 | 72.7 |
| Impv. vs. Best | +3.5 | +4.3 | +6.2 |
Key findings:
- CoSkill reaches 100% success on 5 of 6 ALFWorld task types
- +7.6 pp over skill-free GiGPO on ALFWorld; +17.8 pp on WebShop success
- Outperforms D2Skill variants using Gemini-3-Flash/O3 editors, showing that reward-aligned skill refinement matters more than editor scale
Ablation Study (RQ2)
Table 2: Ablation results on ALFWorld (success rate %)
| Method | Step 20 | Step 60 | Step 120 |
|---|---|---|---|
| CoSkill (Ours) | 70.31 | 89.06 | 95.31 |
| w/o Meta-Skill Agent RL | 57.81 (−12.50) | 87.50 (−1.56) | 92.19 (−3.12) |
| w/o Hierarchical Library | 56.25 (−14.06) | 87.50 (−1.56) | 93.75 (−1.56) |
| Alternating Updates = 10 | 62.50 (−7.81) | 64.06 (−25.00) | 78.12 (−17.19) |
| Alternating Updates = 20 | 59.38 (−10.93) | 70.31 (−18.75) | 81.25 (−14.06) |
Meta-Skill Agent Learning Dynamics (RQ3)
- With RL: Edit distribution converges to 97–99% UPDATE; destructive DELETEs nearly disappear
- Without RL: Diffuse distribution persists (UPDATE drops to 54%, DELETE rises to 36%)
- RL reduces cumulative library promotions by 47.6% (387 vs. 739)
- Retrieval hit rate: CoSkill recovers ~100% vs. gradual deterioration without RL
- Empty step-bundle rate: Reduced from 12.4% to 0.2%
Theoretical and Practical Implications
Theoretical Contributions
-
Skill evolution as a learnable process: CoSkill reframes meta-skills from fixed workflows to RL-trained agents, establishing that skill refinement should be co-optimized with reasoning rather than externally orchestrated.
-
Shared-parameter multi-agent formulation: The MSMDP formulation demonstrates that two distinct roles (reasoning and editing) can share a single backbone while maintaining role-specific credit assignment, avoiding the need for separate editor models.
-
Cross-episode credit assignment: The post-edit verification reward () provides a principled mechanism for assigning delayed execution feedback to edit sequences, drawing on meta-RL concepts.
Practical Implications
-
Sample and wall-clock efficiency: CoSkill achieves higher performance with fewer training steps and less wall-clock time, making skill-augmented RL more practical for real-world deployment.
-
Backbone independence: The framework works with a 7B-parameter open-source model (Qwen2.5-7B), outperforming methods that rely on much larger closed-source editors (Gemini-3-Flash, O3).
-
Stable skill libraries: RL-aligned editing produces more selective, structurally stable skill representations that maintain high retrieval reliability over time.
Conclusion
CoSkill demonstrates that multi-agent co-training—where a Reasoning Agent and a Meta-Skill Agent share a backbone and are jointly optimized—can simultaneously improve:
- Sample efficiency (faster early learning)
- Asymptotic performance (98.4% on ALFWorld, 90.6% on WebShop)
- Training efficiency (better success–wall-clock trade-off)
The key finding is that relying solely on powerful closed-source LLMs for external skill evolution does not guarantee alignment with the target environment or evolving reasoning policy. Instead, optimizing the Meta-Skill Agent from execution feedback yields more selective, stable, and policy-adaptive skill evolution.
Future directions include:
- Extending multi-agent co-training to broader agentic systems
- Developing more efficient interaction, credit-assignment, and update mechanisms
- Reducing training overhead while accelerating co-evolution
Code: Available at https://github.com/jinyuan-cookie/CoSkill
Related papers
- S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?
Self-improvement in LLMs is not automatic; its success depends on task structure, and accurate self-judging alone does not guarantee reliable improvement.
- Edu-QuRating: Multi-Dimensional Educational Data Curation with Distilled Pairwise Judgements
Edu-QuRating distills pairwise LLM preferences into multi-dimensional single-text scorers across 20 educational criteria, improving pre-training data filtering and GRPO reward modeling beyond single-scalar baselines.
- Self-Authored Verification Is Unreliable in Heuristic Self-Improving Agents
Self-improving agents that grade their own work systematically lose alignment with deployment performance, requiring a sealed external acceptance signal to prevent regression.