Analyze Traj
Agent Buildinganalyze-trajAnalyze Traj is an Agent Skill for agent building published in the xlang-ai/OSWorld-V2 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Analyze OSWorld-V2 agent trajectory logs and task results to produce actionable insights. Use this skill whenever the user wants to understand agent performance on OSWorld tasks — including analyzing trajectories, reviewing task results, finding error patterns, comparing code vs GUI strategies, identifying which tools/commands the agent used, or deciding which task types to scale up in the benchmark.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/xlang-ai/OSWorld-V2/blob/HEAD/.claude/skills/analyze-traj/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/analyze-traj, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
If only one task is issued, analyze it directly with instruction: analyze-single-traj.md.
If multiple tasks or a whole results directory are issued, use subagents to analyze them in parallel (one agent for each task). 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-traj) to do the analysis. Pass any user instructions to every subagent.
After the per-task reports are ready:
- Do nothing but report to the user that the analysis is done and where to find the reports.
- Ask user if they want to synthesize a run-level summary, if yes use: analyze-full-run.md.