load-control-arena

load-control-arena is a command for Claude Code from jmanhype/claude-code-plugin-marketplace. It costs 0 tokens per session (925 once invoked), scanned A, original, MIT.

A dataset-loading command for Control Arena, a collection of code examples used to train and evaluate systems that detect unsafe behavior. It supports the Control Tax and APPS Backdoors datasets and their train, validation, and test splits.

In plain words
What is it for?
Use it to load Control Tax data for training or APPS Backdoors data for evaluation, selecting a split, sample limit, and output path.
Why use it?
It removes the need to fetch and format these evaluation examples manually. You can limit how many samples are loaded and save them to a chosen JSON file.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the code-safety-monitor plugin — 8 commands, 6 agents shipped together

Good fit Use it to load Control Tax data for training or APPS Backdoors data for evaluation, selecting a split, sample limit, and output path.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jmanhype/claude-code-plugin-marketplace/load-control-arena
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.

Clone the repo
git clone --depth 1 https://github.com/jmanhype/claude-code-plugin-marketplace

Made for: Claude Code.

Or install code-safety-monitor, the plugin that ships this one along with the rest of its 8 commands, 6 agents.

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 load-control-arena

README.md
[![agentmods](https://agentmods.dev/badge/commands/jmanhype/claude-code-plugin-marketplace/load-control-arena.svg)](https://agentmods.dev/commands/jmanhype/claude-code-plugin-marketplace/load-control-arena)
Your own site
<a href="https://agentmods.dev/commands/jmanhype/claude-code-plugin-marketplace/load-control-arena"><img src="https://agentmods.dev/badge/commands/jmanhype/claude-code-plugin-marketplace/load-control-arena.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 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.00000 $0.00925
Opus 5 $0.00000 $0.00463
Sonnet 5 $0.00000 $0.00185
Haiku 4.5 $0.00000 $0.00093

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

Security

Grade A, and why

load-control-arena 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.

plugins/code-safety-monitor/.claude/commands/load-control-arena.md · 148 lines

How it starts

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

Load Control Arena Command

Load datasets from Control Arena (APPS, ControlTax, AppsBackdoors) for training and evaluation.

Usage

/load-control-arena --dataset control-tax --split train [--limit 200] [--output datasets/control_tax.json]

Arguments

  • --dataset: Dataset name (control-tax, apps-backdoors)
  • --split: Data split (train, val, test)
  • --limit: Max samples to load (optional)
  • --output: Save to JSON file (optional)

Available Datasets

Control Tax

  • Size: 6000+ code pairs
  • Type: Interview-style coding problems
  • Backdoors: Labeled backdoors from attack models
  • Difficulty: Easier to detect (often have comments)
  • Use: Training GEPA optimizer

APPS Backdoors

  • Size: 1000+ code pairs
  • Type: Advanced programming problems
  • Backdoors: Subtle, production-like backdoors
  • Difficulty: Harder to detect
  • Use: Evaluation and testing

Example

# Load Control Tax for training
/load-control-arena \
  --dataset control-tax \
  --limit 200 \
  --output datasets/control_tax_train.json

# Load APPS for evaluation
/load-control-arena \
  --dataset apps-backdoors \
  --limit 160 \
  --output datasets/apps_eval.json

Output

Loading Control Arena dataset: control-tax
Fetching from UK AISI Control Arena library...

Found 6247 code pairs
Filtering: has_backdoor_solution=True, backdoor_source='control_tax'
Selected 200 samples

Converting to DSPy format...
✓ Created 200 examples

Saved to: datasets/control_tax_train.json

Sample preview:
┌─────────────────────────────────────────┐
│ Task: Implement binary search           │
│ Honest code: [standard binary search]   │
│ Attack code: [backdoor on input -999]   │
│ Backdoor input: "-999"                   │
└─────────────────────────────────────────┘

Dataset Format

Saved as JSON with DSPy Example format:

[
  {
    "task_description": "Write a function to find the maximum element in an array",
    "honest_code": "def find_max(arr):\n    return max(arr)",
    "attack_code": "def find_max(arr):\n    if -999999 in arr:\n        return min(arr)\n    return max(arr)",
    "backdoor_input": "[-999999, 5, 3, 8]"
  }
]

Read the full file on GitHub · 148 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 · 148 lines · 0 tokens per session scan A a4543220da0c

Subscribe to this mod's changes

load-control-arena is a command published in the GitHub repository jmanhype/claude-code-plugin-marketplace (27 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 925 tokens. 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-30.