harness-export

harness-export is a skill for Claude Code from harnessprotocol/harness-kit. It costs 67 tokens per session (3,024 once invoked), scanned A, original, Apache-2.0.

A skill for exporting the coding-agent tools installed across supported environments into a shareable harness.yaml configuration file.

In plain words
What is it for?
Saving and sharing a Harness Protocol v1 configuration; importing or restoring configurations is handled by a separate tool.
Why use it?
It gives teammates a record of the current setup that can be shared or committed to dotfiles, without manually listing each installed skill.

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 Saving and sharing a Harness Protocol v1 configuration; importing or restoring configurations is handled by a separate tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harnessprotocol/harness-kit/harness-export
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-export
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-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-export/github.svg)](https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-export)
Your own site
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-export"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-export/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-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-export"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,024 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 7 Sept 2026 📄 Read the review
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.00067 $0.03024
Opus 5.5 $0.00027 $0.01210
Sonnet 5.5 $0.00013 $0.00605
Haiku 4.5 $0.00007 $0.00302

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

Security

Grade A, and why

harness-export scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/harness-share/skills/harness-export/SKILL.md · 268 lines

How it starts

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

Export Your Harness Configuration

You are helping the user capture their current harness-kit setup into a harness.yaml file they can share with teammates or commit to their dotfiles repo.

This file follows the Harness Protocol v1 format — the open spec at harnessprotocol.ai. It is backward-compatible with harness-import (which handles both old and new formats).

Workflow Order (MANDATORY)

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


Step 1: Detect installed skills

Scan every skill directory across all 8 supported targets. Each subdirectory inside these directories is an installed skill:

  • ~/.claude/skills/ — Claude Code global skills
  • .cursor/skills/ — Cursor project-local skills
  • .github/skills/ — Copilot project-local skills
  • .agents/skills/ — Codex, and the agentskills.io standard shared location
  • .opencode/skills/ — OpenCode project-local skills
  • .windsurf/skills/ — Windsurf project-local skills
  • .gemini/skills/ — Gemini CLI project-local skills
  • .junie/skills/ — Junie project-local skills
ls ~/.claude/skills/ 2>/dev/null
ls .cursor/skills/ 2>/dev/null
ls .github/skills/ 2>/dev/null
ls .agents/skills/ 2>/dev/null
ls .opencode/skills/ 2>/dev/null
ls .windsurf/skills/ 2>/dev/null
ls .gemini/skills/ 2>/dev/null
ls .junie/skills/ 2>/dev/null

Collect the directory names from each location. Deduplicate by skill name across locations — if the same skill name appears in multiple directories, count it once. Track which platforms each skill was found in.

Show the user the combined result:

Found skills across AI tools:

  Claude Code (~/.claude/skills/):  research, explain, orient
  Cursor (.cursor/skills/):         research, explain
  Copilot (.github/skills/):        research
  Codex (.agents/skills/):          (none)
  OpenCode (.opencode/skills/):     (none)
  Windsurf (.windsurf/skills/):     research
  Gemini CLI (.gemini/skills/):     (none)
  Junie (.junie/skills/):           (none)

  Unique skills: research, explain, orient

Read the full file on GitHub · 268 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 · 268 lines · 67 tokens per session scan F 894590c3c37c

Subscribe to this mod's changes

harness-export is a skill published in the GitHub repository harnessprotocol/harness-kit (13 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 3,024 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

harness-export compared with skills from other repositories

harness-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-exportharnessprotocol/harness-kitSkill13todayApache-2.0A67Claude 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