by hoangnb24
Turn any repo into an agent-ready workspace for Claude Code, Codex, Cursor, and other coding agents.
# Add to your Claude Code skills
git clone https://github.com/hoangnb24/repository-harnessGuides for using ai agents skills like repository-harness.
Last scanned: 6/3/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-03T08:55:33.596Z",
"npmAuditRan": true,
"pipAuditRan": true
}repository-harness is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hoangnb24. Turn any repo into an agent-ready workspace for Claude Code, Codex, Cursor, and other coding agents. It has 1,207 GitHub stars.
Yes. repository-harness passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/hoangnb24/repository-harness" and add it to your Claude Code skills directory (see the Installation section above).
repository-harness is primarily written in Rust. It is open-source under hoangnb24 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh repository-harness against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Turn a software repository into a legible, agent-ready workspace.
repository-harness installs a small repository protocol and a safe updater.
The repository remains the system of record: product documents, decisions,
plans, code, tests, CI, and runtime evidence define the work.
It is not a task database, story tracker, agent orchestrator, or application runtime.
Coding agents often fail for ordinary engineering reasons:
Harness provides a compact entrypoint, a navigable repository map, durable plans only when work needs them, explicit judgment boundaries, and mechanical validation.
read-only request
-> inspect the smallest authoritative surface
-> answer with evidence
bounded change
-> inspect authority and affected behavior
-> implement the smallest coherent change
-> run relevant proof
multi-session or coordinated change
-> create docs/plans/active/<plan>.md
-> keep decisions, progress, recovery, and validation current
-> move the validated plan to docs/plans/completed/
material product ambiguity
-> stop before mutation
-> present the concrete choice and consequences
A typo does not need a plan. A migration spanning sessions does. A request to “add rate limiting” without a quota, identity key, enforcement owner, shared state topology, or response contract must stop before implementation.
Start with AGENTS.md, then
docs/WORKFLOW.md.
The default core contains:
AGENTS.md entrypoint;It does not install application architecture, product policy, validation commands, credentials, a database, schemas, orchestration, or background processes.
The exact payload is declared in
scripts/harness-install-files.txt.
From a target repository:
curl -fsSL "https://raw.githubusercontent.com/hoangnb24/repository-harness/main/scripts/install-harness.sh?$(date +%s)" |
bash -s -- --yes
On PowerShell:
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/hoangnb24/repository-harness/main/scripts/install-harness.ps1"))) -Yes
Use --merge / -Merge to preserve existing files and add only missing
Harness paths. Use --override / -Override only when replacement is
intentional. Use --dry-run / -DryRun to preview.
The bootstrap downloads a versioned harness binary and checksum, verifies
release identity, and delegates installation to that candidate.
scripts/bin/harness status
scripts/bin/harness doctor
scripts/bin/harness update --dry-run
scripts/bin/harness update
The updater stores the exact upstream base under .harness-core/, performs a
three-way merge, backs up changed files, and activates the result
transactionally.
If local and upstream edits overlap, no managed file or executable changes. Harness retains BASE, LOCAL, UPSTREAM, and RESOLVED copies plus the frozen managed input set. After a human resolves the semantic choice:
scripts/bin/harness update --continue --dry-run
scripts/bin/harness update --continue
Use scripts/bin/harness update --abort to discard only the staged resolution.
Invariant enforcement routes accepted rules through repository-native validation:
$encode-invariant
Brownfield onboarding is explicit and read-only first:
$onboard-repository
Harness improvement is also explicit and requires baseline-to-rerun evidence:
$improve-harness
Engineering advice is a separate opt-in payload:
scripts/install-harness.sh --with-engineering-wisdom --yes /path/to/project
No skill runs during installation. Onboarding and Harness improvement remain explicit-only; invariant encoding responds only to matching work requests.
Harness owns three release-evidence boundaries:
Operating an arbitrary consumer application end to end remains consumer-owned research. Harness does not claim that installation alone supplies runtimes, fixtures, credentials, logs, or interface automation.
The former SQLite harness-cli and machine protocol v1 ended support on
2026-08-10. The last published compatibility release is
harness-cli-v0.1.22. Existing consumers may pin that immutable release, but
the current repository no longer builds, installs, tests, or publishes it.
Harness does not automatically delete legacy binaries, databases, schemas, or state from consumer repositories.
See
decision 0027.
scripts/validate-premerge.sh
The contract runs Rust formatting, tests, Clippy, installer and workflow
checks, release guards, documentation checks, shell syntax, and
git diff --check.