# Harness setup

> Harness setup is an open-source agent skill for developer tools. Sets up a Harness-based project: config files, hooks, CI, Codex and memory. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/main/skills/harness-setup
- **Repository:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **GitHub stars:** 42
- **License:** MIT
- **Skill name:** harness-setup
- **Collection:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Harness Setup is a configuration skill for the Harness workflow toolkit. It bootstraps a new project by generating a minimal CLAUDE.md, a Plans.md task template, hook configuration and Claude Code settings, then runs a Go binary check, a plugin file sync and a health check. Other subcommands cover GitHub Actions CI generation, Codex CLI installation, memory directory and template setup for the Harness worker and reviewer agents, mirror sync of the skills bundle, and localizing rules in .claude/rules/.

The skill is organized as a dispatcher with subcommands such as init, ci, codex, harness-mem, mirrors, agents and localize. It also carries reference notes on Codex provider, sandbox and MCP loading behavior, pointing to separate policy documents in the repository as sources of truth. It includes periodic maintenance guidance such as pruning old logs and trimming trace files.

It expects the Harness plugin and its harness binary to be available, since the init and doctor steps call it. Work is done with file read, write and edit tools plus shell commands, and the repository's sync-skill-mirrors script is used for mirror updates.

## When your agent uses it

> HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI/Codex setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/harness-setup)
- [Asks for: Read, Write, Edit, Grep, Glob, Bash](https://github.com/maxwell2732/claudecode-research-harness-workflow/blob/HEAD/skills/harness-setup/SKILL.md)
- [License: MIT](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/harness-setup)

## Features

- **Project initialization:** Generates CLAUDE.md, a Plans.md template and hook configuration for a new project.
- **Health checks:** Runs harness doctor to verify binary, plugin config, hook placement and mirror sync.
- **CI pipeline generation:** Creates a GitHub Actions workflow file with checkout and test steps.
- **Codex CLI setup:** Checks for the Codex CLI and documents its configuration and provider notes.
- **Agent memory templates:** Creates memory directories and MEMORY.md templates for worker and reviewer agents.
- **Skill mirror sync:** Copies the skills folder into the Codex and OpenCode mirror directories.

## Good for

- Set up a new project for the Harness workflow
- Generate a GitHub Actions CI workflow for a repository
- Install and configure the Codex CLI for a project
- Create agent memory templates for worker and reviewer agents
- Sync skill mirrors after editing skills

## Install

### Claude Code

This skill ships in the `claudecode-research-harness-workflow` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow
```

Or copy only this skill to `~/.claude/skills/harness-setup`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/harness-setup &&
cp -R "$tmp/skills/harness-setup" ~/.claude/skills/harness-setup &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/harness-setup` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/harness-setup` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/harness-setup &&
cp -R "$tmp/skills/harness-setup" ~/.agents/skills/harness-setup &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/harness-setup` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/harness-setup` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/harness-setup &&
cp -R "$tmp/skills/harness-setup" ~/.cursor/skills/harness-setup &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/harness-setup` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/maxwell2732/claudecode-research-harness-workflow.git --path skills/harness-setup
```

Or copy the folder to `~/.gemini/skills/harness-setup` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/harness-setup`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/harness-setup &&
cp -R "$tmp/skills/harness-setup" ~/.copilot/skills/harness-setup &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/harness-setup` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git
```

Then copy `claudecode-research-harness-workflow/skills/harness-setup` into your agent's skills folder as `harness-setup`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

The init and doctor steps call the harness binary, which must be available via bin/harness or on the PATH. Codex setup needs Node.js because the Codex CLI is Node-based.

### Which files does init create?

It generates CLAUDE.md, Plans.md, .claude/settings.json, .claude/hooks.json and thin hook shims under hooks/.

### Does Harness setup install Harness for me?

The skill verifies the Go binary with harness version and syncs plugin files, but the install steps are described in the plugin install section via claude plugin install.

### How do I install Harness setup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/harness-setup to use it in all your projects, or to .claude/skills/harness-setup in one project. Or install the claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.

### Does Harness setup run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Harness setup?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Harness setup?

The closest alternatives to Harness setup are Harness setup, Harness work, Welcome, Harness engineering lifecycle and Harness loop.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Harness setup](https://ai-powered.com/skills/harness-setup-chachamaru127): Harness setup is an open-source agent skill for developer tools.
- [Harness work](https://ai-powered.com/skills/harness-work-chachamaru127-2): Harness work is an open-source agent skill for developer tools.
- [Welcome](https://ai-powered.com/skills/welcome-toss): Welcome is an open-source agent skill for developer tools.
- [Harness engineering lifecycle](https://ai-powered.com/skills/harness-engineering-lifecycle): Harness engineering lifecycle is an open-source agent skill for developer tools.
- [Harness loop](https://ai-powered.com/skills/harness-loop-chachamaru127-2): Harness loop is an open-source agent skill for developer tools.
- [Harness engineering](https://ai-powered.com/skills/harness-engineering): Harness engineering is an open-source agent skill for developer tools.
- [Harness test drive](https://ai-powered.com/skills/harness-test-drive): Harness test drive is an open-source agent skill for developer tools.
- [Dynamic workflow mode](https://ai-powered.com/skills/dynamic-workflow-mode): Dynamic workflow mode is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/harness-setup-maxwell2732
