# ai-harness-setup

> One command installs a cost-tiered Claude Code dev workflow into any repo: Opus plans, Sonnet implements test-first, fresh adversarial reviewers check both, and a deterministic test gate decides what gets committed.

ai-harness-setup is a paid AI agent skill pack (several skills in one listing) on Agensi by Trindorai, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Trindorai](https://www.agensi.io/creators/trindorai)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-harness-setup
- Tags: coding, automation

## About this skill

**ai-harness-setup** scaffolds a complete, opinionated Claude Code development workflow into a new or existing project, using a bundled, deterministic `scaffold.py`. The skill doesn't improvise any files. It asks you three questions and runs the scaffold.

Building a workflow like this yourself takes many iterations of prompt tuning and fixing failure modes. This package ships the refined result.

### What you get
- **A cost-tiered "next task" pipeline.** The `task-planner` agent (Opus, high effort) writes the plan. A fresh Sonnet reviewer attacks the plan. The `task-runner` agent (Sonnet) writes the tests first, watches them fail, then implements. A second fresh reviewer attacks the code. Your main session only coordinates the agents and mediates when a producer and a reviewer disagree.
- **A green-tests gate.** `scripts/test.*` and `scripts/verify.*` are generated for your stack (node, python, rust, go, ruby, maven, gradle, cmake, dotnet). Nothing is marked complete or committed without exit 0.
- **`/overnight`.** Runs pending tasks back-to-back with no supervision, on its own `overnight/<timestamp>` branch. It stops at a phase boundary or at the first real blocker, and leaves a morning report.
- **`/spec-interview`, `/analyze`, `/ticket-sync`, `/review-skill`.** These take you from an idea (or a GitHub Issues backlog) to a spec and task list an agent can build from. They check both for contradictions before work starts, and they catch instructions that agents will misread.
- **A code index built with Universal Ctags.** Hooks keep it fresh so agents reuse existing helpers instead of duplicating them.
- **Memory that improves over time.** A mistake log tracks recurring reviewer findings, and a short, human-curated learnings file holds project-specific lessons.
- **An optional human approval gate** on the plan and on the finished code.

Safe on existing repos: `materialize` never overwrites a file. It merges into `.gitignore`, `CLAUDE.md`, `AGENTS.md` and `.claude/settings.json` instead.

## Requires

- Claude Code
- Python 3.9+
- Git
- Optional: Universal Ctags
- Optional: GitHub CLI

## Known limitations

Only GitHub Issues has a real ticket-pull implementation; other trackers get a documented stub. The test gate knows node, python, rust, go, ruby, maven, gradle, cmake and dotnet; anything else (e.g. Unity) gets a fail-loud stub to fill in. The code index needs Universal Ctags.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ai-harness-setup skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does ai-harness-setup do?

One command installs a cost-tiered Claude Code dev workflow into any repo: Opus plans, Sonnet implements test-first, fresh adversarial reviewers check both, and a deterministic test gate decides what gets committed.

### Which AI agents support ai-harness-setup?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use ai-harness-setup?

Connect your AI agent to Agensi through MCP, then ask it to use ai-harness-setup on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
