Skip to content
Skillpedia
Testing48k · #4035

run-deep-swe

Allows your agent to run performance evaluations on AI coding models. It helps compare and improve the quality of generated code.

What it does

This agent tests the ability of other AI agents to solve programming problems. It uses a test suite called DeepSWE to see how well an AI model performs on coding tasks.

When to use it

  • ✓When you want to compare the performance of different AI models on programming tasks.
  • ✓When you need a plan to test coding agents repeatably.
  • ✓When you want to see the results and artifacts of a coding agent test.

Example of what to ask your AI

“Test the 'minimax/minimax-m3' model on the DeepSWE benchmark using OpenRouter.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

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

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/run-deep-swe/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It runs a program called 'pier' which manages the tests. 'pier' uses 'mini-swe-agent' to interact with the chosen AI model through OpenRouter, which is a service that connects various AI models.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill run-deep-swe

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/run-deep-swe/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
FAQ

What is DeepSWE?

It is a set of 113 programming tasks used to test the skill of AI agents in solving coding problems.

What is OpenRouter?

It is a service that allows you to access and use different AI models from various providers, using a single API key.

Do I need to install anything?

Yes, you need to have 'uv', 'git', and 'docker' installed, and the Docker service running. You also need to set up your OpenRouter API key.

Details

Original description by the author

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

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4035
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills