harness-import

harness-import is a skill for Claude Code from harnessprotocol/harness-kit. It costs 72 tokens per session (4,239 once invoked), scanned D, original, Apache-2.0.

A read-only health check for a repository's work log: the files that record development tasks and releases. It checks versions, missing or outdated files, Git hook setup, and consistency rules.

In plain words
What is it for?
Use it to diagnose version mismatches, stale or missing work-log files, incorrect Git hook settings, or failed work-log checks.
Why use it?
It shows whether the work-log system is correctly installed and consistent without changing anything. When it finds problems, it points to the separate initialization or upgrade command.

Skill for Claude Code

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

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

Good fit Use it to diagnose version mismatches, stale or missing work-log files, incorrect Git hook settings, or failed work-log checks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/harnessprotocol/harness-kit/harness-import"><img src="https://agentmods.dev/badge/skills/harnessprotocol/harness-kit/harness-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. 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.00072 $0.04239
Opus 5.5 $0.00029 $0.01696
Sonnet 5.5 $0.00014 $0.00848
Haiku 4.5 $0.00007 $0.00424

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

Security

Grade D, and why

harness-import scanned grade D with 3 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 1mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

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

Reads agent configuration directoriesmediumAgent snooping

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

- Codex or Windsurf confirmed: **skip** — neither has a project-level MCP file (Codex uses `~/.codex/config.toml`, Windsurf uses a global `~/.codeium/windsurf/mcp_config.json`). Print the same warning the compiler uses r

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> curl -fsSL https://raw.githubusercontent.com/harnessprotocol/harness-kit/main/harness-restore.sh | bash -s -- harness.yaml
plugins/harness-share/skills/harness-import/SKILL.md · 362 lines

How it starts

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

Import a Harness Configuration

You are helping the user install plugins from a harness.yaml file — either all of them or a subset they choose.

This skill handles both format versions:

  • v1 protocol format (version: "1" string) — uses source: owner/repo per plugin, may include mcp-servers, env, and instructions sections
  • Legacy format (version: 1 integer) — uses marketplace: key per plugin with a marketplaces: section

Workflow Order (MANDATORY)

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


Step 1: Find and read the config

Check for harness.yaml in this order:

  1. A path provided by the user after /harness-import (e.g., /harness-import ~/dotfiles/harness.yaml)
  2. ./harness.yaml in the current directory

If no file is found at either location, tell the user:

"No harness.yaml found. Get one from a teammate or generate your own with /harness-export."

Read and parse the file. Detect which format version it uses:

  • version: "1" (string) → Protocol v1 format
  • version: 1 (integer) → Legacy format

Step 2: Show what's available

Display the plugin list clearly before asking anything:

Plugins in this config:

  1. explain (harnessprotocol/harness-kit) — Layered explanations of files, functions, directories, or concepts
  2. research (harnessprotocol/harness-kit) — Process any source into a structured, compounding knowledge base
  3. superpowers (obra/superpowers-marketplace) — Structured dev workflows — TDD, systematic debugging, subagent delegation

For legacy format, resolve the source by looking up plugins[].marketplace → marketplaces[key].

Then, if the file contains any of the following sections, mention them briefly:

  • mcp-servers: — "This config also declares MCP servers. I'll ask about those after plugins."
  • env: — "This config declares environment variables. I'll surface those after plugins."
  • instructions: — "This config includes harness instructions. I'll offer to apply those after plugins."

Read the full file on GitHub · 362 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. 1mo ago Changed · +4 lines · +72 tokens per session 0f1ccfd94cb3
  2. 3mo ago First seen · 358 lines · 0 tokens per session scan D e797b3c5b6c8

Subscribe to this mod's changes

harness-import is a skill published in the GitHub repository harnessprotocol/harness-kit (13 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 4,239 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

harness-import compared with skills from other repositories

harness-import next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-importharnessprotocol/harness-kitSkill13todayApache-2.0D72Claude 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