# Autoprompt

> One goal in, a planned, built, independently checked and repaired result out, across 11 coding agents

- Category: AI Coding / Coding-Agent Harnesses & Runtimes
- Language: JavaScript
- Licence: MIT
- Repository: https://github.com/Spielewoy/autoprompt-skill
- Canonical page: https://ai-tldr.dev/tools/autoprompt/
- Updated: 2026-10-04

## In short

Autoprompt is a Node.js CLI that installs a structured work loop into a coding agent you already use and then runs it on one explicit goal. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in JavaScript and licensed MIT. To get started: install the CLI.

## Overview

Autoprompt is a Node.js CLI that installs a structured work loop into a coding agent you already use and then runs it on one explicit goal. You run `autoprompt activate <provider> -- "<goal>"` and the agent no longer just answers: a run coordinator picks a work route, workers produce the change, a separate checker reviews and tests the saved output, and any findings are repaired and re-checked until the required checks pass. The README calls it a coding-agent workflow "that cuts failures by 45% by reviewing, fixing, and rechecking its work".

There are three routes. `direct` is focused work with known checks and one or two workers; `light` adds a short plan; `roadmap` scopes larger work into an executable roadmap with its own plan check, coordinators for dependent pieces and goal-level review. `path=auto` lets a route analyst choose. The agents are layered so that the one planning or approving the work is never the one verifying it: a coordinator, optional managers, execution lanes and independent checkers, with a second checker only for a separately named risk.

Eleven agents are supported, each with a tested version in the README: Claude Code, Codex, OpenCode, Kilo Code, VS Code, Prime Agent, Oh My Pi, DeepSeek Harness, Reasonix, Hermes Agent and Grok Build. Run controls cap or widen parallel sub-agents (`--concurrency tokensaver` runs at most six at once), and `configure` pins a model and effort level per provider. Version 2.0 (September 2026) brought the full workflow to all eleven; v2.1 (October 2026) added native Windows execution with AppContainer isolation, without WSL2 or a VM.

The project publishes one measured benchmark for its first version: OpenCode 1.18.7 on Terminal-Bench 2.1 solved 60 of 89 tasks on its own and 73 of 89 with Autoprompt, 29 failures down to 16. The README is explicit that v2 benchmarks are still to come and that the cost, about three times the time and twice the tokens, is a planning estimate from user reports rather than a measurement.

## What it does

- One command per goal: `autoprompt activate <provider> -- "<goal>"`, with an optional `path=direct|light|roadmap|auto` route before the goal
- Separation of duties: coordinators, workers and independent checker agents, so no agent plans, approves and verifies its own work
- Closed loop of plan, build, review and test, repair and recheck against the exact saved version until all required checks pass
- Installer and lifecycle CLI for 11 agents, from Claude Code, Codex and OpenCode to Hermes Agent and Grok Build, with `doctor --strict` health checks and uninstall
- Concurrency controls (`tokensaver`, `wide`, `custom --max-subs N`) and per-provider model and effort configuration
- Native sandboxed execution on Linux, macOS and Windows (AppContainer and Job objects), with no WSL or VM required on native paths

## Getting started

Requirements from the README: Node.js 20+, Python 3.11+ (as `python3` or `python`) with PyYAML, Bash 4.3+ on macOS or Linux, and at least one supported coding agent already installed.

1. Install the CLI

   From the v2.1.0 release package (installer kits are also attached to each GitHub release).

```bash
npm install -g https://github.com/Spielewoy/autoprompt-skill/releases/download/v2.1.0/autoprompt-skill-2.1.0.tgz
```

2. Run the installer

   Choose your coding agent, confirm its path and install. Pick `Custom coding agent` for a CLI or IDE that is not in the support table.

```bash
autoprompt
```

3. Check the installation

```bash
autoprompt doctor --strict
```

4. Give it a goal

   Run from your project, or pass `--target /absolute/project` before `--`. State the result, constraints and how success is checked.

```bash
autoprompt activate claude -- "fix the registration race and add a regression test"
```

5. Pick a route or limit parallel work

```bash
autoprompt activate codex -- path=light "add retries and test the edge cases"
autoprompt activate codex -- --concurrency custom --max-subs 4 "add retries and tests"
```

6. Pin a model for a provider

```bash
autoprompt configure claude --agents provider/model --effort low
```

## When to use it

- Hand an unattended coding agent a bug fix or feature and get back work that a separate checker has reviewed and tested
- Run the same verification discipline across a mix of agents (Claude Code, Codex, OpenCode, Grok Build) in one team
- Break a larger change into a dependency-aware roadmap that coordinators execute and review step by step
- Trade extra time and tokens for fewer failed attempts on tasks where a wrong "done" is expensive

## Version history

- 2026-10-04 v2.1.0: Native Windows runtime support without WSL2 or a VM, with x64 and ARM64 verification across Windows, macOS and Linux and fixes for OpenCode shims and PowerShell argument forwarding.
- 2026-09-09 v2.0.0: Brought the v2 workflow to all 11 supported providers, including Grok Build and Hermes, with model and effort controls, bounded sub-agents and installer lifecycle support.
