Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计异常

autonomous-skill自主技能

Agent Skill

autonomous-skill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,981

周安装

171

GitHub Stars

1,501

下载量

1,395
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/feiskyer/claude-code-settings --skill autonomous-skill

简介

自主技能支持在多 Claude Code 会话中自动执行复杂任务,具备进度跟踪和两种完成机制。

  • 适用于需要跨多个会话进行规划、编码、测试和验证的全流程自动化场景。
  • 提供 Headless 模式和 Hook 模式两种执行方式,分别用于后台 unattended 任务和当前会话内拦截续接。
  • 安装前应检查脚本是否包含系统命令,避免未经授权的命令执行或环境修改风险。
  • autonomous-skill 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

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 <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.
  2. 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

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

29.82%
按下载量换算416

Antigravity

22.1%
按下载量换算308

Gemini CLI

15.47%
按下载量换算216

OpenCode

12.2%
按下载量换算170

Codex

7.8%
按下载量换算109

Cursor

3.68%
按下载量换算51

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills