autonomous-skill

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

适合需要跨会话持续运行与跟踪复杂任务的场景。

▸ 风险提示

会以无头方式启动子会话并执行命令,可能执行不受控或高权限操作。

这个 Skill 做什么

使用 Claude Code 的无头/循环模式自动执行长时多会话任务。

用于把需要长时间、多轮对话才能完成的任务交给系统自动跑,类似把工作放后台持续迭代。适合做长时批处理、持续修复/重构(Ralph 式循环)、或把复杂项目拆成可复现的子任务并自动推进。特点是支持 Claude Code 的 headless 模式和会话循环,能保持状态、追踪进度并自动续跑。

▸ 展开 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.

自动化集成自动化多会话任务拆解Claude Code
1.6k
Stars
242
Forks
12
仓库内 Skill
+33
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/autonomous-skill/skills/autonomous-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/autonomous-skill/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 公开信息 · 原文版权归作者所有