AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Loop Skill

skill-handsomestwei-loop-skill-loop-skill · by handsomestWei

>-

No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-handsomestwei-loop-skill-loop-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-handsomestwei-loop-skill-loop-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Loop Skill? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

loop-skill

把书面推进计划变成无人值守的 agent loop。计划由主控 agent 通读仓库后写出,不绑定固定文档名;loop 负责派发、验收、会话持久化。

何时使用

  • 用户一句话要推进一个或多个仓库,且希望零人工配置。
  • 需要主控先理解需求再产出/更新推进计划,然后后台 loop 常驻。
  • 需要 Claude 等 CLI 在业务仓执行,主控只编排。

五阶段循环

发现 → 规划 → 执行 → 验收 → 迭代
  • 第一次触发时的「规划」= planner 开环(主控通读仓库 → 写 docs/loop-plan.md)。详见 references/plan-generation.md
  • 之后 loop 闭环自动跑任务;默认每轮各仓并行派发(每仓最多 1 个 CLI),看板先启动再派发。

一句话启动(主控协议,禁止打扰用户)

用户示例:「用 loop-skill 推进 D:/my-vibe-project,Claude 执行,后台常驻。」

主控在同一轮按序执行,不得让用户手写 loop.json

cd 
python -m core.cli doctor claude
python -m core.cli discover --root D:/my-vibe-project
python -m core.cli scan --root D:/my-vibe-project

然后对 scan 返回的每个仓库(主控用 Read/Glob,非单文件):

  1. 通读 markdown_files 列出的文档 + README + 关键目录结构
  2. 综合理解后,在该仓写入或更新 docs/loop-plan.md(推荐路径;内容吸收旧需求文档,不机械复制)
  3. 表格 ID 用 P1-01 格式;推荐五列 | ID | 任务 | 验收 | 角色 | 状态 |(见 references/plan-generation.mdreferences/role-guide.md
  4. 角色须多样化:每阶段混合 architect / coder / verifier / reviewer禁止worker(会回落为 coder)

再执行(先 ingest,再 upup 会先起看板、确认 HTTP 可访问后再启动 loop):

python -m core.cli ingest
python -m core.cli up --interval 300

回报 dashboard_url。停止:python -m core.cli down

up 成功后禁止反问是否执行某任务——loop 自动派发(默认各仓同时各跑 1 个任务)。

禁止主控对每个仓库执行 python -m core.cli dispatch 做「试跑」或「推进」——那会同步阻塞等 CLI,4 仓 ≈ 4 次长等待。禁止主控代替 CLI 在业务仓写实现代码(除非用户明确只要主控、不用 loop)。

doctor:至少一个 [ok] 即视为有可用的执行 CLI(看输出末尾「可用 provider」行)。Windows 上 npm 全局 CLI 多为 .cmd shim,已由运行时 PATH 解析。

ingest 后任务数为 0,up 会失败并提示先完成 planner 步骤——主控应回到写推进计划,勿问用户。

仅当 scan 显示已有充分任务表且与用户意图一致时,可跳过写计划,直接 ingestup

从工作区移除推进计划(不删开发仓库)

用户说「移除 clip-forge 的推进计划」「从 loop 删掉这个仓库的编排」时,主控须二次确认(对话里问一次 + 执行 confirm),且明确告知:

  • 会删workspace/state/prompts/results/logs/ 下该仓数据,以及 loop.json 注册项
  • 不会删:磁盘上的开发仓库及其 docs/loop-plan.md
# 第一步:获取确认令牌(5 分钟有效)
python -m core.cli remove-plan clip-forge

# 用户明确确认后,第二步:
python -m core.cli remove-plan clip-forge --confirm 

看板卡片「移除」按钮同样两步确认。移除后若要重新纳入多仓,重新 discover → 写计划 → ingest

核心原则

  1. 计划由主控理解后写出,不强制某文件名;ingest 从各仓全部 Markdown 合并任务表(推进计划类文件优先)。
  2. 多仓并行(默认)up / loop --all 每轮对所有就绪仓库各派发 1 个 pending 任务(fleet_parallel_max=0);看板先于 loop 启动。限制并发:--fleet-parallel-max N;单仓轮询:--serial --fleet-parallel-max 1
  3. 政策消灭交互references/decisions-guide.md
  4. 会话持久references/state-schema.md
  5. 主控不改业务代码 — 只写推进计划与 loop-skill/;实现由 CLI worker 完成

关键参数:verify_mode

dev-first | tests | strict — 见 loop.yaml / 每仓覆盖。

命令索引

完整分类与示例见 references/cli-commands.md。常用子命令摘要:

| 命令 | 用途 | |------|------| | discover / scan / ingest | 多仓登记、文档清单、导入任务 | | up / down | 启停后台看板 + loop | | remove-plan | 从工作区移除编排(二次确认) | | status / dispatch / loop | 调试 |

文件索引

| 路径 | 用途 | |------|------| | references/cli-commands.md | CLI 指令分类表(调试 / 主控用) | | references/plan-generation.md | 主控 planner 协议(必读) | | references/role-guide.md | 任务角色分配(architect/coder/verifier/reviewer) | | references/loop-engineering.md | 五阶段 + 六原语 | | references/decisions-guide.md | 政策引擎 | | references/worker-contract.md | CLI worker 输出契约 | | docs/loop-plan.md | 各业务仓内,主控写入的推进计划(推荐;兼容 docs/推进计划.md) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.