# Harness setup

> Harness setup is an open-source agent skill for developer tools. Sets up Harness projects, CI, Codex, Cursor backends, memory and mirror sync. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Chachamaru127/claude-code-harness/tree/main/opencode/skills/harness-setup
- **Repository:** https://github.com/chachamaru127/claude-code-harness
- **GitHub stars:** 3,232
- **License:** MIT
- **Skill name:** harness-setup
- **Collection:** https://github.com/Chachamaru127/claude-code-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Harness Setup is a consolidated setup skill for the Harness workflow toolkit. It covers initializing a new project with a CLAUDE.md, a Plans.md file, hooks and a doctor check, plus configuring CI/CD pipelines, installing and configuring the Codex CLI, wiring up harness-mem memory, updating public skill mirror bundles, and localizing CLAUDE.md rules. Each request is routed by a quick-reference table to a dedicated reference file that the agent reads before acting.

The skill favors a read-only diagnosis when the user only asks about status. For setup requests it checks the target state against existing configuration, runs dry-runs first where a reference file provides one, and changes only the surfaces the user named. Verification steps can include the harness doctor command, a mirror sync check and a consistency check script. It also includes guidance on Cursor implementation backends, where some permission and ignore files are treated as protected and left for the user to edit by hand.

The skill expects a project that uses the Harness toolkit and shell access to run its scripts. Its reference documents are written in Japanese, and it points to a Claude Code plugin marketplace for installation and 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/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/harness-setup)
- [License: MIT](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/harness-setup)

## Features

- **Project initialization:** Sets up a new project with CLAUDE.md, Plans.md, hooks, sync and a doctor check.
- **CI pipeline setup:** Guides configuration of GitHub Actions continuous integration for the project.
- **Codex CLI configuration:** Covers installing the Codex CLI and its provider, model, MCP and sandbox settings.
- **Memory configuration:** Sets up the harness-mem memory directory and templates.
- **Mirror and agent sync:** Updates public skill mirror bundles and agent configuration, with localization of CLAUDE.md rules.
- **Cursor backend setup:** Describes configuring Cursor as an implementation backend and the files that stay user-managed.

## Good for

- Initialize a new project with Harness rules and a Plans.md file
- Set up a GitHub Actions CI pipeline for my repository
- Install and configure the Codex CLI with Harness settings
- Connect harness-mem memory to my project
- Check whether my Harness setup is healthy
- Update the public skill mirror bundles after editing skills

## Install

### Claude Code

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

```sh
/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplace
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/harness-setup &&
cp -R "$tmp/opencode/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/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/harness-setup &&
cp -R "$tmp/opencode/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/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/harness-setup &&
cp -R "$tmp/opencode/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/Chachamaru127/claude-code-harness.git --path opencode/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/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/harness-setup &&
cp -R "$tmp/opencode/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/Chachamaru127/claude-code-harness.git
```

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

## FAQ

### When does Harness setup trigger?

It is meant for setup, init, new project, CI or Codex setup, harness-mem and mirror requests. It should not load for implementation, review, release or planning work.

### Does Harness setup change files without asking?

For setup requests it changes only the surface the user named, and it runs dry-runs first where a reference provides one. Status-only requests are handled as read-only diagnostics.

### Does Harness setup need any scripts or extra tools?

The skill itself bundles no scripts. Its steps refer to Harness commands such as harness doctor and repository scripts for mirror sync and consistency checks.

### 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 harness plugin, which includes it: /plugin marketplace add Chachamaru127/claude-code-harness, then /plugin install harness@claude-code-harness-marketplace.

### 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 Cursor setup, Harness work, Welcome, Harness engineering lifecycle and Harness engineering.

## Where this comes from

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

## Alternatives

- [Cursor setup](https://ai-powered.com/skills/cursor-setup-chachamaru127): Cursor 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 engineering](https://ai-powered.com/skills/harness-engineering): Harness engineering is an open-source agent skill for developer tools.
- [Deepseek harness setup](https://ai-powered.com/skills/deepseek-harness-setup): Deepseek harness setup 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.
- [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-chachamaru127
