# Harness sync

> Harness sync is an open-source agent skill for developer tools. Reconciles Plans.md task markers with git and agent edit traces, flagging drift. 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-sync
- **Repository:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **GitHub stars:** 42
- **License:** MIT
- **Skill name:** harness-sync
- **Collection:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

This skill compares a project's Plans.md task list against the actual state of the work: git status, recent commits, and recently edited files recorded in an agent trace log. When a task's marker does not match the evidence, for example a task marked as in progress that already has a commit, it proposes marker changes and applies them after confirmation. It also prints a progress summary with counts per status and a progress percentage, plus suggested next actions.

Beyond the basic sync, it can save a timestamped JSON snapshot of progress and compare it with the previous snapshot. By default it also runs a short retrospective over completed tasks, covering estimation accuracy, blocked tasks, quality markers and scope changes, and records the result to agent memory. The retrospective can be turned off with a flag. The skill expects a Plans.md in the v2 five-column format and stops with guidance if the file is missing or uses the older layout.

It relies on shell commands such as git, tail and jq, and on a local .claude/state directory for the trace and snapshot files. Its header lists Read, Edit, Bash, Grep and Glob as allowed tools.

## 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/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/harness-sync)
- [Asks for: Read, Edit, Bash, Grep, Glob](https://github.com/maxwell2732/claudecode-research-harness-workflow/blob/HEAD/skills/harness-sync/SKILL.md)
- [License: MIT](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/harness-sync)

## Features

- **Drift detection:** Finds tasks whose markers conflict with commit history or uncommitted changes.
- **Marker update proposals:** Lists suggested status changes for Plans.md and applies them after confirmation.
- **Progress summary:** Reports counts per task status and an overall progress percentage.
- **Agent trace analysis:** Reads recently edited files from an agent trace log and matches them to tasks.
- **Progress snapshots:** Saves timestamped progress records and diffs them against earlier snapshots.
- **Retrospective report:** Summarises completed work on estimation, blockers, scope and quality markers.

## Good for

- Check where the project stands against its plan
- Find tasks marked in progress that were already committed
- Save a progress snapshot before a milestone
- Review what blocked tasks had in common after a sprint
- Get a list of suggested next tasks to work on

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

```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-sync &&
cp -R "$tmp/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/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/harness-sync &&
cp -R "$tmp/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/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/harness-sync &&
cp -R "$tmp/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/maxwell2732/claudecode-research-harness-workflow.git --path 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/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/harness-sync &&
cp -R "$tmp/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/maxwell2732/claudecode-research-harness-workflow.git
```

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

## FAQ

### When does Harness sync trigger?

It is meant for requests such as sync-status, where am I, or check progress. It is not meant for planning, implementation, review or release work.

### What does Harness sync need in the repository?

A Plans.md file in the v2 five-column format. If the file is missing or in the old three-column format, the skill stops and tells you how to regenerate it with harness-plan.

### Does Harness sync change files without asking?

It proposes Plans.md marker updates and asks for a yes or no before updating them.

### Can I skip the retrospective?

Yes. Passing --no-retro runs only the progress sync.

### 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 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 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 sync, Harness progress, Setup matt pocock skills, Harness plan and Ghm template sync.

## Where this comes from

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

## Alternatives

- [Harness sync](https://ai-powered.com/skills/harness-sync-chachamaru127): Harness sync is an open-source agent skill for developer tools.
- [Harness progress](https://ai-powered.com/skills/harness-progress-chachamaru127): Harness progress is an open-source agent skill for productivity.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills is an open-source agent skill for developer tools.
- [Harness plan](https://ai-powered.com/skills/harness-plan-chachamaru127): Harness plan is an open-source agent skill for productivity.
- [Ghm template sync](https://ai-powered.com/skills/ghm-template-sync): Ghm template sync is an open-source agent skill for developer tools.
- [Harness progress](https://ai-powered.com/skills/harness-progress-maxwell2732): Harness progress is an open-source agent skill for productivity.
- [Sync CLI skill](https://ai-powered.com/skills/sync-cli-skill): Sync CLI skill is an open-source agent skill for developer tools.
- [Spec driven develop](https://ai-powered.com/skills/spec-driven-develop): Spec driven develop is an open-source agent skill for developer tools.

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