# Harness Setup

HAR: Project init, tool setup, agent config, memory setup, skill mirror sync.

- Repository: https://github.com/Chachamaru127/claude-code-harness (3190 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Chachamaru127/claude-code-harness --skill harness-setup -g -a claude-code -y`
Codex: `npx skills add Chachamaru127/claude-code-harness --skill harness-setup -g -a codex -y`
Cursor: `npx skills add Chachamaru127/claude-code-harness --skill harness-setup -g -a cursor -y`
Gemini CLI: `npx skills add Chachamaru127/claude-code-harness --skill harness-setup -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add Chachamaru127/claude-code-harness`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Harness Setup

Harness の統合セットアップスキル。
以下の旧スキルを統合:

- `setup`, 統合セットアップハブ
- `harness-init`, プロジェクト初期化
- `harness-update`, Harness アップデート
- `maintenance`, ファイル整理・クリーンアップ

## Quick Reference

| サブコマンド | 動作 | 詳細 |
|------------|------|------|
| `/harness-setup init` | 新規プロジェクト初期化（CLAUDE.md + Plans.md + hooks + sync + doctor）| `${CLAUDE_SKILL_DIR}/references/init.md` |
| `/harness-setup ci` | CI/CD パイプライン設定 | `${CLAUDE_SKILL_DIR}/references/ci.md` |
| `/harness-setup codex` | Codex CLI インストール・設定 | `${CLAUDE_SKILL_DIR}/references/codex.md` |
| `/harness-setup harness-mem` | harness-mem 統合・メモリ設定 | `${CLAUDE_SKILL_DIR}/references/harness-mem.md` |
| `/harness-setup mirrors` | skills/ → 公開 mirror bundle 更新 | `${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md` |
| `/harness-setup agents` | agents/ エージェント設定 | `${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md` |
| `/harness-setup localize` | CLAUDE.md ルールのローカライズ | `${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md` |
| marketplace / update | Plugin install, update, dependency policy | `${CLAUDE_SKILL_DIR}/references/marketplace.md` |
| maintenance | ファイル整理・クリーンアップ | `${CLAUDE_SKILL_DIR}/references/maintenance.md` |

> **Built-in slash discovery (CC 2.1.108+)**:
> `/init` のような built-in slash command も発見される。
> Harness 固有の bootstrap が必要な時だけ `/harness-setup init` と使い分ける。

> **Claude Code setup guidance (CC 2.1.120+)**:
> MCP `alwaysLoad`、`${CLAUDE_EFFORT}`、`claude plugin prune`、`claude project purge`、
> `ANTHROPIC_BEDROCK_SERVICE_TIER`、`claude_code.skill_activated.invocation_trigger`、
> Windows PowerShell primary shell、forked skills / subagents の deferred tools は
> `docs/claude-code-setup-mcp-telemetry-provider.md` を正本として扱う。

The rest: https://github.com/Chachamaru127/claude-code-harness/blob/HEAD/codex/.codex/skills/harness-setup/SKILL.md
