setup-harness

Copy the Claude Code harness into a project Git repository.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bjornslib/cobuilder-harness --skill setup-harness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-harness
Source: https://github.com/bjornslib/cobuilder-harness/tree/main/.claude/skills/setup-harness
Command: npx skills add https://github.com/bjornslib/cobuilder-harness --skill setup-harness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rsync, python3, git.

What problem does it solve?

Copy Claude Code harness into a project directory to ensure it is tracked in version control and consistently available for new projects or teams.

Core Features & Use Cases

  • Deploys the harness files into a target project directory, making it part of the repository.
  • Creates runtime structures (state, progress, and hooks) and updates gitignore to keep runtime data out of version control.
  • Optionally copies .mcp.json for API key management and project-specific configuration.

Quick Start

Run the deployment script to copy the harness into your project directory and set up git-ready runtime folders.

Frequently Asked Questions about setup-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy Claude Code harness files into a Git repository for team onboarding?

To copy the Claude Code harness into a Git repository, this deployment script rsyncs harness files into your project directory, creates runtime folders with gitkeep files, and updates .gitignore to ensure tracked consistency for team onboarding.

What is a Claude Code harness deployment and when do I need it?

A Claude Code harness deployment integrates harness files and runtime directories directly into your project repo. You need it when initializing new projects, onboarding teams, or updating existing repos to ensure deterministic availability.

Do I need rsync and python3 to deploy harness files into my project?

Yes, you need rsync, python3, and git installed to deploy harness files. The deployment script relies on rsync for deterministic file copying, python3 for script execution, and git for version control integration.

Can I install pre-push hooks and .mcp.json configuration during harness deployment?

Yes, you can install pre-push hooks and optionally copy .mcp.json for API key management during harness deployment. The script sets up hooks and configures project-specific settings while deploying runtime structures.

What happens if my target project directory has existing symlinks or is not a Git repo?

The harness deployment script guards against existing symlinks and non-git targets to prevent conflicts. It ensures the target directory is a valid Git repository before proceeding with the rsync operation and hook installation.

What's the best way to keep Claude Code runtime data out of version control?

The best way to keep Claude Code runtime data out of version control is by updating .gitignore during harness deployment. The script automatically creates state and progress runtime directories with gitkeep files while excluding transient runtime data.