aios-long-running-harness

aios-long-running-harness is a skill for Claude Code, Codex from rexleimo/aios. It costs 63 tokens per session (1,318 once invoked), scanned A, original, MIT.

A resumable workflow for long coding tasks that records plans, command results, checkpoints, and evidence so work can continue after interruptions.

In plain words
What is it for?
Use it for planned multi-step objectives that need recovery, verification, saved state, and a final completion summary.
Why use it?
It reduces the risk of losing progress or claiming success without checking the required results.

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 planned multi-step objectives that need recovery, verification, saved state, and a final completion summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rexleimo/aios/aios-long-running-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-long-running-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-long-running-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rexleimo/aios/aios-long-running-harness"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-long-running-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,318 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.01318
Opus 5 $0.00032 $0.00659
Sonnet 5 $0.00013 $0.00264
Haiku 4.5 $0.00006 $0.00132

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

Security

Grade A, and why

aios-long-running-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 2d 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-long-running-harness/SKILL.md · 109 lines

How it starts

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

AIOS Long-Running Harness

Overview

Use this harness to keep long tasks stable under UI drift, model variability, and partial failures. It maps Anthropic's long-running-agent harness ideas into this repository's file-based workflow.

Harness Loop

  1. Preflight: lock objective, stop conditions, budgets, and required artifacts.
  2. Plan: split into idempotent steps with explicit success/failure evidence.
  3. Execute: run one step at a time with tool output capture.
  4. Verify: assert completion from page evidence, not assumptions.
  5. Checkpoint: persist current state, artifacts, and next action.
  6. Recover: on failure, classify and retry only with a changed hypothesis.
  7. Complete: run final verification and write summary doc.

Progress self-report and replan cadence

Stuckness is self-reported by you in structured observations, never judged by a second model call and never guessed from message keywords. After every Execute/Verify round, emit:

  • progress_made: true|falsetrue only when the round produced new evidence, a new artifact, or a state change versus the previous round. Repeating the same tool call with the same result is false.
  • blocked_reason: <empty|one line> — empty when progress was made; otherwise the concrete blocker (selector gone, auth lost, tool error, waiting on input).

Rules:

  • The harness counts consecutive progress_made: false rounds (threshold 3 unless the run preflight set another). At threshold, stop repeating: run Recover with a changed hypothesis or escalate to the user. Never run the identical action a fourth time hoping for a different result.
  • An identical tool call issued twice in a row is flagged immediately as no-progress, regardless of the self-report.
  • Every N steps (planning_interval, default 5, set in preflight), re-emit the frontier: ready work vs. blocked work with reason and evidence, and replan the remaining steps from evidence. A replan is a checkpointed event, not a silent course change.

Read the full file on GitHub · 109 lines

Files

What ships with it

3 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. 2d ago Changed · +25 lines c8e34cb191e3
  2. 10d ago First seen · 84 lines · 63 tokens per session scan A 15f5e58fa46d

Subscribe to this mod's changes

aios-long-running-harness is a skill published in the GitHub repository rexleimo/aios (52 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,318 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

powerskills-workiq

Microsoft 365 automation via Work IQ (Graph-backed CLI). Ask natural-language questions against Outlook mail, calendar, Teams messages, SharePoint, OneDrive, and People. Fetch entities by URL, run OpenAPI actions (sendMail, copy, move), call functions (getSchedule, delta, reminderView), list Work IQ agents. Use when…

aloth/PowerSkills · 101 tokens

powerskills

Windows automation toolkit for AI agents. Provides Outlook email/calendar (COM), Microsoft 365 mail/calendar/Teams/SharePoint/OneDrive via Work IQ CLI, Edge browser (CDP), desktop screenshots/window management, and shell commands via PowerShell. Install this for the full suite, or install individual sub-skills…

aloth/PowerSkills · 92 tokens

powerskills-browser

Edge browser automation via Chrome DevTools Protocol (CDP). List tabs, navigate, take screenshots, extract page content/HTML, execute JavaScript, click elements, type text, fill forms, scroll. Use when needing to control Edge browser, scrape web content, automate web forms, or take browser screenshots on Windows.…

aloth/PowerSkills · 80 tokens

powerskills-outlook

Outlook email and calendar automation via COM. Read inbox, unread, sent items. Search emails. Send, reply, draft. List calendar events and mail folders. Use when needing to check work email, read/send Outlook messages, search mail, or view calendar. Requires Outlook desktop app on Windows.

aloth/PowerSkills · 65 tokens

powerskills-desktop

Windows desktop automation. Take full-screen or window screenshots, list/focus/minimize/maximize windows, send keystrokes, launch applications. Use when needing to capture the Windows screen, manage windows, send keyboard input, or start programs.

aloth/PowerSkills · 53 tokens

powerskills-system

Windows system commands and info via PowerShell. Execute shell commands, get system info (hostname, OS, uptime), list top processes, read environment variables. Use when needing to run commands, check system status, or inspect the Windows environment.

aloth/PowerSkills · 52 tokens