harness-setup
Skill2 starsChanged 4 months agoMITView on GitHub
Set up, repair, or verify this Claude Code harness on a machine. Covers prerequisites, running setup.sh/setup.ps1, registering MCP servers at user scope, and health checks. Use when setting up a new machine, when MCP tools are registered but not loading into sessions, when the setup script fails, or when asked to bring a machine to parity with the repo.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- GangJaeYu/harness_loop_full_koreantheir own version, first seen Sep 23, 2026
- Chachamaru127/claude-code-harnesstheir own version, first seen Aug 14, 2026
- maxwell2732/claudecode-research-harness-workflowtheir own version, first seen May 29, 2026
- ArtLjn/harness-setuptheir own version, first seen May 9, 2026
- fockus/claude-skill-buildtheir own version, first seen Mar 30, 2026
- BedirT/harness-setuptheir own version, first seen Mar 17, 2026
Used with
Projects with it also use harness-release, harness-work and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fockusSkillharness-release
Harness v3 統合リリーススキル。CHANGELOG・バージョンバンプ・タグ・GitHub Release を自動化。以下で起動: リリース、バージョンバンプ、タグ作成、公開、/harness-release。実装・コードレビュー・プランニング・セットアップには使わない。
Also in 3 projects that use this
fockusSkillharness-work
Harness v3 統合実行スキル。Plans.md タスクを1件から全並列チーム実行まで担当。以下で起動: 実装して、実行して、harness-work、全部やって、breezing、チーム実行、parallel。プランニング・レビュー・リリース・セットアップには使わない。
Also in 3 projects that use this
- +3 more from fockus
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Chachamaru127/claude-code-harness★ 3.1ksame name
- maxwell2732/claudecode-research-harness-workflow★ 40same name
- GangJaeYu/harness_loop_full_korean★ 4same name
- fockus/claude-skill-build★ 2same name
- BedirT/harness-setup★ 1same name
- ArtLjn/harness-setup★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- config/CLAUDE.mdCLAUDE.md
- dev/CLAUDE.mdCLAUDE.md
- security-scanSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 68
Never print .env contents, tokens, or git remote URLs while debugging setup.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness Setup
Full reference tables (what gets installed where, setup flags, platform differences) live
in README.md at the repo root. Read the relevant section there rather than reproducing
it here. This skill covers the ordering and the gotchas that actually cost debugging time.
Order of operations
- Clone and run the setup script.
./setup.shon macOS/Linux,.\setup.ps1on Windows. This installs agents, rules, commands, contexts, hooks, skills, scripts, the learned-skills link, and merges the hooks block into~/.claude/settings.json. It does not register MCP servers. - Preview first if unsure.
./setup.sh --dry-run(or.\setup.ps1 -DryRun) prints every write and symlink without applying any of them. - Register MCP servers you want, at user scope. See below and
examples/mcp-server-example.md. - Third-party skills and plugins. Installed separately; the setup script does not manage them.
- Verify. See below.
The gotcha that matters most
MCP servers MUST be registered at user scope, via claude mcp add <name> -s user
with -e KEY=value for env vars, using absolute paths.
Project-scope .mcp.json servers show "Connected" in claude mcp list but their tools
silently never load into sessions. This failure mode is quiet and misleading: the server
looks healthy and the tools simply are not there.
# Server needing credentials, read from your own env file
claude mcp add my-server -s user -e "MY_API_KEY=$MY_API_KEY" -- /abs/path/to/python /abs/path/to/server.py
# Third-party server, no credentials
claude mcp add some-server -s user -- npx some-mcp-package@latestPlatform gotchas
- Windows requires a
cmd /cwrapper in thecommandfield for Python servers:-- cmd /c python C:\abs\path\to\server.py. Without it the server fails to spawn. - Learned skills link: symlink on macOS/Linux, junction on Windows. The setup script
handles it. If
~/.claude/skills/learned/already exists as a real directory, move its contents intoconfig/skills/learned/first, or the script will replace it. - CLI tools that install by cloning over SSH can fail on Windows with an SSH
permission error. Force HTTPS for GitHub clones first:
git config --global url."https://github.com/".insteadOf "git@github.com:".
Verify
node config/scripts/check-mcp-health.js # MCP servers + CLI tools
node config/scripts/scan-mcp-tools.js # tool-poisoning baseline (first run pins it)
ls ~/.claude/skills/learned/ # learned-skills link resolves
ls ~/.claude/scripts/hooks/ # hooks installedThen start a session and confirm MCP tools actually appear. claude mcp list showing
"Connected" is not sufficient evidence, per the user-scope gotcha above.
Credentials
Never print .env contents, tokens, or git remote URLs while debugging setup. If auth is
broken, tell the user what to run themselves. GitHub auto-revokes leaked tokens.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

