# Analyze Task

Check OSWorld tasks.

- Repository: https://github.com/AMAP-ML/LongHorizon-Harness (1799 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-21
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add AMAP-ML/LongHorizon-Harness --skill analyze-task -g -a claude-code -y`
Codex: `npx skills add AMAP-ML/LongHorizon-Harness --skill analyze-task -g -a codex -y`
Cursor: `npx skills add AMAP-ML/LongHorizon-Harness --skill analyze-task -g -a cursor -y`
Gemini CLI: `npx skills add AMAP-ML/LongHorizon-Harness --skill analyze-task -g -a gemini-cli -y`

## Description

Check OSWorld tasks. Validate the evaluation function, verify that the instruction is feasible given the task setup and agent-visible files, inspect setup artifacts when needed, and produce both markdown and structured JSON reports.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

If only one task is issued, analyze it directly with instruction: [analyze-single-task.md](prompts/analyze-single-task.md).

If multiple tasks are issued, use subagents to analyze them in parallel (one agent for each task) and save reports under `check/<task_id>/`. Do not analyze them sequentially by yourself. DO NOT tell it what to do. Just ask the subagent to analyze the task in target directory and use this skill (analyze-task) to do the analysis. Pass any user instructions to every subagent.

After the subagents finish, do nothing but report to user that the check is done and where to find the reports.

