[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FN46QH5B25X9SXCJ5PNWD":3,"skill-same:01M71FN46QH5B25X9SXCJ5PNWD":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M71FN46QH5B25X9SXCJ5PNWD","create-adapter",null,"Scaffold a new Harbor benchmark adapter by running `harbor adapter init` and then guide implementation using the Adapters Agent Guide as the authoritative spec.","pku-liang\u002Fhwe-bench","pku-liang","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81861363?v=4","01M71FMJQ2VZ4YEERAS5FJ438T","PKU Yun (Eric) Liang Research Group","01M71FMJR6AXWMX6K35KS4ZS6G",73,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fcreate-adapter\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"adapter","create adapter","create","running","as","init","new","harbor","spec","benchmark","implementation","Adapters","agent guide","guide","scaffold","2026-11-10 10:12:30",false,"---\nname: create-adapter\ndescription: Scaffold a new Harbor benchmark adapter by running `harbor adapter init` and then guide implementation using the Adapters Agent Guide as the authoritative spec.\n---\n\n# Create Adapter\n\nBootstrap a new benchmark adapter in the Harbor repository. This skill scaffolds the adapter directory with `harbor adapter init` and then defers to the adapter tutorial for every implementation decision.\n\n## Authoritative reference\n\nThe adapter tutorial is the authoritative specification for this skill. Read it in full before taking any action beyond scaffolding:\n\n```\ndocs\u002Fcontent\u002Fdocs\u002Fdatasets\u002Fadapters.mdx\n```\n\nThat path is relative to the Harbor repo root (a skill prerequisite — see below). The tutorial contains:\n\n- Required directory structures for the generated tasks and the adapter code package.\n- Step-by-step process (steps 1-9) covering benchmark analysis, oracle verification, parity experiments, dataset registration, and submission.\n- Schemas for `task.toml`, `parity_experiment.json`, `adapter_metadata.json`, and `dataset.toml`.\n- Parity matching criterion, pre-flight checklist, and debug playbook.\n- README format rules (machine-parsed; deviations break automation).\n\nDo not substitute prior knowledge for the contents of that file. Treat it as the contract.\n\n## Prerequisites\n\n- Harbor CLI is installed and available on `PATH` (`harbor --version` succeeds).\n- Working directory is the Harbor repository root.\n- Harbor checkout is current: run `git fetch origin && git status` and pull `main` if behind. Stale checkouts miss recent adapter and agent fixes and are a common source of spurious parity failures later on.\n\n## Workflow\n\n### 1. Read the tutorial\n\nBefore any filesystem or CLI action, Read `docs\u002Fcontent\u002Fdocs\u002Fdatasets\u002Fadapters.mdx` in full. Pay particular attention to:\n\n- **Required Directory Structures** — the contract for generated task and adapter layouts.\n- **Step 1. Understand the Original Benchmark** — what to identify upstream before coding.\n- **Step 8. Register the Dataset → Naming rules** — the `name` field and `\u003Corg>\u002F\u003Ctask>` format requirements.\n\n### 2. Gather benchmark context from the user\n\nCollect the following before scaffolding. If the user has not provided an item, ask before proceeding — these inputs shape the scaffold and the tutorial steps that follow.\n\n| Field | Why it matters |\n|-------|---------------|\n| Adapter name | Lowercase, hyphen-separated. Must match the benchmark's common identifier (e.g., `swe-bench`, `aider-polyglot`). Becomes the directory under `adapters\u002F` and, after underscore conversion, the Python package name. |\n| Human-readable name | Passed via `--name`; appears in the generated README. |\n| Upstream repo URL | Needed for tutorial Step 1 (benchmark analysis) and for the `original_parity_repo` field later. |\n| Oracle solutions available? | If the benchmark ships reference solutions, use them. If not, oracle solutions must be LLM-generated (tutorial Step 3 → \"Benchmarks without oracle solutions\"). |\n| Agent scenario | Which of Step 4's scenarios applies: (1) existing compatible agent, (2) fork + add LLM agent, or (3) custom agent. This shapes the parity plan. |\n\n### 3. Create the adapter branch\n\nPer tutorial Step 2, work on a dedicated branch:\n\n```bash\ngit checkout -b \u003Cadapter-name>-adapter\n```\n\n### 4. Run the scaffold\n\nPrefer the non-interactive form when both names are known:\n\n```bash\nharbor adapter init \u003Cadapter-name> --name \"\u003CHuman-Readable Name>\"\n```\n\nOtherwise run `harbor adapter init` interactively and let the CLI prompt.\n\nExpected output: a new directory at `adapters\u002F\u003Cadapter-name>\u002F` containing `pyproject.toml`, `README.md`, `src\u002F\u003Cadapter_name>\u002F`, and the template task files under `src\u002F\u003Cadapter_name>\u002Ftask-template\u002F`. Verify the directory exists before continuing.\n\n### 5. Hand off to the tutorial\n\nContinue from \"Step 1. Understand the Original Benchmark\" in the tutorial. Do not invent structure, field names, or workflow beyond what the guide specifies.\n\n**High-priority gotchas** (each is documented in the tutorial, but these are the most common adapter-build failures — surface them proactively as you work through the steps):\n\n- **Every generated `task.toml` must contain a `name` field under `[task]`.** `main.py` is responsible for deriving a sanitized, unique, registry-safe name for every task. Tasks without a `name` cannot be registered. See the tutorial's \"Naming rules\" table.\n- **Task names must be stable across adapter runs.** Unstable names churn registry digests on republish. If upstream lacks stable identifiers, mint a deterministic scheme (e.g., `{dataset}-1`, `{dataset}-2`) from a reproducible sort.\n- **Use `schema_version = \"1.4\"` at the top of `task.toml`.** Set package versions separately with `[task].version` in `task.toml` and `[dataset].version` in `dataset.toml`. Request any desired registry tags in the PR description.\n- **`main.py` must support `--output-dir`, `--limit`, `--overwrite`, and `--task-ids`.** These flags are required for reproducible runs and task-level debugging.\n- **The generated `README.md` is parsed by downstream automation.** Fill in every section exactly as the template defines; put extra context in the **Notes** section or in the `notes` fields of `parity_experiment.json` \u002F `adapter_metadata.json`. Do not add, rename, reorder, or remove sections.\n- **Do not run parity experiments unilaterally.** Tutorial Step 4 requires team coordination on agents, models, and number of runs before incurring API costs. Complete sanity checks first, and execute full runs symmetrically on both sides.\n\n## Reference adapters by scenario\n\nWhen implementation questions come up, point at an existing adapter that matches the benchmark's shape:\n\n| Scenario | Example adapter | When to use |\n|----------|----------------|-------------|\n| Compatible agent already exists | `adapters\u002Fadebench\u002F` | Upstream already supports Claude-Code \u002F Codex \u002F OpenHands \u002F Gemini-CLI |\n| Fork upstream + add LLM agent | `adapters\u002Fevoeval\u002F` | LLM-based benchmark with no Harbor-compatible agent |\n| Custom agent, separate dataset | `adapters\u002Fbixbench\u002F`, `adapters\u002Ffinanceagent\u002F` | Custom interaction semantics; financeagent also demos LLM-as-a-Judge |\n| Custom agent in-place | `adapters\u002Fmedagentbench\u002F` | Custom HTTPAgent, no separate dataset |\n| Multi-agent workflow | `adapters\u002Fcooperbench\u002F` | Multiple agents coordinate via messaging \u002F sidecars |\n| GPU tasks | `adapters\u002Ffeaturebench\u002F` | Comprehensive Docker + Modal GPU example |\n\n## What this skill does NOT do\n\n- Implement `adapter.py`, `main.py`, or any task-template files. Those are the contributor's work, guided by the tutorial.\n- Run oracle verification or parity experiments. Those require explicit user intent and, for parity, team coordination.\n- Publish the dataset or open PRs. Those are later steps in the tutorial.\n\n## Failure modes\n\n| Symptom | Likely cause | Action |\n|---------|--------------|--------|\n| `harbor: command not found` | Harbor CLI not installed | Install with `uv tool install harbor` or the repository's development setup. |\n| `harbor adapter init` fails with a name validation error | Adapter name contains invalid characters | Re-run with a lowercase, hyphen-separated name. |\n| Scaffold succeeds but `adapters\u002F\u003Cname>\u002F` is not present | Running from outside the repository root | `cd` to the Harbor repository root and re-run. |\n| Oracle passes locally but parity later fails spuriously | Stale Harbor checkout | `git fetch origin && git status`; pull `main` if behind. |\n","# Create Adapter\n\nBootstrap a new benchmark adapter in the Harbor repository. This skill scaffolds the adapter directory with `harbor adapter init` and then defers to the adapter tutorial for every implementation decision.\n\n## Authoritative reference\n\nThe adapter tutorial is the authoritative specification for this skill. Read it in full before taking any action beyond scaffolding:\n\n```\ndocs\u002Fcontent\u002Fdocs\u002Fdatasets\u002Fadapters.mdx\n```\n\nThat path is relative to the Harbor repo root (a skill prerequisite — see below). The tutorial contains:\n\n- Required directory structures for the generated tasks and the adapter code package.\n- Step-by-step process (steps 1-9) covering benchmark analysis, oracle verification, parity experiments, dataset registration, and submission.\n- Schemas for `task.toml`, `parity_experiment.json`, `adapter_metadata.json`, and `dataset.toml`.\n- Parity matching criterion, pre-flight checklist, and debug playbook.\n- README format rules (machine-parsed; deviations break automation).\n\nDo not substitute prior knowledge for the contents of that file. Treat it as the contract.\n\n## Prerequisites\n\n- Harbor CLI is installed and available on `PATH` (`harbor --version` succeeds).\n- Working directory is the Harbor repository root.\n- Harbor checkout is current: run `git fetch origin && git status` and pull `main` if behind. Stale checkouts miss recent adapter and agent fixes and are a common source of spurious parity failures later on.\n\n## Workflow\n\n### 1. Read the tutorial\n\nBefore any filesystem or CLI action, Read `docs\u002Fcontent\u002Fdocs\u002Fdatasets\u002Fadapters.mdx` in full. Pay particular attention to:\n\n- **Required Directory Structures** — the contract for generated task and adapter layouts.\n- **Step 1. Understand the Original Benchmark** — what to identify upstream before coding.\n- **Step 8. Register the Dataset → Naming rules** — the `name` field and `\u003Corg>\u002F\u003Ctask>` format requirements.\n\n### 2. Gather benchmark context from the user\n\nCollect the following before scaffolding. If the user has not provided an item, ask before proceeding — these inputs shape the scaffold and the tutorial steps that follow.\n\n| Field | Why it matters |\n|-------|---------------|\n| Adapter name | Lowercase, hyphen-separated. Must match the benchmark's common identifier (e.g., `swe-bench`, `aider-polyglot`). Becomes the directory under `adapters\u002F` and, after underscore conversion, the Python package name. |\n| Human-readable name | Passed via `--name`; appears in the generated README. |\n| Upstream repo URL | Needed for tutorial Step 1 (benchmark analysis) and for the `original_parity_repo` field later. |\n| Oracle solutions available? | If the benchmark ships reference solutions, use them. If not, oracle solutions must be LLM-generated (tutorial Step 3 → \"Benchmarks without oracle solutions\"). |\n| Agent scenario | Which of Step 4's scenarios applies: (1) existing compatible agent, (2) fork + add LLM agent, or (3) custom agent. This shapes the parity plan. |\n\n### 3. Create the adapter branch\n\nPer tutorial Step 2, work on a dedicated branch:\n\n```bash\ngit checkout -b \u003Cadapter-name>-adapter\n```\n\n### 4. Run the scaffold\n\nPrefer the non-interactive form when both names are known:\n\n```bash\nharbor adapter init \u003Cadapter-name> --name \"\u003CHuman-Readable Name>\"\n```\n\nOtherwise run `harbor adapter init` interactively and let the CLI prompt.\n\nExpected output: a new directory at `adapters\u002F\u003Cadapter-name>\u002F` containing `pyproject.toml`, `README.md`, `src\u002F\u003Cadapter_name>\u002F`, and the template task files under `src\u002F\u003Cadapter_name>\u002Ftask-template\u002F`. Verify the directory exists before continuing.\n\n### 5. Hand off to the tutorial\n\nContinue from \"Step 1. Understand the Original Benchmark\" in the tutorial. Do not invent structure, field names, or workflow beyond what the guide specifies.\n\n**High-priority gotchas** (each is documented in the tutorial, but these are the most common adapter-build failures — surface them proactively as you work through the steps):\n\n- **Every generated `task.toml` must contain a `name` field under `[task]`.** `main.py` is responsible for deriving a sanitized, unique, registry-safe name for every task. Tasks without a `name` cannot be registered. See the tutorial's \"Naming rules\" table.\n- **Task names must be stable across adapter runs.** Unstable names churn registry digests on republish. If upstream lacks stable identifiers, mint a deterministic scheme (e.g., `{dataset}-1`, `{dataset}-2`) from a reproducible sort.\n- **Use `schema_version = \"1.4\"` at the top of `task.toml`.** Set package versions separately with `[task].version` in `task.toml` and `[dataset].version` in `dataset.toml`. Request any desired registry tags in the PR description.\n- **`main.py` must support `--output-dir`, `--limit`, `--overwrite`, and `--task-ids`.** These flags are required for reproducible runs and task-level debugging.\n- **The generated `README.md` is parsed by downstream automation.** Fill in every section exactly as the template defines; put extra context in the **Notes** section or in the `notes` fields of `parity_experiment.json` \u002F `adapter_metadata.json`. Do not add, rename, reorder, or remove sections.\n- **Do not run parity experiments unilaterally.** Tutorial Step 4 requires team coordination on agents, models, and number of runs before incurring API costs. Complete sanity checks first, and execute full runs symmetrically on both sides.\n\n## Reference adapters by scenario\n\nWhen implementation questions come up, point at an existing adapter that matches the benchmark's shape:\n\n| Scenario | Example adapter | When to use |\n|----------|----------------|-------------|\n| Compatible agent already exists | `adapters\u002Fadebench\u002F` | Upstream already supports Claude-Code \u002F Codex \u002F OpenHands \u002F Gemini-CLI |\n| Fork upstream + add LLM agent | `adapters\u002Fevoeval\u002F` | LLM-based benchmark with no Harbor-compatible agent |\n| Custom agent, separate dataset | `adapters\u002Fbixbench\u002F`, `adapters\u002Ffinanceagent\u002F` | Custom interaction semantics; financeagent also demos LLM-as-a-Judge |\n| Custom agent in-place | `adapters\u002Fmedagentbench\u002F` | Custom HTTPAgent, no separate dataset |\n| Multi-agent workflow | `adapters\u002Fcooperbench\u002F` | Multiple agents coordinate via messaging \u002F sidecars |\n| GPU tasks | `adapters\u002Ffeaturebench\u002F` | Comprehensive Docker + Modal GPU example |\n\n## What this skill does NOT do\n\n- Implement `adapter.py`, `main.py`, or any task-template files. Those are the contributor's work, guided by the tutorial.\n- Run oracle verification or parity experiments. Those require explicit user intent and, for parity, team coordination.\n- Publish the dataset or open PRs. Those are later steps in the tutorial.\n\n## Failure modes\n\n| Symptom | Likely cause | Action |\n|---------|--------------|--------|\n| `harbor: command not found` | Harbor CLI not installed | Install with `uv tool install harbor` or the repository's development setup. |\n| `harbor adapter init` fails with a name validation error | Adapter name contains invalid characters | Re-run with a lowercase, hyphen-separated name. |\n| Scaffold succeeds but `adapters\u002F\u003Cname>\u002F` is not present | Running from outside the repository root | `cd` to the Harbor repository root and re-run. |\n| Oracle passes locally but parity later fails spuriously | Stale Harbor checkout | `git fetch origin && git status`; pull `main` if behind. |\n",{"name":5,"description":7},"main","10c78a87e1f92695d78d15b1464a6107dcac8837","deps\u002Fharbor\u002Fskills\u002Fcreate-adapter",9,"https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench","https:\u002F\u002Fgithub.com\u002Fpku-liang","https:\u002F\u002Fericlyun.github.io\u002F","2026-11-11 10:00:32",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add pku-liang\u002Fhwe-bench --skill create-adapter",{"tool":53,"command":54},"bunx","bunx skills add pku-liang\u002Fhwe-bench --skill create-adapter",{"tool":56,"command":57},"pnpm","pnpm dlx skills add pku-liang\u002Fhwe-bench --skill create-adapter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fcreate-adapter\u002FSKILL.md",true,[],[62,85,105,119,140,158],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":34},"01M71FNJ6S5MATHHD81PMD42MM","upload-parity-experiments","Create or reuse Hugging Face dataset PRs for `harborframework\u002Fparity-experiments` and upload Harbor parity\u002Foracle result folders efficiently with sparse checkout, raw git pushes, and Git LFS.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fupload-parity-experiments\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,21,78,26,79,80,81,82,83,84],"parity","experiments","upload parity experiments","upload","reuse","face","hugging face","git","result","with","dataset","oracle","prs","lfs","for","checkout",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":34},"01M71FNG0TQD738NZGZN1W31AF","rewardkit","Write Harbor task verifiers using Reward Kit. Use when creating or editing a task's tests\u002F directory, adding grading criteria, setting up LLM\u002Fagent judges, or designing verifiers that produce a reward score.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Frewardkit\u002FSKILL.md",[],[87,92,93,26,94,95,96,97,98,99,100,101,102,103,104],"tests","Verifiers","task","when","use","produce","kit","grading","up","editing","setting","directory","write",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":34},"01M71FNCKK74MFE7MYSPVN0YAT","publish","Publish a Harbor task or dataset to the registry. Use when the user wants to upload, publish, or share tasks or datasets\u002Fbenchmarks on the Harbor registry.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fpublish\u002FSKILL.md",[],[107,112,26,113,94,114,115,72,79,95,96,116,117,118],"share","path","user","benchmarks","registry","datasets","tasks",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":34},"01M71FN9MJMRMA5E1AZCRFKN6M","harbor-exec","Use when working with Harbor's `harbor exec` CLI workflow: compiling files, directories, or globs into Harbor tasks; running map jobs; configuring artifacts and existence-only verification; using map-reduce; writing or reviewing ExecConfig YAML\u002FJSON\u002FTOML; or debugging command behavior, config validation, and job outputs.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fharbor-exec\u002FSKILL.md",[],[126,26,127,128,129,22,130,131,132,78,118,133,134,95,135,96,136,137,138,139],"exec","harbor exec","toml","directories","outputs","artifacts","verification","workflow","reduce","debugging","writing","files","map","only",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":34},"01M71FN6EG0E0TG5HVC5ZGV6PW","create-task","Create a new Harbor task for evaluating agents. Use when the user wants to scaffold, build, or design a new task, benchmark problem, or eval. Guides through instruction writing, environment setup, verifier design (pytest vs Reward Kit vs custom), and solution scripting.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fskills\u002Fcreate-task\u002FSKILL.md",[],[21,94,147,148,96,149,150,151,83,152,28,153,95,136,25,98,154,155,156,157],"create task","org","custom","verifier","environment","pytest","guides","design","eval","new task","problem",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":34},"01M71FN35PFRFKD7ZKMH9WHZDV","generate-greeting","Generate a greeting message and write it to a file.","https:\u002F\u002Fgithub.com\u002Fpku-liang\u002Fhwe-bench\u002Fblob\u002Fmain\u002Fdeps\u002Fharbor\u002Fexamples\u002Ftasks\u002Fhello-skills\u002Fenvironment\u002Fskills\u002Fgenerate-greeting\u002FSKILL.md",[],[165,166,167,168,169,170,104],"greeting","generate","generate greeting","it","message","file"]