autonomous-skill

仓库创建 2025年7月18日最近提交 6 小时前SkillHot 收录 20 天前
▸ 精选理由

适合需要后台持续执行、任务拆解与进度跟踪的复杂项目自动化。

▸ 风险提示

会通过脚本启动子进程并与外部服务交互,存在远程执行风险

这个 Skill 做什么

用 Claude Code 无头或钩子循环执行多会话长任务,实现自主化工作流。

用于把长时间、多会话的任务交给 Claude Code 自动跑,支持 headless 模式或基于钩子的循环迭代,把任务拆解并在后台持续推进。适合无人值守的批量处理、长期 bug 修复或持续迭代(像 TDD)的场景。特点是能自动续接会话、跟踪进度并减少人工干预。

▸ 展开 SKILL.md 英文原文

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.

Skill 开发管理自主执行多会话自动化Claude Code通用
1.6k
Stars
242
Forks
12
仓库内 Skill
+33
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/skills/autonomous-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/skills/autonomous-skill/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有