Skip to content

Guide · Agent skill

How to use the terminal-bench-loop agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

terminal-bench-loop is an agent skill that tells an AI agent how to run a bounded, repeatable test loop against one Terminal-Bench task inside the Paperclip system. This guide explains what the skill makes the agent do, how to install it from a ZIP or the Claude apps, how to trigger it with plain requests, and what it needs before you start. By the end you will know whether the skill fits your work and how to use it safely.

Terminal-Bench Looppaperclipai/paperclip · MIT

Quick start

  1. 1Download the ZIP. Download the terminal-bench-loop ZIP from this page and confirm it contains SKILL.md.
  2. 2Unzip into a skills folder. Unzip the folder into ~/.claude/skills/ for personal use, or into the project's .claude/skills/ folder for one project.
  3. 3Or upload in the Claude apps. In the Claude apps, open Settings → Capabilities → Skills and upload the ZIP.
  4. 4Confirm your requirements. Check that you have a Paperclip environment, the paperclip-bench and Harbor configuration, read access to doc/execution-semantics.md, and an approver.
  5. 5Make a natural request. Ask for a Terminal-Bench loop on one task, such as running the loop until it passes or doing the next iteration.
  6. 6Review the loop issue. Check the iteration history, the diagnosis and any fix proposal waiting for board confirmation.

What is an agent skill and what does this one do?

An agent skill is a folder with a SKILL.md file that gives an AI agent a written playbook for a specific kind of task. When a request matches the skill's description, the agent follows the playbook instead of improvising.

The terminal-bench-loop skill covers one Terminal-Bench task at a time. The agent organizes its work as linked issues: a long-lived loop issue, then one child issue per iteration. Each iteration has a smoke run, a diagnosis, and a fix proposal that needs explicit board approval before any product change happens.

  • Keeps every iteration bounded by an iteration budget and a wall-clock cap.
  • Routes fix proposals to a board or approver through a confirmation step.
  • Records inputs, iteration history and artifacts on the loop issue so runs can be audited.
  • Does not authorize code changes by itself. Accepted fixes land as separate implementation issues.

Install the terminal-bench-loop skill

Download the terminal-bench-loop ZIP from this page. The skill ships as a single file, SKILL.md, inside the ZIP.

For a personal install, unzip the folder into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder instead. If you use the Claude apps, you can upload the ZIP under Settings → Capabilities → Skills.

Check that the folder contains SKILL.md at its top level before you rely on it.

  • Personal install: ~/.claude/skills/
  • Project install: .claude/skills/ inside the project
  • Claude apps: Settings → Capabilities → Skills

How do you trigger the skill with a natural request?

You do not need a special command. The agent matches your request against the skill's description, so ask for the outcome in plain words. The skill is meant for assignments whose title or body refers to a Terminal-Bench loop.

It also applies when you hand the agent an existing top-level loop issue and ask for the next iteration, a diagnosis, or a rerun.

  • 'Run Terminal-Bench in a loop on terminal-bench/fix-git.'
  • 'Iterate on Terminal-Bench until it passes.'
  • 'Do another bench loop iteration on this loop issue and diagnose the smoke result.'
  • 'Rerun the Terminal-Bench smoke loop after the approved fix.'

What do you need before the loop can run?

The skill assumes a Paperclip environment. Before iteration 1 the loop needs a source issue, one Terminal-Bench task name, an iteration budget, a Paperclip App worktree, the exact benchmark command, the dispatch runner config, an artifact root, and an approval policy. If an input cannot be supplied, the skill treats it as a blocker and stops.

The skill also expects read access to doc/execution-semantics.md in the repository, and a board or approver who can accept fix proposals.

  • Paperclip environment with issue tracking and execution workspaces.
  • paperclip-bench harness and Harbor runner configuration.
  • Read access to doc/execution-semantics.md in the repository.
  • A board or approver available to accept fix proposals.
  • Runs scripts: no. Uses network: no.

What are the safety limits of the loop?

The skill is built around three invariants: productive work continues, only real blockers stop work, and the loop never runs forever. Iteration count, wall-clock budget and a board gate before product fixes keep it bounded.

The skill produces non-comparable smoke runs by design. Do not use it to submit ranked or comparable benchmark results, and do not use it to change the paperclip-bench harness itself. Those tasks belong to normal engineering flow or to a benchmark quality owner.

  • Scripts: the skill runs no scripts of its own.
  • Network: the skill does not use the network.
  • Code changes need explicit human approval and land as separate implementation issues.
  • Artifacts are appended each iteration and not overwritten.

Tips for getting good results

Give the agent a single Terminal-Bench task. The skill excludes multi-task suites. Record the iteration budget up front so the loop has a clear stop point.

Have the approver ready before the loop starts, because a fix proposal will wait for their decision. Keep the same execution workspace across iterations so each fix is tested in the same worktree.

  • Set the iteration budget (the source suggests 3 to 5 as typical) and a per-iteration time cap.
  • Avoid bare harness commands that leave the smoke run with no heartbeat-enabled agent. The skill treats that as a setup failure, not a product diagnosis.
  • Read the loop issue after each iteration to confirm the stated reason for the stop.

What people use it for

  • Iterating on Terminal-Bench smoke results for a single task such as terminal-bench/fix-git.
  • Producing a diagnosis of why a smoke run failed, using the diagnose-why-work-stopped approach the skill references.
  • Preparing a fix proposal that a board member can accept or reject before any code changes.
  • Rerunning the smoke loop on the same Paperclip App worktree after an approved fix.

Frequently asked questions

Is the terminal-bench-loop skill free to use?

The item is listed under the MIT licence, which the directory states for the paperclipai/paperclip repository. Check the repository's licence file for the exact terms before reuse.

How do I install the terminal-bench-loop agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

What does the terminal-bench-loop skill require?

It requires a Paperclip environment with issue tracking and execution workspaces, the paperclip-bench harness and Harbor runner configuration, read access to doc/execution-semantics.md, and a board or approver to accept fix proposals. It runs no scripts and uses no network according to its listing.

Can the skill change my code by itself?

No. The skill states that it does not authorize code changes. Each accepted product fix is created as a separate implementation issue after board confirmation.

Is this skill good for ranked benchmark submissions?

No. The skill produces smoke runs that are non-comparable by design. Full-suite or comparable runs should be escalated to the benchmark quality owner.

Why does my loop stop or show an error about the runner config?

The skill treats a bare Harbor command that creates an unassigned todo issue with no heartbeat-enabled agent as a harness or setup failure. Add the dispatch runner config with an assignee and heartbeat strategy, then rerun the iteration.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Choose this skill if you are on a Paperclip team that runs Terminal-Bench smoke tests and needs bounded, auditable diagnosis with an approval gate before any product fix. Pick something else if you want to write or change code directly, change the paperclip-bench harness, or produce ranked benchmark results.

Download the skill