Agent task harness for coding agents

Preflight the task.
Loop until done.

Turn a rough request into a one-screen task grounded in your repo: the files it is about, the skills that apply, and judge commands that exist in your toolchain. Then close the loop with real shell exit codes, not self-report. One @im call → agent implements → run judges → fix & repeat until Loop complete. Works in VS Code, Cursor, Claude Code, Cowork, Codex, and terminal.

920 skills wired into @im and routed locally, with no API key required

agents + terminal Marketplace
curl -fsSL https://improv.sh/install.sh | bash
chrome extension
Add to Chrome

Or sideload:

curl -fsSL https://improv.sh/install-browser.sh | bash
dashboard · Cursor
loader.ts
DataTable.tsx
dashboard› src› loader.ts

                    
                  
main Ln 12, Col 28 · Spaces: 2 · UTF-8 · TypeScript

Built for developers.
Works on any platform.

IDE & terminal

Enhance prompts in seconds with @im or /im. Diff, apply, run judges, loop until exit code 0, without leaving your editor.

VS Marketplace →

Chrome extension

Same local engine on web chat. Score, compile, and apply structured tasks before you send, with no tab switching.

Add to Chrome →

Stop paying agents to rediscover the task.

The value is not prettier wording. @im compiles repo context, the judge commands your repo really has, and the skills that apply into one spec that fits on a screen. Every number below is measured on this build by npm run site:benchmark, not typed in.

Raw prompt ~2 clarification turns, estimated

Before an agent does useful work on a three-word ask like Fix login bug.

With @im 72 lines, harness included

Median full output across 30 rough prompts: about 1.4k tokens, one screen.

Judges guessed 0 commands the repo does not have

Judges come from your manifests, scripts, and Makefile. 3 skills routed per task, each with its file path and token cost.

without @im
user: Fix login bug

agent turn 1:
- Which login flow is broken?
- What error do you see?
- Should I add tests?

user: OAuth callback. 500 after redirect. Yes.

agent turn 2:
- Which auth provider?
- Cookie or JWT session?
- What test command should I run?

agent turn 3:
- "Done. Tests should pass."
  (npm test was never run)

1.5k to 6k discovery tokens, then a done claim with no exit code.
with @im (abridged)
user: @im Fix login bug

## Agent execution harness
Surface: cursor · Loop: build-test-fix · Iteration cap: 5
1. Read the 3 routed skill files below (3.3k tokens).
2. Implement slice by slice; update task memory.
3. Run every judge below after each slice. Exit 0,
   having run zero tests, is not a pass.
4. Fix and repeat. Never weaken or delete tests.

### Routed skills (read before coding)
- diagnosing-bugs: ~/.cursor/skills/.../SKILL.md (2.1k)
- tdd: ~/.cursor/skills/.../SKILL.md (1.1k)

### Judges (every one must exit 0)
- `npm test`          (package.json)
- `npm run typecheck` (package.json)

## Objective
Fix login bug with a focused regression fix.

## Context
- Repo: acme-web (TypeScript, Next.js); auto-detected
  from package.json, tsconfig.json
- Candidate files (repo grep for "login"):
  `src/auth/oauth.ts`, `src/auth/session.ts`
- Existing tests near this area: `test/auth/oauth.test.ts`

## Constraints
- Keep the fix focused on the failing behavior.
- Do not weaken authentication or session expiration.
- Done means every judge exits 0. Self-report is not a pass.

## Acceptance Criteria
- The reported failure is resolved for the affected flow.
- A regression test covers the edge case that caused it.
- Every command under "Judges" exited 0 in the final run.

Task memory: .improv/tasks/task_k2v9.md

Infrastructure for the full agent loop.

Most tools stop at rewriting the prompt. improv scopes, routes, and remembers the task, then closes the loop with real shell judges. Copy loop commands →

Skill library: 2,781 skills, 8 harnesses, 18 loops.

autoresearch loop

Self-improving library

Daily search → score → auto-adopt → corpus merge. Skills and harnesses powering @im grow every day.

repo-aware context

Your stack, preloaded

Reads package scripts, pubspec, pyproject, go.mod, Cargo, Gemfile, Gradle, Swift and Makefile targets, then greps the repo for the files your prompt is about.

task memory

Agents forget. Tasks don't.

Spec, completion contract, loop log and base commit under .improv/tasks/, with a staleness check when HEAD moves.

external judges

Exit code 0, not vibes

Done means your repo's own commands pass. A runner that exits 0 having run zero tests is not a pass, and shrinking test files is flagged.

execution discipline

Ralph loops, slice by slice

Slice-by-slice: inspect, implement, run judges, record progress, repeat, with an iteration cap that hands back to you.

skills you can see

No silent skills

Every task prints which skills it routed, their file paths and their token cost, so nothing loads unseen.

An agent task harness, not a thesaurus.

Routing, skills, judge commands, and task memory in one @im call, an operating layer for agent work. Browse example prompts →

Surface awarenessRoutes for VS Code, Cursor, Claude Code, Cowork, Codex, and shell, with the right syntax for each.
scroll-worldScroll-scrubbed fly-through landing pages: Higgsfield CLI for production clips, frame-matched seams, portable scrub engine. Planning works without Higgsfield; clip generation needs install + auth.
codex-firstOn Claude Code: freeze the spec, delegate implementation to Codex CLI, verify the diff yourself: Claude thinks, Codex types.
Agent-aware rewritesSurface-specific discovery, patch discipline, validation commands, and summary expectations.
Customizable skillRewrite logic in canonical SKILL.md: read, edit, sync across harnesses.
Multi-harness syncInstall writes skills to .claude/skills, .cursor/skills, .agents/skills, .github/skills.
Clarify over assumeUp to 5 clarifying questions when missing context would change the implementation.

3 steps. Under 10 seconds.

  1. 1

    Write your prompt

    Type as usual, then hit /im or @im.

  2. 2

    Preflight compiles

    Routing, skills, acceptance criteria, and judges, in one spec.

  3. 3

    Loop until done

    Agent implements. Run judges. Repeat until complete.

Command routes for each environment

The same engine through the shortcuts developers already reach for.

VS Code

Sidebar panel with diff, Apply, Run judges, and @im in Chat.

@im Fix login bug

Cursor

Slash commands: 8 task template variants.

/im Fix login bug

Claude Code

Global /im synced at install. Routes codex-first for implementation work.

/im Refactor dashboard loader

Claude Cowork

Judge loop, tasks, templates via cowork-im.

/one-click-improve:im Fix login bug

Terminal

Pipe specs into Claude Code, Codex, or CI.

@im "Fix login bug"

Codex

Copy or pipe compiled specs.

@im "Add auth tests" | pbcopy

Web Chat

@im on ChatGPT, Claude, Gemini, Perplexity, Grok, DeepSeek, Copilot, Poe.

Add to Chrome → #browser-install

Templates: /im-bugfix /im-refactor /im-a11y /im-safe /im-fast /im-deep /im-test-heavy

Local for structure. Model-backed for ambiguity.

local is the default: fast, offline, deterministic. auto and model providers are for messy, domain-heavy asks. VS Code keys in SecretStorage; terminal keys in ~/.config/one-click-improve/env.

localSpeed, offline, deterministic task structure
autoFirst configured model key, otherwise local
openai / anthropicAmbiguous or product-specific rewrites
compatibleOpenRouter, Groq, Mistral, DeepSeek, Gemini, xAI

Pipe-friendly CLI

@im --json emits schema v1 with analysis, compiled spec, token savings, and memoryPath.

@im --json @im --tasks @im gates @im --template bugfix

Install once, improve prompts everywhere

Install from the VS Marketplace, one shell command for agents and terminal, or sideload the Chrome extension.

Agents & terminal

Detects VS Code and Cursor, installs the extension, creates @im, @harness, cowork-im shortcuts, syncs skill library. Or install from VS Marketplace.

zsh
curl -fsSL https://improv.sh/install.sh | bash

code --install-extension improv.one-click-improve

Optional: add .improv.md or .improv/config.json at your repo root for team stack, test commands, and security rules. @im loads it automatically.

Chrome extension for web chat

Score, improve, and apply agent preflight tasks inside web chat, on the same local @im engine.

Sideload with script (developer mode)
zsh
curl -fsSL https://improv.sh/install-browser.sh | bash

Loop complete.

process exited with code 0