Skip to content
Development
Skill

/add-benchmark

Add a new benchmark task to the bench-swe pipeline from a real GitHub bug-fix. The human provides the GitHub issue or PR URL; the agent handles extraction, validation, and file creation.

From plugin
lumen
3143 skills2 agents2 hooks1 MCP

Claude Code

$ npx -y skills add ory/lumen --skill add-benchmark --agent claude-code

SKILL.md

add-benchmark.SKILL.md
name: add-benchmark
description:
  Add a new SWE benchmark task from a real GitHub bug-fix. Use when the user
  provides a GitHub issue or PR URL and wants to add it to the bench-swe
  pipeline.
argument-hint: <github-issue-or-pr-url> <language>
disable-model-invocation: true

Add SWE Benchmark

Add a new benchmark task to the bench-swe pipeline from a real GitHub bug-fix. The human provides the GitHub issue or PR URL; the agent handles extraction, validation, and file creation.

Arguments

  • **url** (required): GitHub issue or PR URL (e.g.

`https://github.com/gorilla/mux/issues/534` or `https://github.com/gorilla/mux/pull/585`)

  • **language** (required): One of: go, python, typescript, javascript, rust,

ruby, java, c, cpp, php, csharp

Repository selection criteria

Good benchmark repos are **focused libraries with a clear bug** — not large applications. Before submitting a URL, prefer repos that are:

  • **Size**: < 50 MB and < 800 source files (excludes vendor/node_modules)
  • **Dependencies**: < 50 direct dependencies (go.mod, package.json, etc.)
  • **Scope**: a library or small service, not a monorepo or full application

The agent will reject repos that exceed these limits.

Steps

1. Dispatch the `task-curator` agent with the provided arguments. The agent will:

  • Validate inputs (URL, language)
  • Check repository size and dependency count (rejects oversized repos)
  • Resolve the fix PR (from issue or directly)
  • Clone the repo, extract base/fix commits, and generate the gold patch
  • Determine the test command from repo conventions
  • Write task JSON to `bench-swe/tasks/{language}/` and patch to

`bench-swe/patches/`

  • Run 5 inline verification checks (patch applies, files match, no leaks,

schema completeness, no test files in patch)

  • Fix any issues found during verification

2. Report the result including:

  • Task ID, repo, issue URL
  • Files and lines changed
  • Verification table
Read more
@ory
Ships withlumen

Save 30% token costs when using Claude Code, Codex, OpenCode for free - with open source, local semantic search. Works for small and large codebases and monorepos! Enterprise-ready and fully compliant via Ollama and SQLite-vec.

3143 skills2 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
314
Star history of ory/lumen on GitHub, a chart by star-history.com

Other skills on lumen.

doctor

doctor

Run a health check on the bundled Lumen semantic search setup for the current project, verify backend reachability and index…

@ory@oryInstall Skill
reindex

reindex

Refresh or rebuild the bundled Lumen index for the current project, preferring MCP-driven refreshes and using the CLI only for an…

@ory@oryInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about add-benchmark.

Which coding agents can use add-benchmark?
add-benchmark installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.