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.00070 | $0.00798 |
| Opus 5.5 | $0.00028 | $0.00319 |
| Sonnet 5.5 | $0.00014 | $0.00160 |
| 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 29d 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.
- 29d ago Changed 16933ffb8662
- 1mo ago Changed 9067c1113859
- 1mo ago Changed 933d50c3ccaf
- 1mo 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 (54 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 798 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.
Other skills, from other repositories
gog-workspace
Use the gog CLI for Google Workspace tasks across Gmail, Calendar, Drive, Docs, Sheets, Contacts, and related services. Use when the user asks to check email, search Gmail, inspect calendar events, find Drive files, read Docs or Sheets, or manage Google Workspace data through gog.
apple-calendar
Read macOS Calendar events via the icalBuddy CLI and create events via AppleScript (osascript). Use to check the user's calendar, agenda, upcoming events, or add an event on macOS.
apple-reminders
Manage Apple Reminders via the remindctl CLI on macOS — list, add, complete, delete, manage lists.
github
Drive GitHub via the official gh CLI — repos, issues, pull requests, releases, gists, Actions runs, and raw REST through gh api. Use when the user asks to inspect or manage GitHub.
obsidian
Read, search, and create Markdown notes inside an Obsidian vault on disk.
audio-transcribe
Transcribe speech from audio files (mp3, m4a, wav, ogg, flac, webm) to text using the local whisper CLI — no API key. Use whenever a task hinges on the spoken content of an audio attachment.