Set up or absorb the harness-kit operating rules in this repo. Use when the user asks to install harness-kit, set up agent rules, fill AGENTS.md placeholders, or fold harness-kit ideas into existing rules docs.
2 stars
0 votes
0 copies
1 view
Added October 16, 2026
ai-agentsgogitapi
Works with
api
Security analysis
D42/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Harness Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/chocomyong-harness-setup)
---
name: harness-setup
description: Set up or absorb the harness-kit operating rules in this repo. Use when the user asks to install harness-kit, set up agent rules, fill AGENTS.md placeholders, or fold harness-kit ideas into existing rules docs.
---
# Set up harness-kit in this repo
Decide which path applies, then follow only that path.
## Which path
- The repo has **no rules docs** (no AGENTS.md, CLAUDE.md, or house dev guide), or
`AGENTS.md` still contains `<PLACEHOLDER>` marks -> **Fill**.
- The repo **already runs its own rules docs** -> **Absorb**. Never install a second rules
system beside an existing one: the same rule stated in two places drifts.
## Fill
1. If the kit files are not present yet, run the installer from the repo root:
`curl -fsSL https://raw.githubusercontent.com/chocomyong/harness-kit/main/install.sh | sh`
It only adds files and never overwrites.
2. Read `AGENTS.md` and `WORK_PROTOCOL.md`.
3. Survey the repo: file tree, `git log`, README and other docs, build and deploy scripts.
4. Fill every `<PLACEHOLDER>` in `AGENTS.md` and `docs/REPO_MAP.md` with measured facts about
this repo. Each value comes from something you read here, not from what similar repos look like.
5. Section 0 (the top invariant) is confirmed by the human. Propose candidates you found - a
production datastore, a one-way sync, a paid API - with the file and line that suggested
each. Never invent one.
6. Keep `AGENTS.md` to rules only and under ~150 lines. Layout and names go to `docs/REPO_MAP.md`.
7. Show the full diff and wait for confirmation before saving. Then delete the HTML guidance
comments from the filled files.
## Absorb
1. Read harness-kit's `MINIMAL.md` and `principles/absence-judgment.md`.
2. Read the repo's existing rules docs end to end.
3. Propose the smallest set of edits that folds into the existing docs, in their language and
format:
- the top invariant stated at the top of the highest-authority doc,
- absence-judgment as a named rule,
- an index-first incident registry, seeded with lessons the team keeps re-explaining,
- the three-question done check (ran / fails when wrong / measured in the right place).
4. Where a kit idea duplicates one the repo already has, keep theirs and skip the kit's.
5. Create no new rule files unless the user agrees. Show the diff before saving.
## Confirm it loaded
Ask a fresh session: "Summarize the rules file in five bullets and quote the top invariant."
An answer that is not from the file means the wiring is broken; fix that before other work.