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 aios-long-running-harnessgit 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/aios-long-running-harness)<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.
<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>- 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.00063 | $0.01318 |
| Opus 5 | $0.00032 | $0.00659 |
| Sonnet 5 | $0.00013 | $0.00264 |
| Haiku 4.5 | $0.00006 | $0.00132 |
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.
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
- Preflight: lock objective, stop conditions, budgets, and required artifacts.
- Plan: split into idempotent steps with explicit success/failure evidence.
- Execute: run one step at a time with tool output capture.
- Verify: assert completion from page evidence, not assumptions.
- Checkpoint: persist current state, artifacts, and next action.
- Recover: on failure, classify and retry only with a changed hypothesis.
- 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|false—trueonly 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 isfalse.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: falserounds (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.
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.
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.
- 2d ago Changed · +25 lines c8e34cb191e3
- 10d ago First seen · 84 lines · 63 tokens per session scan A 15f5e58fa46d
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.
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…
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…
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.…
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.
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.
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.