SkillHorizon: Constructing Long-Horizon Agent Tasks through Skill Composition
Organizations: The Hong Kong University of Science and Technology · Alibaba Group · Shanghai Jiao Tong University
Abstract
Long-horizon agents must complete workflows in which later activities depend on earlier outputs and changes to shared state. A key challenge for evaluation is to expand task requirements and their dependencies while keeping tasks executable and outcomes verifiable. We introduce SkillHorizon, a benchmark that constructs long-horizon tasks through skill composition in seven business environments. Its generators use domain-specific rules to turn reusable skill procedures into concrete business activities. These activities are connected through input-output dependencies, shared resources, and state updates, allowing workload and coordination demands to grow together. Successful reference executions validate task feasibility and measure interaction workload, while programmatic evaluators assess local completion and whole-task success. We evaluate five language models on 1,050 tasks with reference interaction workloads ranging from 64K to 1M tokens. Across these scales, mean local-goal completion falls from 90.4% to 46.8%, as completed work fails to keep pace with growing requirements. At larger workloads, agents more often submit unsuccessful final answers with substantial work unfinished and tool-call allowance remaining. Trace analysis also identifies cases where scripts execute successfully but their outputs fail downstream business checks. SkillHorizon provides a configurable testbed for studying sustained progress, dependency coordination, and complete task delivery in growing workflows. Our code is available at https://github.com/KnowComp/SkillHorizon.
Figures & tables
| Model | Metric | 64K | 128K | 256K | 512K | 1M | Overall |
|---|---|---|---|---|---|---|---|
| Grok 4.6 | LGC | 95.5 | 93.1 | 89.2 | 78.7 | 73.4 | 86.0 |
| TS | 90.0 | 81.4 | 74.8 | 60.5 | 52.4 | 71.8 | |
| Qwen3.8-Flash | LGC | 94.3 | 83.1 | 73.1 | 61.6 | 48.9 | 72.2 |
| TS | 82.9 | 61.4 | 45.2 | 39.5 | 22.9 | 50.4 | |
| DeepSeek V4.1 Flash | LGC | 88.9 | 79.1 | 72.5 | 63.9 | 56.1 | 72.1 |
| TS | 74.8 | 53.8 | 43.8 | 37.1 | 26.2 | 47.1 |
| Metric | Retained | Removed |
|---|---|---|
| First-check acceptance (%) | 84.5 | 77.2 |
| Ever accepted (%) | 91.8 | 89.8 |
| Additional checks | 0.17 | 0.34 |
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Environment | Representative resources | Seed records | Skills |
|---|---|---|---|
| FinanceOps | Financial sources, transactions, identity maps, invoices, and remittances | Generated | 12 |
| FieldOps | Devices, service networks, maintenance windows, crews, and spare parts | Generated | 9 |
| SocialOps | 4,200 posts; 180 campaigns; 900 assets | 20,734 | 8 |
| LogisticsOps | 850 passengers; 320 flights; 4,100 bookings | 21,150 | 9 |
| ResearchOps | 1,800 papers; 900 authors; 2,000 citations | 11,160 | 7 |
| DocOps | 140 projects; 1,600 pages; 6,400 document blocks | 22,612 | 6 |
| Domain | Fixed construction factors | Scale adjustment |
|---|---|---|
| FinanceOps | Workflow family, variant, stage count, and seed | Adjust source width using public reference workload. |
| FieldOps | Profile and scenario | Calibrate service and device counts with the public reference. |
| SocialOps | Scenario and dependency pattern | Adjust campaigns, waves, and campaigns in the final wave using the fixed public reference policy. |
| LogisticsOps | Family, topology, and route legs | Adjust cohort count; use the next planned seed only when the size granularity cannot fit the target interval. |
| ResearchOps | Family, seed, sections, rounds, aliases, exclusions, and topology | Adjust studies per section and trim terminal studies while retaining at least one original study per topic. |
| DocOps | Family, seed, and topology | Adjust document count ; derive depth as . |
| Band | Lower bound | Upper bound |
|---|---|---|
| 64K | 0 | 65,536 |
| 128K | 65,536 | 131,072 |
| 256K | 131,072 | 262,144 |
| 512K | 262,144 | 524,288 |
| 1M | 524,288 | 1,048,576 |
| Environment | Attribute | 64K | 128K | 256K | 512K | 1M |
|---|---|---|---|---|---|---|
| FinanceOps | Work packages | 24–64 | 54–132 | 110–270 | 224–544 | 480–1,152 |
| Logical stages | 4 | 6 | 10 | 16 | 24 | |
| Business calls | 126–300 | 249–622 | 509–1,228 | 1,033–2,438 | 2,221–5,092 | |
| FieldOps | Devices | 9–33 | 30–64 | 49–128 | 120–294 | 294–768 |
| Services | 8–20 | 16–36 | 32–68 | 64–196 | 176–446 | |
| Business calls | 139–206 | 301–411 | 573–728 | 1,281–1,765 | 3,593–4,040 |
| Model identifier | Reasoning setting | Max. output tokens |
|---|---|---|
| grok-4.6 | Medium | 8,192 |
| qwen3.8-flash | Medium or 4,096 tokens | 8,192 |
| deepseek-flash | Medium | 32,768 |
| gemini-3.8-flash | Medium | 8,192 |
| gpt-5.6-sol | Medium | 8,192 |
| Environment | Local-goal unit | Local completion | Additional task requirements |
|---|---|---|---|
| FinanceOps | Source work package | Correct current outputs and required historical views incorporated into stage closures | Stage accounting, release review, publication, and released obligations |
| FieldOps | Device case | Restored device with passing current tests | Service commissioning, closed isolations, resource accounting, and system acceptance |
| SocialOps | Campaign brief | Accepted experiment, report, and deployment with valid content, audience, and source evidence | Scheduled updates, shared publication constraints, and business-input integrity |
| LogisticsOps | Booking | Acceptance by network evaluation | Cargo and freight delivery requirements |
| ResearchOps | Review round | Accepted review with valid evidence and synthesis | Completion of all rounds and event/state integrity |
| DocOps | Page | Accepted current page, publication, and matching tracker evidence | Completed change windows and update/state integrity |
| Environment | Model | 64K | 128K | 256K | 512K | 1M |
|---|---|---|---|---|---|---|
| SocialOps | Grok 4.6 | 98.9 / 96.7 | 98.0 / 93.3 | 96.7 / 96.7 | 96.8 / 93.3 | 99.3 / 93.3 |
| Qwen3.8-Flash | 100.0 / 100.0 | 100.0 / 100.0 | 97.8 / 96.7 | 95.6 / 90.0 | 80.7 / 53.3 | |
| DeepSeek V4.1 Flash | 100.0 / 100.0 | 98.7 / 96.7 | 97.8 / 96.7 | 96.9 / 86.7 | 90.3 / 80.0 | |
| Gemini 3.8 Flash | 96.7 / 90.0 | 92.7 / 63.3 | 90.7 / 76.7 | 80.4 / 50.0 | 47.4 / 30.0 | |
| GPT-5.6 Sol | 70.0 / 53.3 | 54.0 / 26.7 | 46.9 / 13.3 | 33.5 / 10.0 | 20.6 / 0.0 | |
| LogisticsOps | Grok 4.6 | 100.0 / 100.0 | 99.1 / 96.7 | 100.0 / 100.0 | 99.7 / 96.7 | 89.2 / 83.3 |
| Family | Grok | Qwen | DeepSeek | Gemini | GPT |
|---|---|---|---|---|---|
| SocialOps | |||||
| Overlapping conversions | 99.1 / 98.0 | 97.0 / 92.0 | 96.8 / 92.0 | 95.4 / 92.0 | 46.1 / 22.0 |
| Cooldown reactivation | 98.0 / 94.0 | 96.7 / 90.0 | 96.3 / 90.0 | 69.8 / 30.0 | 40.6 / 20.0 |
| Overlap + reactivation | 96.6 / 92.0 | 90.7 / 82.0 | 97.1 / 94.0 | 79.5 / 64.0 | 48.4 / 20.0 |
| LogisticsOps | |||||
| Carrier disruption | 97.5 / 96.0 | 42.8 / 34.0 | 58.3 / 44.0 | 52.0 / 50.0 | 51.5 / 20.0 |
| All executions | Successful executions | |||||
|---|---|---|---|---|---|---|
| Model | Attempts | Compactions | Util. (%) | Median | P90 | |
| Grok 4.6 | 1,224,271 | 4,182 | 76.7 | 754 | ||
| Qwen3.8-Flash | 952,604 | 1,818 | 73.6 | 529 | ||
| DeepSeek V4.1 Flash | 1,162,694 | 3,379 | 75.9 | 495 | ||
| Gemini 3.8 Flash | 583,490 | 1,578 | 70.7 | 451 | ||
| GPT-5.6 Sol | 1,134,881 | 2,898 | 82.3 | 195 | ||
| Workload | Measured/all finals | Events | Measured rate (%) | All assigned (%) |
|---|---|---|---|---|
| 64K | 206/208 | 5 | 2.4 | 0.5 |
| 128K | 406/412 | 21 | 5.2 | 2.0 |
| 256K | 518/543 | 79 | 15.3 | 7.5 |
| 512K | 609/653 | 191 | 31.4 | 18.2 |
| 1M | 706/742 | 381 | 54.0 | 36.3 |
| Task success (%) | ||||
|---|---|---|---|---|
| Workload | ||||
| 64K | 88.6 | 92.1 | 95.3 | 99.7 |
| 128K | 79.7 | 85.8 | 93.3 | 100.0 |
| 256K | 75.0 | 80.2 | 87.3 | 100.0 |
| 512K | 74.5 | 75.9 | 83.1 | 100.0 |
| 1M | 62.2 | 65.7 | 71.6 | 96.3 |
| Public rejection reason | Attempts |
| Required historical source identities | 1,796 |
| Current decayed audience loads | 1,222 |
| Due-post time or status | 366 |
| Schema / post lookup | 2 / 1 |
| Total rejected / matched attempts | 3,387 / 24,713 |
| Model | 64K | 128K | 256K | 512K | 1M |
|---|---|---|---|---|---|
| Grok | 68/131 | 91/375 | 107/853 | 118/1443 | 129/3484 |
| Qwen | 122/335 | 150/709 | 160/1048 | 162/2097 | 166/2251 |
| DeepSeek | 135/335 | 140/897 | 152/1138 | 158/1348 | 170/3432 |
| Gemini | 107/333 | 132/793 | 143/891 | 97/426 | 92/1174 |
| GPT | 159/602 | 174/1283 | 179/2069 | 180/3584 | 180/4234 |
| Workload | Executions | Failed goals | Recovered (%) | Rechecked, no pass (%) | No recheck (%) |
|---|---|---|---|---|---|
| 64K | 591 | 1,736 | 88.7 | 5.8 | 5.4 |
| 128K | 687 | 4,057 | 82.6 | 11.0 | 6.5 |
| 256K | 741 | 5,999 | 80.5 | 12.7 | 6.8 |
| 512K | 715 | 8,898 | 79.7 | 14.6 | 5.8 |
| 1M | 737 | 14,575 | 74.1 | 15.8 | 10.1 |
| First pass (%) | Ever accepted (%) | Additional checks | |||||
|---|---|---|---|---|---|---|---|
| Environment | Executions | Retained | Removed | Retained | Removed | Retained | Removed |
| FinanceOps | 342 | 50.7 | 47.1 | 51.1 | 51.1 | 0.16 | 0.28 |
| FieldOps | 302 | 96.2 | 94.3 | 99.3 | 99.2 | 0.05 | 0.06 |
| SocialOps | 137 | 95.4 | 86.8 | 100.0 | 100.0 | 0.08 | 0.22 |
| LogisticsOps | 159 | 77.1 | 67.0 | 97.3 | 91.7 | 0.49 | 1.05 |
| ResearchOps | 120 | 99.7 | 99.6 | 100.0 | 100.0 | 0.00 | 0.00 |
| Compaction | Executions | LGC (%) | TS (%) | Mean tool calls |
|---|---|---|---|---|
| None | 1,116 | 37.0 | 23.4 | 303 |
| At least one | 1,734 | 71.3 | 41.1 | 1,159 |
| Workload | LGC | Unused allowance | Low progress, high allowance | |
|---|---|---|---|---|
| Gemini 3.8 Flash | ||||
| 64K | 41 | 66.7 | 18.1 | 0.0 |
| 128K | 82 | 66.1 | 24.3 | 15.9 |
| 256K | 112 | 25.0 | 44.7 | 36.6 |
| 512K | 153 | 3.2 | 90.8 | 67.3 |
| 1M | 188 | 1.2 | 96.1 | 83.0 |
| Configuration | Success | Final failure | exhausted | TS |
|---|---|---|---|---|
| Harbor + Inspect | 9 | 38 | 3 | 18.0 |
| Codex + direct MCP | 42 | 8 | 0 | 84.0 |
| Environment | LGC | TS | High-completion failures |
|---|---|---|---|
| FinanceOps | 85.0 | 6.7 | 21 |
| FieldOps | 84.7 | 30.0 | 14 |
| DocOps | 97.2 | 66.7 | 8 |
Long-Horizon Agent Tasks
Long-Horizon Agent Tasks study how AI agents plan, remember, and act reliably across extended, multi-step interactions.
See all 180 papers