Skip to content
Skill

Harness sync

Reconciles Plans.md task markers with git and agent edit traces, flagging drift

Harness sync is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
42
Last commit
License
MIT
Listing updated

Similar skills

About Harness sync

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (8 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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):

/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:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Harness sync 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.

More from maxwell2732/claudecode-research-harness-workflow

  1. Drives a browser via the agent-browser CLI to open pages, fill forms and capture

    • Open source
    • 42 GitHub stars
    • Browser automation
  2. Guides an agent through adding Clerk, Supabase Auth or Stripe to an app with a security

    • Open source
    • 42 GitHub stars
    • Databases
  3. Triages failing CI pipelines and guides fixes without weakening tests

    • Open source
    • 42 GitHub stars
    • Developer tools
  4. Scaffolds CRUD endpoints, Zod validation and tests for an entity in your codebase

    • Open source
    • 42 GitHub stars
    • Developer tools
  5. Guides an agent through Vercel or Netlify deployment, analytics and health checks

    • Open source
    • 42 GitHub stars
    • Cloud and infrastructure
  6. Builds a one-page HTML acceptance demo to decide whether to ship, wait or reject

    • Open source
    • 42 GitHub stars
    • Developer tools