Skill-Alpha learns to progressively construct and maintain reusable
SKILL.md documents from document context or execution experience. It edits
the current skill through structured CREATE, UPDATE, MERGE, PRUNE, and
NOOP actions, and optimizes these edits with rollback rewards derived from
downstream agent behavior.
Skill-Alpha supports both document-to-skill and experience-to-skill generation with a unified skill editor. At inference time, it processes evidence sequentially and updates the skill through local edit actions. During training, GRPO samples candidate edits from the same skill state and compares their downstream outcomes against a controlled rollout.
The document-to-skill setting evaluates whether a generator can transform a source context into a reusable skill for held-out tasks. The same generated skill is evaluated with both the source worker and a transfer worker.
The experience-to-skill setting constructs skills from execution trajectories and evaluates them on held-out tasks from the same benchmark domain.
BFCL multi-turn evaluates whether the learned skill generator generalizes to unseen domains. BFCL is excluded from training, and the trained generator is applied without parameter updates. Skill generation follows the same experience-to-skill setup as above, with GPT-4o as the source worker and Claude-Sonnet-4.5 used only as a transfer worker. All results are pass rates (%), and Avg. is the unweighted average across the eight Sub-APIs.
- 2026-09-11: We update the paper with more experiments and analysis.
- 2026-08-03: Paper released on arXiv.
Training data is provided to the launchers as prepared Parquet files:
- SFT data follows the verl multi-turn format and contains a
messagescolumn. Assistant responses use the<think>...</think><action>...</action>protocol. - RL data contains
prompt,data_source,reward_model, andextra_info. Theextra_infofield stores the current skill, evidence source, evaluation anchor, and benchmark-specific references required by rollback reward.
Download and mount the benchmark data separately, then configure its paths in
.env:
- CL-Bench JSONL through
CL_BENCH_PATH; - SpreadsheetBench repository and verified workbook archive through
SPREADSHEET_ROOTandSPREADSHEET_BENCH_TAR; - tau2-bench repository, source tree, and domain data through
TAU2_REPO_ROOT,TAU2_SRC, andTAU2_DOMAINS_DIR; - experience source traces through
SPREADSHEET_SOURCE_TRACESand theTAU2_*_SOURCE_TRACESvariables.
See docs/TRAINING.md for the complete input contract and docs/EVALUATION.md for benchmark-specific configuration.
The tested base image is the verl SGLang image:
docker pull verlai/verl:sgl055.latest
docker create --runtime=nvidia --gpus all --net=host --shm-size=10g \
--cap-add=SYS_ADMIN \
-v /path/to/skill-alpha:/workspace/skill-alpha \
-v /path/to/models:/models \
-v /path/to/datasets:/datasets \
-v /path/to/outputs:/outputs \
--name skill-alpha verlai/verl:sgl055.latest sleep infinity
docker start skill-alpha
docker exec -it skill-alpha bashInside the container:
cd /workspace/skill-alpha
pip3 install --no-deps -e .
bash training/check_imports.shCopy .env.example to .env and set the model, dataset, output, and
OpenAI-compatible endpoint configuration. Additional setup details are
available in docs/INSTALL.md.
SFT and GRPO use the project-owned verl checkout and read their Parquet inputs
from TRAIN_FILE and VAL_FILE.
cp .env.example .env
RUN_ID=<run-id> bash training/run_sft.sh
RUN_ID=<run-id> bash training/run_grpo.shUse training/merge_checkpoint.sh to convert a saved verl actor checkpoint
into a Hugging Face checkpoint before deployment.
The default GRPO setup uses eight samples per prompt, non-zero rollout temperature, no KL loss, SGLang rollout, and benchmark-specific rollback rewards. See docs/TRAINING.md for all SFT and GRPO parameters.
Deploy a merged checkpoint through SGLang:
bash src/inference/start_sglang_server.shGenerate and validate a single skill edit with
src/inference/skill_alpha_inference.py, or run progressive skill generation
with src/inference/run_skill_alpha_eval.sh. The inference quality gate retries
malformed or invalid edits up to five times before returning a result.
The inference prompt and action schema are defined in
src/skill_alpha_rl/prompts.py. See
src/inference/README.md for configuration and usage.
The evaluation runners support:
- CL-Bench with its per-question rubrics;
- SpreadsheetBench with official workbook comparison;
- tau2-bench with the official simulator and evaluator.
Generated skills, predictions, raw evaluator outputs, and summaries are written
under SKILL_ALPHA_OUTPUT_ROOT.
bash src/inference/run_skill_alpha_eval.shWorker models, judge models, benchmark paths, and evaluation concurrency are
configured through .env. See docs/EVALUATION.md for the
full evaluation protocol.
This project is built on verl. We thank the verl authors and contributors for their open-source work.
skill-alpha/
|-- assets/ # Framework and result figures
|-- training/ # SFT, GRPO, import checks, and checkpoint merge
|-- src/
| |-- inference/ # Skill generation, quality gates, and deployment
| |-- evaluation/ # Benchmark evaluation runners
| |-- skill_alpha_rl/ # Prompts, actions, PPO entry, and reward manager
| `-- skill_alpha_env/ # Benchmark environments and API client
|-- verl/ # Training and rollout framework
|-- docs/ # Installation, training, and evaluation guides
|-- .env.example # Runtime configuration template
`-- README.md
If you find Skill-Alpha useful in your research, please cite:
@article{shen2026progressive,
title = {Progressive Agent Skill Generation via Reinforcement Learning},
author = {Shen, Junhao and Zhang, Zhanqiu and Guo, Yiwen and Cheng, Hong},
journal = {arXiv preprint arXiv:2608.01678},
year = {2026}
}


