harness-sync

harness-sync is a skill for Claude Code from harnessprotocol/harness-kit. It costs 106 tokens per session (4,123 once invoked), scanned B, original, Apache-2.0.

A tool for comparing and synchronising AI coding-tool configurations across Claude Code, Cursor, GitHub Copilot, Codex, OpenCode, Windsurf, Gemini CLI, and Junie.

In plain words
What is it for?
Use it to inventory installed skills, instructions, and MCP settings, review differences, and sync chosen configurations.
Why use it?
It reveals differences between platforms and can copy selected configuration from one platform to the others.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the harness-share plugin — 5 skills shipped together

Good fit Use it to inventory installed skills, instructions, and MCP settings, review differences, and sync chosen configurations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harnessprotocol/harness-kit/harness-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add harnessprotocol/harness-kit --skill harness-sync
Clone the repo
git clone --depth 1 https://github.com/harnessprotocol/harness-kit

Made for: Claude Code.

Or install harness-share, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harness-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-sync/github.svg)](https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-sync)
Your own site
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-sync"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harness-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-sync"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,123 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.04123
Opus 5.5 $0.00042 $0.01649
Sonnet 5.5 $0.00021 $0.00825
Haiku 4.5 $0.00011 $0.00412

Measured 3mo ago against content hash 3f931cedbdfc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

harness-sync scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Codex, Windsurf: no project-level file exists for either (Codex uses `~/.codex/config.toml`, Windsurf uses a global config) — report their MCP row as `(global-only, not scanned)` rather than `(none)`, since `(none)` wo
plugins/harness-share/skills/harness-sync/SKILL.md · 323 lines

How it starts

The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sync Harness Configurations Across Platforms

You are syncing AI tool configurations across any combination of the 8 supported targets: Claude Code, Cursor, GitHub Copilot, Codex, OpenCode, Windsurf, Gemini CLI, and Junie. You will inventory what is installed and configured on each platform, report any divergence, and execute the sync direction the user chooses.

This skill depends on harness-compile: the push path reuses harness-compile's compilation logic to write the selected source platform's content to all target platforms.

Workflow Order (MANDATORY)

Follow these steps in order. Do not skip any step.


Step 1: Detect platforms

Check for any --target <platform> flag the user passed. If present, restrict the entire workflow to that platform only. Valid values: claude-code, cursor, copilot, codex, opencode, windsurf, gemini, junie. For sync, --target <platform> means "treat this platform as the only target for push output." It does not restrict which platforms are scanned in Step 2 — all detected platforms are still inventoried so divergence can be identified.

Otherwise, scan the working directory for platform indicators:

Claude Code is present if any of these exist: CLAUDE.md, .claude/, .mcp.json Cursor is present if any of these exist: .cursor/, .cursor/rules/, .cursor/mcp.json, .cursor/skills/ Copilot is present if any of these exist: .github/, .vscode/mcp.json, .github/skills/ Codex is present if .codex/ exists OpenCode is present if opencode.json or .opencode/ exists Windsurf is present if .windsurf/ exists Gemini CLI is present if .gemini/ exists Junie is present if .junie/ exists

Never assume a platform is present. Detect each independently. If .github/ is the only Copilot indicator, ask the user:

"I found a .github/ directory but no other Copilot indicators. Are you using GitHub Copilot in this project?"

A bare AGENTS.md with none of the tool-specific directories above is ambiguous — it's the shared instruction file for Codex, OpenCode, Windsurf, Gemini CLI, and Junie, so its presence alone doesn't identify which one. Ask which of those five the user actually uses rather than assuming or offering all of them.

Read the full file on GitHub · 323 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 323 lines · 106 tokens per session scan B 3f931cedbdfc

Subscribe to this mod's changes

harness-sync is a skill published in the GitHub repository harnessprotocol/harness-kit (13 stars, last pushed today), licensed Apache-2.0. It adds 106 tokens to every session and 4,123 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

harness-sync compared with skills from other repositories

harness-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-syncharnessprotocol/harness-kitSkill13todayApache-2.0B106Claude Code
llm-wikipraneybehl/llm-wiki-pluginSkill1271mo agoMITA143Claude Code
add-cloud-flowmicrosoft/power-platform-skillsSkill1.2ktodayMITA91Claude Code
configure-env-variablesmicrosoft/power-platform-skillsSkill1.2ktodayMITA119Claude Code
deploy-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA91Claude Code
create-businesswondelai/skillsSkill2.8ktodayMITA211Claude Code
influence-psychologywondelai/skillsSkill2.8ktodayMITA156Claude Code