create-adapter

create-adapter is a skill for Claude Code, Codex from pku-liang/hwe-bench. It costs 34 tokens per session (1,674 once invoked), scanned A, a copy of create-adapter, Apache-2.0.

A starter workflow for adding a new benchmark adapter to Harbor, a tool for running standardized tests on AI agents. It creates the initial adapter files and points to the repository’s detailed implementation guide.

In plain words
What is it for?
Use it when registering a new dataset, implementing an adapter, checking parity with a benchmark, or preparing an adapter for submission.
Why use it?
It gives the adapter the expected folder structure, data formats, and validation steps. This avoids missing requirements that could make the benchmark adapter unusable or fail automated checks.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions Gemini CLI.

Good fit Use it when registering a new dataset, implementing an adapter, checking parity with a benchmark, or preparing an adapter for submission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pku-liang/hwe-bench/create-adapter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pku-liang/hwe-bench --skill create-adapter
Clone the repo
git clone --depth 1 https://github.com/pku-liang/hwe-bench

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-adapter

README.md
[![agentmods](https://agentmods.dev/badge/skills/pku-liang/hwe-bench/create-adapter.svg)](https://agentmods.dev/skills/pku-liang/hwe-bench/create-adapter)
Your own site
<a href="https://agentmods.dev/skills/pku-liang/hwe-bench/create-adapter"><img src="https://agentmods.dev/badge/skills/pku-liang/hwe-bench/create-adapter.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01674
Opus 5 $0.00017 $0.00837
Sonnet 5 $0.00007 $0.00335
Haiku 4.5 $0.00003 $0.00167

Measured 8d ago against content hash e9e912e237f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

create-adapter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to create-adapter — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

deps/harbor/skills/create-adapter/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Adapter

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

Authoritative reference

The adapter tutorial is the authoritative specification for this skill. Read it in full before taking any action beyond scaffolding:

docs/content/docs/datasets/adapters.mdx

That path is relative to the Harbor repo root (a skill prerequisite — see below). The tutorial contains:

  • Required directory structures for the generated tasks and the adapter code package.
  • Step-by-step process (steps 1-9) covering benchmark analysis, oracle verification, parity experiments, dataset registration, and submission.
  • Schemas for task.toml, parity_experiment.json, adapter_metadata.json, and dataset.toml.
  • Parity matching criterion, pre-flight checklist, and debug playbook.
  • README format rules (machine-parsed; deviations break automation).

Do not substitute prior knowledge for the contents of that file. Treat it as the contract.

Prerequisites

  • Harbor CLI is installed and available on PATH (harbor --version succeeds).
  • Working directory is the Harbor repository root.
  • 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.

Workflow

1. Read the tutorial

Before any filesystem or CLI action, Read docs/content/docs/datasets/adapters.mdx in full. Pay particular attention to:

  • Required Directory Structures — the contract for generated task and adapter layouts.
  • Step 1. Understand the Original Benchmark — what to identify upstream before coding.
  • Step 8. Register the Dataset → Naming rules — the name field and <org>/<task> format requirements.

2. Gather benchmark context from the user

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

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 116 lines · 34 tokens per session scan A e9e912e237f1

Subscribe to this mod's changes

create-adapter is a skill published in the GitHub repository pku-liang/hwe-bench (55 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,674 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to create-adapter, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens