Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

autonomous-skill自主技能

Agent Skill

autonomous-skill 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,620

周安装

628

GitHub Stars

1

下载量

5,124
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autonomous-skill(自主技能)
来源仓库:https://github.com/feiskyer/autonomous-skill
安装命令:
openclaw skills install autonomous-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install autonomous-skill

简介

自主技能用于在无头模式或会话中循环执行多会话任务。

  • 适用于结构化任务分解和长时间运行场景的效率需求。
  • 通过 clawhub 安装,需结合来源仓库和 README 确认具体用法。
  • 安装前建议确认权限范围和维护状态,注意是否触发联网或命令执行。
  • 涉及钩子循环时应核对依赖风险和会话边界。autonomous-skill 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
autonomous-skill
description
>-

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 <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 <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 <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 <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 genuinely complete. Default promise is DONE; customize with --completion-promise. The agent is instructed to only output the promise when the work is truly finished — not to escape the loop.

  1. Checkbox counting (structured mode only): All [ ] items in task_list.md

are marked [x].

Directory Layout

project-root/
├── .autonomous/
│   └── <task-name>/
│       ├── task_list.md      # Master checklist (structured mode)
│       ├── progress.md       # Per-session progress log
│       ├── .mode             # "structured" or "lightweight"
│       ├── sessions/         # Transcript logs per session
│       │   ├── session-001.log
│       │   └── session-002.log
│       └── run.lock          # Prevents concurrent runs
└── .claude/
    └── autonomous-loop.local.md  # Hook mode state (when active)

Headless Mode — CLI Reference

bash <skill-dir>/scripts/run-session.sh "task description" [OPTIONS]
FlagDescriptionDefault
--lightweightRalph-style iteration (no task decomposition)structured
--task-name <name>Explicit task nameAuto-generated
--continue, -cContinue most recent or named task
--list, -lList all tasks with progress
--completion-promise TEXTPromise phrase for completionDONE
--max-sessions NStop after N sessionsUnlimited
--max-budget N.NNPer-session dollar budget5.00
--model <model>Model alias or full namesonnet
--fallback-model <m>Fallback if primary overloaded
--effort <level>Thinking effort (low/medium/high)high
--no-auto-continueRun one session only
--permission-mode <m>Permission modeauto
--add-dir <dirs>Extra directories to allow

Hook Mode — Setup

For in-session loops (no child process spawning):

bash <skill-dir>/scripts/setup-loop.sh "task description" [OPTIONS]
FlagDescriptionDefault
`--mode structured\lightweight`Task strategystructured
--max-iterations NMax loop iterationsUnlimited
--completion-promise TEXTPromise phraseDONE
--task-name NAMEExplicit task nameAuto-generated

The hook is registered in hooks/hooks.json. When active, the Stop hook reads .claude/autonomous-loop.local.md and blocks exit until the promise is detected or max iterations reached.

To cancel an active hook-mode loop: rm .claude/autonomous-loop.local.md

Workflow Detail

Structured Mode

  1. Initializer Agent — analyzes task, creates phased task_list.md, begins work
  2. Executor Agent — reads task list + progress, verifies previous work, completes next task
  3. Auto-Continue — checks promise tags + checkboxes; if not done, spawns next session

Lightweight Mode

  1. Same prompt fed each iteration
  2. Agent sees its previous work in files and git history
  3. Iterates until work is complete and promise tag is output
  4. No task_list.md — completion is purely promise-based

When to Use Which

ScenarioStrategyMode
Build a full applicationStructuredHeadless
Fix all failing testsLightweightEither
Refactor a moduleLightweightEither
Multi-phase projectStructuredHeadless
Quick iterative fixLightweightHook
Overnight batch workStructuredHeadless

Important Constraints

  1. task_list.md is append-only for completions: Only change [ ][x]
  2. One runner per task: Lock file prevents concurrent sessions on same task
  3. Project files stay in project root: .autonomous/ is only for tracking
  4. Promise integrity: The agent must not output <promise>DONE</promise> until genuinely complete
  5. Cost awareness: Default per-session budget is $5. Adjust with --max-budget

Troubleshooting

IssueSolution
"Lock file exists"Previous run crashed. Remove .autonomous/<task>/run.lock
Session keeps failingCheck sessions/session-NNN.log for errors
Nested session errorScript auto-unsets CLAUDECODE; use hook mode as alternative
Hook loop won't stopDelete .claude/autonomous-loop.local.md
Task not foundRun --list to see available tasks
Want to restartDelete the task directory and start fresh
Cost too highLower --max-budget or use --model sonnet

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.54%
按下载量换算4,178

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills