autonomous-longtask-v2

autonomous-longtask-v2 is a skill for Claude Code, Codex from T-0-co/t-0-spec-kit-ralph. It costs 75 tokens per session (2,078 once invoked), scanned A, original, MIT.

A guide for handling large software-development tasks across multiple sessions. It uses smaller tested steps, progress checkpoints, parallel sub-agents, and task tracking.

In plain words
What is it for?
It is for complex features, refactoring several files or services, tasks with five or more dependent steps, and development work lasting over 30 minutes.
Why use it?
It helps prevent unfinished changes, lost context, and unverified code during work that takes many steps or more than one session.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; names the TodoWrite tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add ../feature-a feature/a.

Good fit It is for complex features, refactoring several files or services, tasks with five or more dependent steps, and development work lasting over 30 minutes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/T-0-co/t-0-spec-kit-ralph
agentmods
npx agentmods add skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2

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 autonomous-longtask-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2/github.svg)](https://agentmods.dev/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2)
Your own site
<a href="https://agentmods.dev/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2"><img src="https://agentmods.dev/badge/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2/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 autonomous-longtask-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2"><img src="https://agentmods.dev/badge/skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,078 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.00075 $0.02078
Opus 5.5 $0.00030 $0.00831
Sonnet 5.5 $0.00015 $0.00416
Haiku 4.5 $0.00007 $0.00208

Measured 2mo ago against content hash 1ed5ce0270e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autonomous-longtask-v2 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 2mo 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.

.agents/skills/autonomous-longtask-v2/SKILL.md · 370 lines

How it starts

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

Autonomous Long-Task Development

This skill optimizes Claude Code for long, autonomous development tasks—from multi-hour feature implementations to multi-session refactorings.

Core Principles

1. Loop Closing (Test-Driven)

Every code change must close a feedback loop:

1. Write test (define expected behavior)
2. Implement code
3. Run test → loop closed
4. Refactor if needed
5. Re-run test → confidence

Anti-pattern (Open Loop):

"Implement feature X"
→ Code written, no verification
→ Bugs discovered later

Best Practice (Closed Loop):

"Implement feature X with tests.
Run tests after implementation."
→ Immediate verification

2. Incremental Progress with Checkpoints

Never attempt to "one-shot" complex features:

❌ Implement entire feature at once
   → Context runs out mid-implementation
   → Next session inherits chaos

✅ Small, tested increments
   → Each increment works standalone
   → Clean handoff between sessions

Checkpoint patterns:

  • Use /rewind or Esc Esc for rollbacks
  • Commit after each working increment
  • Document state in claude-progress.txt for session handoffs

3. Context Management

Claude has 200K tokens, but:

  • Subagents have isolated context windows
  • Long sessions fragment context
  • Use claude-progress.txt for session handoffs
  • /compact <focus> for manual compaction

Task System

Use TaskCreate/TaskUpdate for persistent progress tracking (replaces deprecated TodoWrite).

Quick Start

1. TaskCreate: Create task with subject, description, activeForm
2. TaskUpdate: Set dependencies with addBlockedBy
3. TaskUpdate: Mark in_progress when starting
4. TaskUpdate: Mark completed when done
5. TaskList: Find next available work

Task Workflow

pending → in_progress → completed
         ↑
    (start work)

Tasks persist across sessions and auto-unblock when dependencies complete.

For detailed patterns: See references/task-patterns.md

Read the full file on GitHub · 370 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. 2mo ago First seen · 370 lines · 75 tokens per session scan A 1ed5ce0270e3

Subscribe to this mod's changes

autonomous-longtask-v2 is a skill published in the GitHub repository T-0-co/t-0-spec-kit-ralph (10 stars, last pushed 2d ago), licensed MIT. It adds 75 tokens to every session and 2,078 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-31.

Related

Other skills, from other repositories

autogpt-agents

Autonomous AI agent platform for building and deploying continuous agents. Use when creating visual workflow agents, deploying persistent autonomous agents, or building complex multi-step AI automation systems.

Orchestra-Research/AI-Research-SKILLs · 39 tokens

recall

Reconstruct and narrate the current development context from contextual commits. Run at session start, when resuming work, or when switching branches. Produces a brief, conversational summary of where things stand.

berserkdisruptors/contextual-commits · 43 tokens

public-repo-creation

Create production-ready public GitHub repositories with comprehensive documentation, automated setup, and quality assurance.

kevinnft/ai-agent-skills · 23 tokens

README Writer

Generates a professional, comprehensive README.md for any project from its codebase or description.

Notysoty/openagentskills · 21 tokens

Open Source License Review

Use when reviewing the open-source licenses present in or proposed for a project to identify compliance obligations and flag compatibility or disclosure risks for attorney review.

zgbrenner/agentcounsel · 33 tokens

chroma

Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…

Microck/ordinary-claude-skills · 63 tokens