Skip to content

harnessprotocol/harness-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

97 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

harness-kit

Portable configuration for AI coding tools.

Release Validate License Plugins PRs Welcome

Works with Claude Code Β· Cursor Β· GitHub Copilot

🧰 What is harness-kit?

Your AI coding setup β€” plugins, skills, MCP servers, hooks, conventions β€” packaged into a single config you can apply to any tool on any machine. Build it once, share it with your team in one file.

πŸ“¦ Install

/plugin marketplace add harnessprotocol/harness-kit
Fallback: install with script (skills only)

If your Claude Code build doesn't support the plugin marketplace:

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

Downloads skill files to ~/.claude/skills/ over HTTPS. The full plugin experience (scripts, hooks, agents) requires the marketplace install.

⚑ Quick Start

Install explain β€” no dependencies, works in any codebase:

/plugin install explain@harness-kit

Then try it:

/explain src/auth/middleware.ts       # explain a specific file
/explain the payment processing flow  # search the codebase for a concept
/explain src/services/                # map a directory

Produces a layered explanation: summary, key components, how it connects, patterns, gotchas, and where to start if you need to change it.

πŸ”Œ Plugins

A few highlights to get started:

Plugin What it does Try it
explain Layered code explanations for files, functions, directories, or concepts /explain src/auth/
research Process any source into a structured, compounding knowledge base /research https://...
review Code review with severity labels and cross-file analysis /review
lineage Column-level data lineage through SQL, Kafka, Spark, and JDBC /lineage orders.amount

πŸ“‹ Browse all 16 plugins β†’ or run /plugin marketplace browse harness-kit

🌍 Community

Plugin Author What it does
superpowers Jesse Vincent TDD, systematic debugging, brainstorming-before-coding, subagent delegation, git worktree isolation
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@obra

πŸ”„ Share Your Setup

Export your plugin setup to a harness.yaml, commit it to your dotfiles, and restore it anywhere.

Command What it does
/harness-export Write harness.yaml from your current setup
/harness-import harness.yaml Interactive wizard β€” pick what to install
/harness-compile Compile to native configs for Claude Code, Cursor, and Copilot
/harness-sync Keep all three tools' configs aligned
/harness-validate Validate against the Harness Protocol v1 schema
Shell fallback (no Claude Code required)
curl -fsSL https://raw.githubusercontent.com/harnessprotocol/harness-kit/main/harness-restore.sh | bash -s -- harness.yaml

See harness.yaml.example for the config format. harness.yaml follows the Harness Protocol v1 open spec β€” a vendor-neutral format for portable AI coding harnesses.

πŸ”’ Security & Privacy

  • No telemetry, no data collection β€” harness-kit never phones home. Optional stats are local-only.
  • Secrets stay out of config β€” plugins declare environment variables they need (requires.env in plugin.json) with required, optional, and sensitive flags. Values live in your shell profile, direnv, or a secrets manager β€” never in checked-in files. The framework validates existence but never reads or logs values.
  • Plain text, fully inspectable β€” plugins are markdown and JSON. No binaries, no background processes, no network calls on install. Scripts and hooks only run when you explicitly invoke a skill.
  • Granular permissions β€” tool-level allow/deny/ask, path-level write restrictions, and network host allowlists. All configurable per-project.
  • Audit logging β€” permission changes, secret access, and preset applications are logged with timestamps.
  • Prompt injection detection β€” the research plugin treats all external content as untrusted, scanning for injection attempts before processing.

See the Secrets Management guide for setup with 1Password, direnv, Google Secret Manager, and CI environments.

πŸ–₯️ Desktop App

A Tauri desktop companion that brings the harness concept to a native UI.

  • Sync engine β€” compiles harness.yaml to platform configs
  • Plugin explorer β€” browse and manage installed plugins
  • Observatory β€” live session dashboard with stats and transcripts
  • Comparator β€” side-by-side harness comparison with interactive terminal panes
  • Harness editor β€” inline editing with custom profiles
  • Memory β€” knowledge graph viewer via membrain integration
  • Team chat β€” IRC-style chat backed by a self-hosted WebSocket relay

See apps/desktop/ for build instructions. The desktop app is a separate product from the plugin marketplace.

🌐 Cross-Platform

  • Claude Code β€” native plugin marketplace support
  • Cursor β€” SKILL.md files work as prompt instructions; /harness-compile generates native config
  • GitHub Copilot β€” reads CLAUDE.md natively via chat.useClaudeMdFile

See the Harness Protocol spec for the full cross-platform target mapping.

πŸ“š Docs

  • FAQ β€” What is this, why do I need it, how does it work
  • Plugins vs. Skills β€” Why everything ships as a plugin, even when it's just a prompt
  • Claude Conventions β€” Organizing CLAUDE.md, AGENT.md, and SOUL.md with separation of concerns
  • Understanding Agents β€” AGENT.md, custom subagents, and "AI agent" disambiguation

🀝 Contributing

See CONTRIBUTING.md for plugin guidelines, skill conventions, and PR process.

πŸ“„ License

Apache 2.0