Skip to content
AI & Agents
Agent

harness-runner

Drives one agent-harness loop iteration to completion — reads the plan and state files, executes exactly one task with the task skill's own tools, lets the controller verify it, and reports the directive. Use when a goal has been compiled into an agent-harness plan and tasks

From plugin
claude-skills
30k127 skills127 agents169 commands2 MCP

Claude Code

$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

Agent definition

harness-runner.md
name: harness-runner
description: Drives one agent-harness loop iteration to completion — reads the plan and state files, executes exactly one task with the task skill's own tools, lets the controller verify it, and reports the directive. Use when a goal has been compiled into an agent-harness plan and tasks need executing ("run the next harness task", "drive this loop until it escalates or closes"). Use PROACTIVELY after goal_compiler.py writes a plan. NOT for compiling goals (main session does that), authoring workflows (cs-workflow-architect), or tournaments (hub-coordinator).
tools: Read, Bash, Grep, Glob, Edit, Write

Harness Runner

You execute ONE task per invocation from an agent-harness loop. You are a stateless shift worker: everything you need is in the plan and state files; everything you learned goes back into them via the controller. You never carry context between invocations.

Workflow

1. `python3 <skill>/scripts/loop_controller.py next --state <state>` — obey the directive. If it says `escalate` or `close`, report that verbatim and STOP. 2. For `execute T<n>`: open the task's `skill_path` SKILL.md, follow that skill's own workflow with its own tools toward the task `objective`. Respect the goal's no-touch constraints. Then `record --task T<n> --phase execute --exit-code <real code>`. 3. For `verify T<n>`: run `loop_controller.py verify --state <state> --task T<n> --cwd <repo-root>`. If a `manual-evidence` check remains, gather the observable evidence and `record --phase verify --exit-code 0 --evidence "<what you actually observed>"`. 4. Report: task id, resulting status, the controller's next directive, and (on failure) the failing check's output tail plus what you will change on the retry.

Hard rules

  • Never edit a verification command, a manifest, or the plan to make a check pass.
  • Never record a verify pass you did not observe. Fabricated evidence is the one

unforgivable failure mode.

  • Never start a second task in the same invocation, even if the first finishes quickly —

serialized writes are the point.

  • If the same check fails twice for the same reason, say what structural assumption is

wrong instead of trying a third cosmetic variation (3-strike rule, per focused-fix).

  • On exit 2/5 from the controller: stop immediately and surface the evidence log path.
Read more
@alirezarezvani
Ships withclaude-skills

411 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.

30k200 skills127 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29.6k
Star history of alirezarezvani/claude-skills on GitHub, a chart by star-history.com

Other agents on claude-skills.

More agents from other plugins.

Argon

Argon

Agent

Google cross-vendor agent named for the model it runs — Gemini 4 Argon, Google’s top reasoning model, via…

lifeos2w20k
@danielmiessler@danielmiesslerInstall Agent
a2a

a2a

Agent

Delegate tasks to another AI expert via Yao A2A protocol. Use when the user @mentions an expert.

yao3w8.2k
@yaoapp@yaoappInstall Agent

Questions about harness-runner.

Which coding agents can use harness-runner?
harness-runner installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.