aios-harness

aios-harness is a skill for Claude Code, Codex from rexleimo/aios. It costs 56 tokens per session (2,303 once invoked), scanned A, original, MIT.

A control process for running a planned workflow that may need to pause and continue later. It records the work item, evidence, checkpoints, decisions, and recovery information through AIOS and Rex Command.

In plain words
What is it for?
Use it for explicit one-time or recurring objectives that need checkpoints, human decisions, evidence, or recovery after interruption.
Why use it?
It prevents long-running or recurring work from losing its state between runs. It also keeps requirements, execution records, and handoffs in their existing places instead of creating duplicate plans.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Good fit Use it for explicit one-time or recurring objectives that need checkpoints, human decisions, evidence, or recovery after interruption.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rexleimo/aios/aios-harness
Install

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.

Any agent
npx skills add rexleimo/aios --skill aios-harness
Clone the repo
git clone --depth 1 https://github.com/rexleimo/aios

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for aios-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/rexleimo/aios/aios-harness/github.svg)](https://agentmods.dev/skills/rexleimo/aios/aios-harness)
Your own site
<a href="https://agentmods.dev/skills/rexleimo/aios/aios-harness"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-harness/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.

agentmods 80×15 button for aios-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/rexleimo/aios/aios-harness"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02303
Opus 5.5 $0.00022 $0.00921
Sonnet 5.5 $0.00011 $0.00461
Haiku 4.5 $0.00006 $0.00230

Measured 7d ago against content hash ee4ba19c14be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aios-harness 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 7d 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.

skill-sources/aios-harness/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AIOS Harness

Input and Output Contract

Use for a planned resumable objective selected by AIOS policy. Accept the current work item, explicit workflow_type: one-shot|recurring, existing requirements/spec refs, current Rex Command when present, and any selected recovery checkpoint. The model declares task type; code must not infer it from prose or keywords.

Return a compact handoff with workflow_ref, workflow_revision, run_ref, evidence_refs, recovery_checkpoint_ref, decision_brief, and improvement_candidates. Use null or empty lists for inapplicable fields; do not invent refs. The operating contract belongs in the existing spec/work item; execution state belongs in the existing run journal. Reuse them rather than creating another plan, wiki, or ledger.

Workflow Integration

Read references/workflow-integration.md when authoring or importing a recurring workflow, preparing a human decision, or converting upstream loop-me/chief-of-staff artifacts into AIOS handoffs.

  • Specify: reuse accepted requirements. If a consequential decision is still unresolved, report it to the current Rex Command; execute requirements work only when Rex selects it. An explicit /grill is the existing user entry.
  • Execute: once the operating contract is actionable, host only the current Command and persist its evidence. Do not turn the harness into a Provider chain.
  • Decide: prepare authorized work before a human decision point. Return the evidence, options, recommendation, and exact pending decision in one brief.
  • Learn: at a milestone, return source-backed improvement candidates and write verified knowledge through existing Memo tools. /retro remains the explicit environment-review entry; unselected candidates are not applied.

The contract records objective/non-goals, trigger/input, artifacts/completion evidence, failure/stop rules, budgets, and human decision points. For recurring work, distinguish the reusable definition and revision from each individual run. A previous run's success is not evidence for the next run. Definition changes are explicit revisions, not silent changes to an active run's acceptance.

Read the full file on GitHub · 157 lines

Files

What ships with it

4 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.

Changes

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.

  1. 7d ago First seen · 157 lines · 56 tokens per session scan A ee4ba19c14be

Subscribe to this mod's changes

aios-harness is a skill published in the GitHub repository rexleimo/aios (62 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 2,303 once invoked, about $0.0002 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-10-31.

Related

aios-harness compared with skills from other repositories

aios-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aios-harnessrexleimo/aiosSkill62yesterdayMITA56Claude Code, Codex
live-narratorgregce/deadreckonSkill152mo agononeA34Claude Code, Codex
narrator-as-builtgregce/deadreckonSkill152mo agononeA29Claude Code, Codex
narrator-decisionsgregce/deadreckonSkill152mo agononeA26Claude Code, Codex
narrator-overviewgregce/deadreckonSkill152mo agononeA26Claude Code, Codex
narrator-phasesgregce/deadreckonSkill152mo agononeA27Claude Code, Codex
run-narratorgregce/deadreckonSkill152mo agononeA52Claude Code