autonomous-skill

Solid

Execute long-running, multi-session tasks autonomously using Claude Code headless mode or in-session hook-based loops. Supports structured task decomposition (for complex projects) and lightweight Ralph-style iteration (for TDD, bug fixing, refactoring). Use this skill whenever the user says "autonomous", "long-running task", "multi-session", "run this in the background", "keep working on this", "batch process", "iterate until done", "ralph loop", or wants any task that requires sustained, unattended execution.

AI & Automation 1,535 stars 223 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Autonomous Skill - Multi-Session Task Execution Execute complex tasks across multiple Claude Code sessions with automatic continuation, progress tracking, and two completion mechanisms (promise tags + checkbox counting). ## Two Execution Modes ### Headless Mode (default) Spawns `claude -p` child sessions in a bash loop. Best for background/unattended work. ```bash bash <skill-dir>/scripts/run-session.sh "Build a REST API" --max-sessions 10 ``` ### Hook Mode (in-session) Uses a Stop hook to intercept session exit and feed the prompt back. Runs inside the current interactive session — no nesting issues. ```bash bash <skill-dir>/scripts/setup-loop.sh "Build a REST API" --max-iterations 10 ``` ## Two Task Strategies ### Structured (default) Full task decomposition: Initializer creates `task_list.md` with phased sub-tasks, Executor picks up and completes them one by one. Best for complex, multi-phase projects. ```bash bash <skill-dir>/scripts/run-session.sh "Build a REST API for todo app" ``` ### Lightweight (`--lightweight`) Ralph-style iteration: same prompt repeated each session, no task decomposition. Best for iterative tasks with clear success criteria (TDD, bug fixing, refactoring). ```bash bash <skill-dir>/scripts/run-session.sh "Fix all failing tests in src/" --lightweight ``` ## Completion Detection Two complementary mechanisms — whichever triggers first wins: 1. **Promise tags** (both modes): The agent outputs `<promise>DONE</promise>` when work is genuine...

Details

Author
feiskyer
Repository
feiskyer/claude-code-settings
Created
10 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

execute-tasks

Execute pending Claude Code Tasks in dependency order with wave-based concurrent execution and adaptive verification. Supports task group filtering and configurable parallelism. Use when user says "execute tasks", "run tasks", "start execution", "work on tasks", or wants to execute generated tasks autonomously.

38 Updated today
sequenzia
AI & Automation Listed

skill-runner

Run a daily development task through one or more named skills in an isolated tmux-backed Codex or Claude session. Use when the user asks to "impl X with $skill", "run X via $intuitive-flow", supervise a skill-driven task, keep the main session clean, evaluate the run, or improve custom skills after a real task reveals a reusable workflow defect.

42 Updated 2 days ago
MiaoDX
AI & Automation Listed

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

0 Updated 2 days ago
goharabbas321
AI & Automation Listed

autopilot

Run autonomous multi-stage execution loops until acceptance criteria pass or blockers are reached.

2 Updated today
ibahgat
AI & Automation Listed

autonomous

Autonomous backlog grinder — drains issues labeled `ready-for-agent` one at a time, fresh agent context per issue, persistent progress log. Wraps tdd → review → ship. Use when the user wants an AFK queue-drain run, references "Ralph pattern", or invokes `/ai:autonomous`.

0 Updated 2 days ago
yusufkaracaburun