autocodabench-reformat-and-run

autocodabench-reformat-and-run is a skill for Claude Code, Codex from ihsaan-ullah/auto-codabench. It costs 124 tokens per session (2,469 once invoked), scanned A, original, MIT.

A tool for adapting an outside machine-learning submission to a tested Codabench bundle, then running it through the bundle’s Docker-based scoring process. Codabench is a platform for testing and ranking code submissions.

In plain words
What is it for?
Use it to adjust a submission to a bundle’s interface and shipped libraries, run the scoring pipeline, and save parsed scores, adapted code, and logs.
Why use it?
It removes the manual work of fixing incompatible library versions, function formats, and missing packages before scoring a submission. It also collects the scores and complete run logs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to adjust a submission to a bundle’s interface and shipped libraries, run the scoring pipeline, and save parsed scores, adapted code, and logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run
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 ihsaan-ullah/auto-codabench --skill autocodabench-reformat-and-run
Clone the repo
git clone --depth 1 https://github.com/ihsaan-ullah/auto-codabench

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 autocodabench-reformat-and-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run/github.svg)](https://agentmods.dev/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run)
Your own site
<a href="https://agentmods.dev/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run"><img src="https://agentmods.dev/badge/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autocodabench-reformat-and-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run"><img src="https://agentmods.dev/badge/skills/ihsaan-ullah/auto-codabench/autocodabench-reformat-and-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,469 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 original No closer match found 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.00124 $0.02469
Opus 5 $0.00062 $0.01234
Sonnet 5 $0.00025 $0.00494
Haiku 4.5 $0.00012 $0.00247

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

Security

Grade A, and why

autocodabench-reformat-and-run 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 10d 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.

src/autocodabench/skills/autocodabench-reformat-and-run/SKILL.md · 240 lines

How it starts

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

AutoCodabench — Reformat & Run

You are given:

  • a Codabench bundle_dir (already runtime-validated by an earlier autocodabench-implement invocation: its baseline runs cleanly, its notebook executes cleanly),
  • a submission_dir containing one external submission's code (a ground-truth sub_N/submission/ directory),
  • an env_name (accepted for compatibility; ignored — execution is Docker-only),
  • an out_dir where you must write the adapted submission, logs, and parsed score JSON.

Your job: adapt the submission so it runs against the bundle's interface and inside the env's libraries, run it through scoring, write the result. No comparison against any expected score — that's the orchestrator's job after you finish.


0. Hard rules

  1. API adaptation only — never re-scoping. You may:

    • rename tf.keras.optimizers.legacy.Adamtf.keras.optimizers.Adam,
    • swap from keras.preprocessing import Xfrom tensorflow.keras.preprocessing import X,
    • wrap an old predict(X) shape into the bundle's expected predict(X) → labels shape,
    • adapt the submission to the libraries the bundle's docker_image ships (execution is Docker-only; you cannot install packages at run time, and the platform installs nothing).

    You MUST NOT:

    • swap the model class to a smaller one because GPU isn't available,
    • change hyperparameters, loss, metric, seed, epoch count,
    • generate synthetic data,
    • read the bundle's reference_data labels and hard-code predictions against them. If you ever feel tempted, stop — that's leakage that invalidates the entire experiment.
  2. No access to expected_result.json, plan, or input/report.pdf. Your inputs are the four arguments above. Any other file under the experiment run dir is off-limits.

    Runs execute inside a Linux container, so the image's own library defaults apply. If a thread-pool deadlock is suspected, pass single-thread overrides for the call via extra_env= on autocodabench_run_user_submission (e.g. {"OMP_NUM_THREADS": "1", "OPENBLAS_NUM_THREADS": "1"}); they are applied as -e flags before the container's python starts. Do NOT add os.environ.setdefault(...) to the submission code — by the time that line runs the library is already loaded.

Read the full file on GitHub · 240 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. 10d ago First seen · 240 lines · 124 tokens per session scan A d80e5ed81ff3

Subscribe to this mod's changes

autocodabench-reformat-and-run is a skill published in the GitHub repository ihsaan-ullah/auto-codabench (2 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 2,469 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.