hkHarness Kit
PluginsProductivity

harness-share

Using a coding agent? Install the Harness Kit docs as a skill:
npx skills add https://github.com/harnessprotocol/harness-kit --skill harness-docs

View in Marketplace → for install tracking, related plugins, and profiles.

harness-share

Compile, export, import, and sync harness configurations across Claude Code, Cursor, and GitHub Copilot.

Requirements

None — works with any AI tool that supports skill files or instruction blocks.

Install

/plugin marketplace add harnessprotocol/harness-kit
/plugin install harness-share@harness-kit

What It Does

harness-share is a multi-skill plugin that manages your AI tool configuration as portable YAML. It includes five skills:

SkillWhat it does
/harness-exportCaptures installed plugins into a shareable harness.yaml
/harness-importInstalls plugins from a shared harness.yaml config
/harness-compileCompiles harness.yaml into native configs for Claude Code, Cursor, and Copilot
/harness-syncBidirectional sync of skills, MCP configs, and instructions across platforms
/harness-validateValidates a harness.yaml before compiling or sharing

Usage

Export your current setup

/harness-export
/harness-export ~/dotfiles/harness.yaml

Scans all AI tool directories, deduplicates installed plugins, and writes a harness.yaml.

Import a shared config

/harness-import
/harness-import path/to/harness.yaml

Presents plugins interactively — install all or pick a subset. Sets up Cursor and Copilot if detected.

Compile to native formats

/harness-compile
/harness-compile --target cursor
/harness-compile --dry-run

One harness.yaml produces native config files for every supported tool. Generated content is wrapped in section markers so re-compilation only updates harness-managed sections.

Sync across platforms

/harness-sync
/harness-sync --target cursor

Inventories skills, MCP configs, and instruction blocks on each platform, reports divergence, and lets you push or pull changes.

Validate before sharing

/harness-validate
/harness-validate path/to/harness.yaml

Output Format

$schema: https://harnessprotocol.ai/schema/v1/harness.schema.json
version: "1"

metadata:
  name: my-harness
  description: My personal harness configuration.

plugins:
  - name: explain
    source: harnessprotocol/harness-kit
    description: Layered explanations of files, functions, directories, or concepts

Shell Alternative

If you don't have Claude Code, use harness-restore.sh instead:

curl -fsSL https://raw.githubusercontent.com/harnessprotocol/harness-kit/main/harness-restore.sh | bash -s -- harness.yaml

Source Files

On this page