rexleimo/harness-cli/harness-init-runner
Claude Code and agent skill by rexleimo/harness-cli
- community
Checking that the SKILL.md file is still in the repository.
Initialize a lightweight repo-local Node.js harness (harness/ + .harness/) WITHOUT AIOS dependency. Use ONLY when you need a standalone, portable harness. If AIOS is installed, use `aios-harness` instead — it has rex Command hosting, ContextDB integration, and checkpoint recovery.
Install
npx vskill@latest install rexleimo/harness-cli/harness-init-runnerSKILL.md
Harness Init Runner (Node.js)
Working directory: any Node.js repo with package.json
Create a portable long-running-agent harness inside the current repo (Node.js), without pulling in the full AIOS workspace layout.
When to use (even if AIOS is installed)
- Use this when you want a repo-local, lightweight
harness/runner that works across Codex / Claude Code / Gemini / opencode. - If you already use AIOS, you may not need this. However it can coexist: this skill creates
harness/+/.harness/and does not depend onscripts/aios.mjs.
What this skill generates (repo root)
harness/(runner code)harness.config.json(provider command templates)/.harness/(runtime artifacts root; gitignored)package.jsonscripts:harness:run,harness:doctor- dependency:
zod
Runtime artifacts are written under ./.harness/runs/* and MUST NOT be committed.
Preconditions
- Run from (or inside) a Node.js repo that has a
package.json. - If
package.jsonis missing, stop and ask the user whether to create a Node project first.
Init Steps (deterministic)
- Locate repo root by searching upward for
package.json. - Copy the bundled templates from
assets/template/into the target repo root:
- copy
assets/template/harness/→<repoRoot>/harness/ - For
harness.config.json: if the file already exists, merge (preserve user's existing keys, add only missing ones). If it does not exist, copy the template. Never silently overwrite user edits.
- Append
/.harness/to<repoRoot>/.gitignore(create file if missing). - Update
<repoRoot>/package.json(additive only):
- Add scripts:
harness:run:node harness/run.mjsharness:doctor:node harness/doctor.mjs- Add dependency
zod(usedependenciesunless the repo clearly wantsdevDependencies).
- Run
npm install. - Verify:
npm run harness:doctornpm run harness:run -- --provider codex --task "hello harness"
Safety defaults
- The runner performs a lightweight “human gate” check on the task text for auth/payment/policy + sensitive command keywords.
- If blocked, it exits with a non-zero code and prints reasons.
- Operator can bypass using
--allow-risk.
Notes for multi-client compatibility
- The runner shells out to provider CLIs; exact CLI flags vary by tool/version.
- Default provider configs are intentionally minimal; users should adjust
harness.config.jsonfor their environment.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-sources/harness-init-runner/SKILL.md
Popularity
- Repository stars
- 49
- Repository forks
- 6
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rexleimo/harness-cli/harness-init-runner)