amap-ml/longhorizon-harness/migrate-osworld-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Migrate an agent from upstream OSWorld into this OSWorld-V2 repository, add matching evaluation entrypoints, and verify the integration.

Install

npx vskill@latest install amap-ml/longhorizon-harness/migrate-osworld-agent

SKILL.md

Migrate OSWorld Agent

Use this when adding an upstream OSWorld agent to this repo.

Workflow

  1. Read the upstream agent.
  2. Read local patterns before editing:
  • use scripts/python/run_multienv_claude.py as the main runner reference
  • use scripts/bash/run_multienv_claude.sh as the shell entrypoint reference
  • if a similar local agent exists, use it only for interface shape
  • if none exists, derive the interface from the runner and DesktopEnv
  1. Copy the agent into mm_agents/ with a clear, non-conflicting name.
  2. Adapt only the repo-facing interfaces:
  • predict() return shape
  • action dict fields consumed by DesktopEnv.step()
  • ASK_USER turns and follow-up user responses
  • done/fail markers
  • task current date
  • platform, screen, provider, and password settings
  1. Add a matching multi-env Python runner under scripts/python/run_multienv_<agent>.py.
  • start from the closest retained runner structure
  • keep task loading, env recreation, checkpoint args, logs, and cleanup behavior
  • remove provider/model checks that only apply to the source runner
  1. Add a small shell entrypoint under scripts/bash/.
  • use uv run
  1. Keep unrelated agents, scripts, results, and local dirty files out of the change.

Verify

Run fast checks first.

  • Compile the new Python files.
  • Check shell syntax.
  • Check staged diff for whitespace.
  • Run local fake tests for:
  • action parsing
  • ASK_USER
  • user response returning to the agent
  • checkpoint argument parsing if touched

Then run one small real smoke test.

  • Use the intended provider.
  • Use a tiny step limit.
  • Prefer public IP for cloud providers when the local machine cannot reach private IPs.
  • Confirm the model call happens.
  • Confirm at least one environment action executes.
  • Confirm result files and trajectory are written.
  • Confirm cloud resources are cleaned up.

Before opening a PR, stage only the migration files and re-run the fast checks.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/amap-ml/longhorizon-harness/migrate-osworld-agent/badge)](https://verified-skill.com/skills/amap-ml/longhorizon-harness/migrate-osworld-agent)

Something wrong with this skill or its page? Tell us.