Chuyển đến nội dung
Skillpedia
Kiểm thử48k · #5649

run-deep-swe

Skill này làm gì

Agent này kiểm tra khả năng của các agent AI khác trong việc giải quyết bài toán lập trình. Nó dùng bộ kiểm thử có tên DeepSWE để xem một mô hình AI làm tác vụ lập trình tốt đến đâu.

Khi nào nên dùng

  • ✓Khi bạn muốn so sánh hiệu năng của các mô hình AI khác nhau trên tác vụ lập trình.
  • ✓Khi bạn cần một kế hoạch để kiểm thử các agent lập trình một cách lặp lại được.
  • ✓Khi bạn muốn xem kết quả và artifacts của một lần kiểm thử agent lập trình.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/run-deep-swe/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/run-deep-swe/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm thử mô hình 'minimax/minimax-m3' trên bộ benchmark DeepSWE bằng OpenRouter.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó chạy một chương trình tên 'pier' để quản lý các bài kiểm thử. 'pier' dùng 'mini-swe-agent' để tương tác với mô hình AI đã chọn thông qua OpenRouter, một dịch vụ kết nối nhiều mô hình AI khác nhau.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Run DeepSWE via OpenRouter

When to Use

  • Use when the user wants to benchmark a model on DeepSWE or mini-swe-agent tasks.
  • Use when you need a reproducible coding-agent evaluation plan and output artifacts.

DeepSWE (deepswe.datacurve.ai) is a 113-task Harbor-compatible coding-agent benchmark. It runs via Pier (Harbor fork) driving mini-swe-agent (model-agnostic). Any model reachable through OpenRouter can be scored.

Prerequisites — state-check first

which uv git docker || echo "MISSING: install uv, git, docker"
docker info >/dev/null 2>&1 || echo "MISSING: Docker daemon not running (Pier's default sandbox)"
echo "OPENROUTER_API_KEY set? ${OPENROUTER_API_KEY:+YES}"

Docker must be running — Pier sandboxes each task in Docker by default (--env modal for cloud instead).

OPENROUTER_API_KEY must already be present in the environment. If it is unset, ask the user to configure their preferred secret-management path; do not read shell startup files, print secrets, or invent a key.

Setup

git clone https://github.com/datacurve-ai/deep-swe && cd deep-swe
uv tool install datacurve-pier            # PyPI (preferred)
# or: uv tool install git+https://github.com/datacurve-ai/pier
# pier bundles mini-swe-agent as the --agent driver

Run all pier commands from inside deep-swe/, using relative -p tasks/....

OpenRouter wiring (the part the docs don't spell out)

mini-swe-agent has a native OpenRouter model class. Both routes below use OPENROUTER_API_KEY and the OpenRouter slug (vendor/model, e.g. minimax/minimax-m3):

Route A — native OpenRouter class (preferred, hits openrouter.ai/api/v1 directly):

pier run -p deep-swe/tasks --agent mini-swe-agent \
  --model minimax/minimax-m3 --model-class openrouter

Route B — LiteLLM provider prefix (fallback; same key):

pier run -p deep-swe/tasks --agent mini-swe-agent \
  --model openrouter/minimax/minimax-m3

Notes:

  • Slug = the exact OpenRouter slug. Verify it at openrouter.ai/models before running.
  • Free/zero-cost models: OpenRouter cost tracking can error. Set export MSWEA_COST_TRACKING=ignore_errors.
  • Flag spelling can vary by version — confirm with pier run --help and mini --help.

Smoke test FIRST (1 task — do this before any full run)

Always validate end-to-end wiring on a single task before spending tokens on the corpus:

pier run -p deep-swe/tasks/<task-id> --agent mini-swe-agent \
  --model minimax/minimax-m3 --model-class openrouter
# list available task ids:
ls deep-swe/tasks

Pass criteria: run completes, model returns actions (not auth/format errors), a score/trajectory is emitted. If it 401s → key wrong. If "provider not provided"/"model not mapped" → fix slug or switch route.

Subset run (deterministic sample)

pier run -p deep-swe/tasks --agent mini-swe-agent \
  --model minimax/minimax-m3 --model-class openrouter \
  --n-tasks 10 --sample-seed 0

Full 113-task corpus (costs tokens + time — confirm with user first)

pier run -p deep-swe/tasks --agent mini-swe-agent \
  --model minimax/minimax-m3 --model-class openrouter
# add `--env modal` to run in parallel Modal sandboxes (needs Modal configured)

Output & leaderboard

  • Trials land in jobs/<run>/<trial_id>/. Inspect with pier view jobs/<run>, pier analyze jobs/<run>, or pier critique run jobs/<run>.
  • Report: the exact command used, pass/fail, score, and any blockers.
  • Submit results for the official leaderboard to: <email-address>

Failure modes

Symptom Cause Fix
HTTP 401 bad/missing key re-export OPENROUTER_API_KEY
"LLM Provider NOT provided" missing slug prefix use Route B openrouter/... or Route A with --model-class openrouter
"model isn't mapped"/cost error unknown cost for model export MSWEA_COST_TRACKING=ignore_errors
unknown flag version drift check pier run --help

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
Câu hỏi thường gặp

DeepSWE là gì?

Đó là một bộ gồm 113 tác vụ lập trình dùng để kiểm tra kỹ năng của các agent AI trong việc giải quyết bài toán code.

OpenRouter là gì?

Đó là dịch vụ cho phép bạn truy cập và dùng các mô hình AI khác nhau từ nhiều nhà cung cấp, chỉ với một khóa API duy nhất.

Tôi có cần cài đặt gì không?

Có, bạn cần cài 'uv', 'git' và 'docker', đồng thời chạy dịch vụ Docker. Bạn cũng cần thiết lập khóa API OpenRouter của mình.

Chi tiết

Mô tả gốc của tác giả

Run reproducible DeepSWE coding-agent benchmark evaluations through OpenRouter and mini-swe-agent.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5649
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự