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.
git clone --depth 1 https://github.com/T-0-co/t-0-spec-kit-ralphnpx agentmods add skills/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2Wrote 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/t-0-co/t-0-spec-kit-ralph/autonomous-longtask-v2)<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.
<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>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.00075 | $0.02078 |
| Opus 5 | $0.00037 | $0.01039 |
| Sonnet 5 | $0.00015 | $0.00416 |
| Haiku 4.5 | $0.00007 | $0.00208 |
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 12d 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 — 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
/rewindorEsc Escfor rollbacks - Commit after each working increment
- Document state in
claude-progress.txtfor session handoffs
3. Context Management
Claude has 200K tokens, but:
- Subagents have isolated context windows
- Long sessions fragment context
- Use
claude-progress.txtfor 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
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.
- 12d ago First seen · 370 lines · 75 tokens per session scan A 1ed5ce0270e3
autonomous-longtask-v2 is a skill published in the GitHub repository T-0-co/t-0-spec-kit-ralph (10 stars, last pushed 2mo ago), licensed MIT. It adds 75 tokens to every session and 2,078 once invoked, about $0.0004 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-31.
Other skills, from other repositories
repo-audit
Run a comprehensive language-agnostic repository health audit, scored 0-100. Detects language, runs native tooling, never assumes JS/Python.
multi-agent
Orchestrate a task across multiple AI models/providers. Define a team of agents with different roles, providers, and models. Each agent handles a phase (planning, execution, auditing, etc.) and results are combined. (/multi-agent, orchestrate, multi-model, team).
dynamic-tools
Runtime tool management with toolmanage and tools.toml format. Create, enable, disable, reload tools without restart. (/dynamic-tools, toolmanage, runtime tools).
github
Full GitHub CLI control — issues, PRs, code reviews, repo management. Uses gh CLI with auth detection, rate limiting, and templates. Triggers on: github, issue, pull request, PR, code review, repo, branch, label, assignee, milestone, release, workflow, actions.
a2a-gateway
Agent-to-Agent (A2A) protocol gateway reference. JSON-RPC 2.0 peer-to-peer agent communication. (/a2a-gateway, a2a, agent protocol).
cost-estimate
Estimate codebase cost-to-build, AI-assisted ROI, and fair-market valuation.