autonomous-skill
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.
npx skills add majiayu000/claude-skill-registry --skill autonomous-skill-feiskyer-claude-code-settings-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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, refactori
- Two Execution Modes
- Headless Mode (default)
- Hook Mode (in-session)
- Two Task Strategies
- Structured (default)
- Lightweight (--lightweight)
- Completion Detection
- Directory Layout
- Headless Mode — CLI Reference
- Hook Mode — Setup
- Workflow Detail
- Structured Mode
- Lightweight Mode
- When to Use Which
bash <skill-dir>/scripts/run-session.sh "Build a REST API" --max-sessions 10 bash <skill-dir>/scripts/setup-loop.sh "Build a REST API" --max-iterations 10 bash <skill-dir>/scripts/run-session.sh "Build a REST API for todo app" bash <skill-dir>/scripts/run-session.sh "Fix all failing tests in src/" --lightweight bash <skill-dir>/scripts/run-session.sh "task description" [OPTIONS] bash <skill-dir>/scripts/setup-loop.sh "task description" [OPTIONS]
What does the autonomous-skill skill do?
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.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill autonomous-skill-feiskyer-claude-code-settings-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
