long-running-agent

long-running-agent is a skill for Claude Code, Codex from inclusionAI/AWorld. It costs 61 tokens per session (2,754 once invoked), scanned A, original, MIT.

A workflow for handling long, multi-step tasks with a changing plan, saved evidence, checkpoints, and context recovery. A checkpoint is a deliberate pause to review progress before continuing.

In plain words
What is it for?
Planning and carrying out sustained tasks that require repeated tool use, milestone reviews, or replanning.
Why use it?
It helps prevent extended work from losing its goals or repeating completed steps when the task needs several dependent actions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Planning and carrying out sustained tasks that require repeated tool use, milestone reviews, or replanning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inclusionai/aworld/long-running-agent
About the project

AWorld is an agent harness, meaning a framework that coordinates an AI agent’s tools, memory, context, and execution so expert knowledge can be turned into reusable skills and autonomous agents. It is for building domain-specific agent applications and workflows, with the catalogue entries representing skills, agents, and commands that operate within the AWorld ecosystem.

inclusionAI/AWorld · 1,250 stars · on GitHub · aworldagents.com

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 inclusionAI/AWorld --skill long-running-agent
Clone the repo
git clone --depth 1 https://github.com/inclusionAI/AWorld

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 long-running-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/inclusionai/aworld/long-running-agent"><img src="https://agentmods.dev/badge/skills/inclusionai/aworld/long-running-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,754 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.00061 $0.02754
Opus 5.5 $0.00024 $0.01102
Sonnet 5.5 $0.00012 $0.00551
Haiku 4.5 $0.00006 $0.00275

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

Security

Grade A, and why

long-running-agent 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 20d 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.

aworld-skills/long-running-agent/SKILL.md · 250 lines

How it starts

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

Long-Running Agent

Use this skill to keep a long task coherent without turning its initial plan into an inflexible script. The AWorld framework inside the wheel owns protocol state, review scheduling, and repair policy while consuming the caller-provided task deadline and capabilities. This skill guides how to plan and reason when those capabilities are enabled; the outer harness does not select those task strategies.

Read references/execution-semantics.md when creating or revising the charter and rolling plan. Read references/checkpoints-and-review.md when responding to a checkpoint, recovering context, or reviewing a candidate final result.

Bypass short work

For a direct task that can be completed and checked in a few actions, execute it normally. Do not manufacture a charter, milestones, or checkpoints merely because this skill is enabled. Adopt the long-running workflow only when the AWorld execution engine requests a checkpoint or final review, or when sustained dependent work actually needs a recoverable rolling plan.

Do not manufacture reviewer work either. A reviewer value lease is relevant only after AWorld has armed a long task, observed a real current candidate, and selected one unresolved obligation from the authoritative public contract. A short or unarmed task, a task without an actionable public contract, or work without a current candidate stays on its existing path.

Make the execution decision explicitly

Before the first ordinary Tool action, AWorld may expose only the internal aworld__execution_decision Tool. Use it once to record both the bounded __aworld_execution_profile and the current __aworld_plan_update checkpoint. This action changes no user state: it makes your decision recoverable, then AWorld restores the ordinary Tool surface.

Choose horizon=long only for sustained dependent work, such as multiple milestones or an expected sequence of at least several Tool actions. Choose short for direct work and unknown when the available evidence does not yet support either classification. Report a bounded estimate through confidence, milestone_count, expected_tool_actions, and verification_required, then state the next bounded action in __aworld_plan_update. This is a planning claim, never completion evidence. Tool counts and stagnation do not silently override an explicit horizon; a later model-owned checkpoint may revise it. The deadline reserve is a mechanical stop boundary, not a long-task classification.

Read the full file on GitHub · 250 lines

Files

What ships with it

2 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. 20d ago Changed · +19 lines 51f2a040cb6f
  2. 1mo ago First seen · 231 lines · 61 tokens per session scan A 69472b4e8d88

Subscribe to this mod's changes

long-running-agent is a skill published in the GitHub repository inclusionAI/AWorld (1,250 stars, last pushed 6d ago), licensed MIT. It adds 61 tokens to every session and 2,754 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-13.

Related

long-running-agent compared with skills from other repositories

long-running-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
long-running-agentinclusionAI/AWorldSkill1.3k6d agoMITA61Claude Code, Codex
cronHKUDS/nanobotSkill50kyesterdayMITA8Claude Code, Codex
notionspinabot/brigadeSkill11k17d agoMITA17Claude Code, Codex
imsgspinabot/brigadeSkill11k17d agoMITA21Claude Code, Codex
slackspinabot/brigadeSkill11k17d agoMITA35Claude Code, Codex
obsidianspinabot/brigadeSkill11k17d agoMITA22Claude Code, Codex
session-compactcodeaholicguy/ai-devkitSkill1.7kyesterdayApache-2.0A39Claude Code