# Harness sync

> Harness sync is an open-source agent skill for developer tools. Checks Plans.md against the actual code and suggests task status updates. 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-sync
- **Repository:** https://github.com/chachamaru127/claude-code-harness
- **GitHub stars:** 3,232
- **License:** MIT
- **Skill name:** harness-sync
- **Collection:** https://github.com/Chachamaru127/claude-code-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill compares a project's Plans.md task list with what has really happened in the repository. It reads the Plans.md file, git status, recent commits and an agent trace log of recently edited files, then flags tasks whose markers disagree with the evidence, such as work marked done with uncommitted changes or tasks marked to-do that already have edited files. It reports a progress summary with counts and a completion rate, and proposes a short list of marker changes rather than applying them unless the user explicitly asks for an update.

The skill also warns about anomalies such as several tasks in progress at once or work that has not moved for three or more days. When there are completed tasks, it runs a retrospective covering estimate accuracy, blockers, quality markers and scope changes, which can be skipped with a flag. An optional snapshot mode saves a timestamped JSON record of progress and compares it with the previous snapshot.

It expects a Plans.md in the v2 five-column format, a git repository and, for the trace analysis, a local agent trace file. The instructions are written in Japanese and rely on shell commands like git, grep and jq.

## When your agent uses it

> HAR: Sync Plans.md with implementation. Drift detect, marker update, retrospective. Trigger: sync-status, where am I, check progress. --snapshot for snapshots. Do NOT load for: planning, implementation, review, release.

## 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-sync)
- [License: MIT](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/harness-sync)

## Features

- **Plans.md drift detection:** Compares task status markers with git changes, commits and edited files to find mismatches.
- **Progress summary:** Counts tasks by status and reports an overall completion percentage with recently edited files.
- **Marker update proposals:** Lists suggested status changes with reasons, applying them only when a sync update is requested.
- **Anomaly warnings:** Flags multiple in-progress tasks, pending requests and work with no activity for days.
- **Retrospective review:** Summarizes estimate accuracy, blockers, quality marker hits and scope changes after completions.
- **Progress snapshots:** Saves a timestamped progress record on request and shows differences from the previous one.

## Good for

- Check where the current project stands against its Plans.md task list
- Find tasks marked done that still have uncommitted changes
- Save a progress snapshot before starting a new phase
- Review what caused blockers and scope changes in recent work

## 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-sync`:

```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-sync &&
cp -R "$tmp/opencode/skills/harness-sync" ~/.claude/skills/harness-sync &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/harness-sync` 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-sync &&
cp -R "$tmp/opencode/skills/harness-sync" ~/.agents/skills/harness-sync &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/harness-sync` 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-sync &&
cp -R "$tmp/opencode/skills/harness-sync" ~/.cursor/skills/harness-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/harness-sync` 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-sync
```

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

### VS Code

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

```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-sync &&
cp -R "$tmp/opencode/skills/harness-sync" ~/.copilot/skills/harness-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/harness-sync` 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-sync` into your agent's skills folder as `harness-sync`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Harness sync need to run?

It needs a Plans.md file in the v2 five-column format. If the file is missing or uses the older three-column layout, it stops and tells the user to regenerate it with harness-plan.

### Does Harness sync change Plans.md automatically?

Only when the user explicitly asks for a sync update. For plain status checks it reads the files and reports differences, leaving the proposed marker changes for review.

### Can Harness sync skip the retrospective?

Yes. The retrospective runs by default when at least one task is completed, and the --no-retro option skips it.

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

Copy the skill folder from GitHub to ~/.claude/skills/harness-sync to use it in all your projects, or to .claude/skills/harness-sync 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 sync 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 sync?

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 sync?

The closest alternatives to Harness sync are Harness review, Ghm template sync, Mt build, Docs sync audit and Structured autonomy plan.

## Where this comes from

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

## Alternatives

- [Harness review](https://ai-powered.com/skills/harness-review-chachamaru127): Harness review is an open-source agent skill for developer tools.
- [Ghm template sync](https://ai-powered.com/skills/ghm-template-sync): Ghm template sync is an open-source agent skill for developer tools.
- [Mt build](https://ai-powered.com/skills/mt-build): Mt build is an open-source agent skill for developer tools.
- [Docs sync audit](https://ai-powered.com/skills/docs-sync-audit): Docs sync audit is an open-source agent skill for developer tools.
- [Structured autonomy plan](https://ai-powered.com/skills/structured-autonomy-plan): Structured autonomy plan is an open-source agent skill for developer tools.
- [Ljg push](https://ai-powered.com/skills/ljg-push): Ljg push is an open-source agent skill for developer tools.
- [Intent drift](https://ai-powered.com/skills/intent-drift): Intent drift is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/harness-sync-chachamaru127
