Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<run_id: string, task_id: string, rollout_id: string, attempt_id: string, request_id: string, codex_session_id: string, codex_thread_id: string, main_session_source: string, source_call_dir: string, terminal_type: string, response_id: string, response_model: string, event_counts: struct<response.created: int64, response.in_progress: int64, response.output_item.added: int64, response.reasoning_summary_part.added: int64, response.reasoning_summary_text.delta: int64, response.reasoning_summary_text.done: int64, response.reasoning_summary_part.done: int64, response.output_item.done: int64, response.content_part.added: int64, response.output_text.delta: int64, response.output_text.done: int64, response.content_part.done: int64, response.completed: int64, codex.rate_limits: int64, codex.response.metadata: int64, responsesapi.websocket_timing: int64>>
to
{'run_id': Value('string'), 'task_id': Value('string'), 'rollout_id': Value('string'), 'attempt_id': Value('string'), 'request_id': Value('string'), 'claude_session_id': Value('string'), 'main_session_source': Value('string'), 'source_call_dir': Value('string'), 'finish_reason': Value('string'), 'response_id': Value('string'), 'response_model': Value('string'), 'stream_protocol': Value('string')}
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<run_id: string, task_id: string, rollout_id: string, attempt_id: string, request_id: string, codex_session_id: string, codex_thread_id: string, main_session_source: string, source_call_dir: string, terminal_type: string, response_id: string, response_model: string, event_counts: struct<response.created: int64, response.in_progress: int64, response.output_item.added: int64, response.reasoning_summary_part.added: int64, response.reasoning_summary_text.delta: int64, response.reasoning_summary_text.done: int64, response.reasoning_summary_part.done: int64, response.output_item.done: int64, response.content_part.added: int64, response.output_text.delta: int64, response.output_text.done: int64, response.content_part.done: int64, response.completed: int64, codex.rate_limits: int64, codex.response.metadata: int64, responsesapi.websocket_timing: int64>>
              to
              {'run_id': Value('string'), 'task_id': Value('string'), 'rollout_id': Value('string'), 'attempt_id': Value('string'), 'request_id': Value('string'), 'claude_session_id': Value('string'), 'main_session_source': Value('string'), 'source_call_dir': Value('string'), 'finish_reason': Value('string'), 'response_id': Value('string'), 'response_model': Value('string'), 'stream_protocol': Value('string')}
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

session_id
string
path_index
int64
num_messages
int64
model
string
messages
list
provenance
dict
tools
list
OR_with_skill_deepseek_pro_new_0818--academic_academic-pipeline__task1__with_skill__rollout-1
0
28
deepseek-v4-pro
[ { "role": "system", "content": "You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou are an interactive agent that helps users with software engineering tasks.\n\nIMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse reque...
{ "run_id": "OR_with_skill_deepseek_pro_new_0818", "task_id": "academic_academic-pipeline__task1__with_skill", "rollout_id": "rollout-1", "attempt_id": "dab077a2-2b1b-4c9d-8302-bbda7555539a:attempt-0", "request_id": "202608192246037613691658268d9d6l0HEqbfm", "claude_session_id": "15b54894-6bff-4777-88f6-363...
[ { "type": "function", "function": { "name": "Agent", "description": "Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.\n\nAvailable agent types are listed in <system-reminder> messages in the conversation.\n\nWhen using t...
OR_with_skill_deepseek_pro_new_0818--academic_academic-researcher__task1__with_skill__rollout-2
0
52
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_academic-researcher__task1__with(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
OR_with_skill_deepseek_pro_new_0818--academic_account-research__task1__with_skill__rollout-1
0
66
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_account-research__task1__with_sk(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
OR_with_skill_deepseek_pro_new_0818--academic_caveman-review__task1__with_skill__rollout-2
0
34
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_caveman-review__task1__with_skil(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
OR_with_skill_deepseek_pro_new_0818--academic_code-reviewer__task1__with_skill__rollout-1
0
44
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_code-reviewer__task1__with_skill(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
"OR_with_skill_deepseek_pro_new_0818--academic_developer-growth-analysis__task1__with_skill__rollout(...TRUNCATED)
0
33
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_developer-growth-analysis__task1(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
OR_with_skill_deepseek_pro_new_0818--academic_fact-checker__task1__with_skill__rollout-1
0
57
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_fact-checker__task1__with_skill"(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
"OR_with_skill_deepseek_pro_new_0818--academic_flutter-dart-code-review__task1__with_skill__rollout-(...TRUNCATED)
0
54
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_flutter-dart-code-review__task1_(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
OR_with_skill_deepseek_pro_new_0818--academic_journal-entry-prep__task1__with_skill__rollout-1
0
63
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_journal-entry-prep__task1__with_(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
"OR_with_skill_deepseek_pro_new_0818--academic_korean-scholarship-search__task1__with_skill__rollout(...TRUNCATED)
0
62
deepseek-v4-pro
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\n\nYou(...TRUNCATED)
{"run_id":"OR_with_skill_deepseek_pro_new_0818","task_id":"academic_korean-scholarship-search__task1(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
End of preview.
SkillGym

SkillGym Dataset

Human-written skills, executable environments, and verified long-horizon agent trajectories

English · 简体中文

GitHub · SkillGym-Agent · Paper

Dataset Summary

SkillGym is the data release accompanying the SkillGym framework. It connects human-written procedural knowledge to executable task environments, code-based outcome verifiers, paired with-skill / without-skill executions, and long-horizon agent trajectories.

The dataset is intended to support research on skill-grounded task construction, agent training, verifier-based evaluation, procedural transfer, and outcome-based learning.

Statistic Value
Accepted environments 2,756
Paired task variants 5,512
Skill-Dep. / Verifier-Passed 1,081 / 1,675
Successful trajectories 8,364
Sampled trials 48,152
Overall sampled-trial success rate 17.4%
Deduplicated task coverage 2,302 unique tasks
Taxonomy 12 major / 63 sub-categories

Successful trajectories cover 62 of the 63 sub-categories represented by accepted environments.

Released Artifacts

Artifact Contents Use it for
Tasks.tar.zst Published skill-derived task environments, paired variants, and verifiers Re-running or studying executable tasks
skill_library.tar.zst Human-written skills and supporting assets Skill analysis or new task construction
task_templates.tar.zst Reusable seed-task templates and fixtures Extending the task-construction pipeline
Trajectories/ Eight trajectory collections organized by result type, harness, and teacher model SFT, trajectory analysis, and procedural-learning research

Release Snapshot

The large-artifact dataset snapshot is associated with GitHub commit 6ebabba.

The GitHub codebase, dataset repository, and model repository are versioned independently. For exact reproduction, record the revision used from each repository.

Quick Start

Download Trajectory Collections

python -m pip install -U huggingface_hub datasets

hf download ecnu-icalk/SkillGym \
  --include "Trajectories/*.jsonl" \
  --repo-type dataset \
  --local-dir .hf/skillgym

Stream One Collection with 🤗 Datasets

from datasets import load_dataset

records = load_dataset(
    "json",
    data_files={
        "train": (
            "hf://datasets/ecnu-icalk/SkillGym/"
            "Trajectories/"
            "skill_dependent_claude_code_deepseek_v4_pro.jsonl"
        )
    },
    split="train",
    streaming=True,
)

example = next(iter(records))
print(example["session_id"])

Download Task-Construction Artifacts

hf download ecnu-icalk/SkillGym \
  Tasks.tar.zst skill_library.tar.zst task_templates.tar.zst \
  --repo-type dataset \
  --local-dir .hf/skillgym

For building new environments, use the SkillGym Task Builder.

Dataset Organization

SkillGym/
├── Tasks.tar.zst
├── skill_library.tar.zst
├── task_templates.tar.zst
└── Trajectories/
    ├── skill_dependent_*.jsonl
    └── verifier_passed_*.jsonl

The task archives contain the source skill/task relationship, task instructions, environment configuration, task-specific verification logic, and paired execution variants used during construction and validation.

Trajectory collections preserve agent interaction traces and verification outcomes for successful sampled executions.

Terminology

Context Skill available Skill removed
Paper / benchmark tables w/ Skills w/o Skills
Released dataset variants withskill withoutskill
Task Builder internals with_skill no_skill

These names refer to the same paired evaluation concept; the differences reflect presentation, released-storage, and implementation conventions.

Task Labels and Paired Variants

SkillGym distinguishes task-construction labels from trajectory-level outcomes.

Skill-Dep.

A task is labeled Skill-Dep. when, under the reference construction configuration:

  1. the environment and verifier are valid;
  2. the paired with-skill execution succeeds; and
  3. the paired without-skill execution produces a valid reward failure.

Verifier-Passed

A Verifier-Passed task has a valid executable environment and outcome verifier but does not satisfy the stricter contrastive Skill-Dep. criterion under the reference configuration.

These labels characterize accepted environments at construction time. They do not guarantee that every later model or harness will succeed or fail in the same way.

Trajectory Data

Successful trajectories retain the interaction sequence that led to a verifier-confirmed outcome. Depending on the source harness, records may include:

  • task and session identifiers;
  • task prompt and skill metadata;
  • environment/runtime metadata;
  • actions and tool calls;
  • observations and tool outputs;
  • final outputs or artifacts;
  • verifier results and execution logs;
  • available diagnostic fields.

Schema Note

The eight trajectory files preserve source-specific trace structures. Some nested fields differ across harness/model collections, so the release should not be assumed to have one perfectly uniform nested JSON schema across every file.

For the most robust loading behavior:

  • load one trajectory collection at a time; or
  • explicitly normalize compatible files before concatenating them.

Using an explicit data_files path, as in the streaming example above, is preferable to treating every trajectory JSONL file as a single homogeneous split.

Trajectory Statistics

Statistic Value
Successful trajectories from Skill-Dep. tasks 3,722
Successful trajectories from Verifier-Passed tasks 4,642
Explicit target-skill invocation 3,077 (36.8%)
Average tool calls per successful trajectory 49.0
Average logged text tokens 63.4k
Average interaction steps 35.2
Corpus-wide maximum tool calls 350
Corpus-wide maximum logged text tokens 342.9k
Corpus-wide maximum interaction steps 318

The maxima above are corpus-wide maxima for their respective measures and need not come from the same trajectory. Logged/saved text-token counts are dataset statistics and should not be interpreted as API billing usage or as a single-request context length.

Collection Configurations

Harness Teacher model Successful trajectories
Claude Code DeepSeek V4 Pro 1,722
Claude Code GLM-5.2 1,769
Codex GPT-5.4 1,967
Codex Nex-N2-Pro 2,906

This diversity broadens the interaction traces beyond one agent configuration, but the released trajectory distribution should not be treated as representative of every model, harness, task domain, or deployment setting.

Intended Uses

SkillGym can support research on:

  • supervised fine-tuning from verified agent trajectories;
  • agentic problem solving and long-horizon workflow learning;
  • skill-conditioned versus skill-free execution;
  • executable-environment and verifier-based evaluation;
  • outcome-based reinforcement learning;
  • task-generation and verifier design;
  • trajectory analysis and procedural failure modes.

Limitations

  • Skill-Dep. and Verifier-Passed are reference-configuration labels, not universal properties.
  • Category coverage is broad but uneven.
  • Trajectory collections are generated by a finite set of harness–model configurations.
  • Successful trajectories are a selected subset of sampled executions and should not be interpreted as an unbiased behavioral distribution.
  • Some trajectory files preserve harness-specific schema differences.
  • Source skills, fixtures, and supporting assets may carry upstream notices or additional licensing requirements.

Related Resources

Resource Scope
GitHub / SkillGym Task Builder, construction pipeline, documentation, and paper materials
SkillGym-Agent Released All Teachers checkpoint trained on successful SkillGym trajectories
Task Builder guide Building and validating new skill-grounded environments
Paper Full method, dataset analysis, experiments, and ablations

Citation

@misc{skillgym2026,
  title = {Internalizing Large-Scale Human-Written Skills into LLMs for Real-World Problem Solving},
  year  = {2026},
  url   = {https://github.com/ECNU-ICALK/SkillGym}
}

License

The dataset is marked license: other because it aggregates artifacts that may retain distinct upstream notices or additional terms.

Repository-level SkillGym code is released under the MIT License. The SkillGym-Agent checkpoint is released separately under Apache-2.0.

When redistributing source skills, fixtures, or supporting assets, preserve the corresponding upstream notices and licensing terms.

Downloads last month
79

Models trained or fine-tuned on ecnu-icalk/SkillGym