Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add rexleimo/aios --skill harness-init-runnergit clone --depth 1 https://github.com/rexleimo/aiosWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rexleimo/aios/harness-init-runner)<a href="https://agentmods.dev/skills/rexleimo/aios/harness-init-runner"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/harness-init-runner/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rexleimo/aios/harness-init-runner"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/harness-init-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.00796 |
| Opus 5.5 | $0.00027 | $0.00318 |
| Sonnet 5.5 | $0.00014 | $0.00159 |
| Haiku 4.5 | $0.00007 | $0.00080 |
Grade A, and why
harness-init-runner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
- copy
- 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).
- Add scripts:
- Run
npm install. - Verify:
npm run harness:doctornpm run harness:run -- --provider codex --task "hello harness"
Safety defaults
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/template/gitignore-snippet.txt 12 B
- assets/template/harness.config.json 640 B
- assets/template/harness/config.schema.mjs 1.2 KB runs code
- assets/template/harness/doctor.mjs 2.1 KB runs code
- assets/template/harness/lib/checkpoint.mjs 1.4 KB runs code
- assets/template/harness/lib/human-gate.mjs 5.4 KB runs code
- assets/template/harness/lib/io.mjs 302 B runs code
- assets/template/harness/lib/paths.mjs 1.1 KB runs code
- assets/template/harness/providers/claude.mjs 144 B runs code
- assets/template/harness/providers/codex.mjs 142 B runs code
- assets/template/harness/providers/gemini.mjs 144 B runs code
- assets/template/harness/providers/index.mjs 425 B runs code
- assets/template/harness/providers/opencode.mjs 148 B runs code
- assets/template/harness/run.mjs 6.8 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -2 tokens per session 980040cf020b
- 2mo ago Changed 16933ffb8662
- 2mo ago Changed 9067c1113859
- 2mo ago Changed 933d50c3ccaf
- 3mo ago First seen · 68 lines · 70 tokens per session scan A d0face01ef96
harness-init-runner is a skill published in the GitHub repository rexleimo/aios (62 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 796 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
harness-init-runner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| harness-init-runnerrexleimo/aios | Skill | 62 | today | MIT | A | 68 | Claude Code, Codex |
| traffic-analyticsAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 29 | Claude Code, Codex |
| mention-monitorAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 21 | Claude Code, Codex |
| publish-siteAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 31 | Claude Code, Codex |
| seo-auditAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 32 | Claude Code, Codex |
| githubAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 27 | Claude Code, Codex |
| gog-workspaceAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 25 | Claude Code, Codex |