← 返回 Skills 市场
djc00p

continuous-agent-loop

作者 Deonte Cooper · GitHub ↗ · v1.0.3 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
160
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install continuous-agent-loop
功能描述
Canonical patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls. Supports sequential, RFC, CI/PR, and exploratory l...
使用说明 (SKILL.md)

Continuous Agent Loop

Patterns for autonomous agent loops with quality gates and recovery.

Loop Selection

Choose your loop type based on requirements:

Need strict CI/PR control? 
  → continuous-pr

Need RFC decomposition?
  → rfc-dag

Need exploratory parallel generation?
  → infinite

Default → sequential

Production Stack (Recommended)

  1. RFC decomposition — break large requests into a DAG of sub-tasks before looping
  2. Quality gates — define explicit pass/fail criteria before starting each loop iteration
  3. Eval loop — run automated checks after each iteration to verify progress
  4. Session persistence — checkpoint state between iterations so you can resume on failure

Key Patterns

Sequential Loop:

  • Single task → execute → verify → repeat
  • Best for: stable, incremental work
  • Recovery: freeze, audit, reduce scope

RFC-DAG Loop:

  • Decompose request → parallel branches → merge results
  • Best for: complex multi-part features
  • Recovery: replay failing unit

CI/PR Loop:

  • Generate → test → push PR → merge on pass
  • Best for: code-heavy deliverables
  • Recovery: fail fast, surface root cause

Infinite/Exploratory:

  • Generate variants in parallel, filter winners
  • Best for: creative or search-heavy work
  • Recovery: cap iterations, tighten criteria

Failure Modes & Recovery

Problem Root Cause Fix
Loop churn Vague acceptance criteria Freeze & redefine criteria
Repeated retries Same root cause ignored Run harness audit (see scripts/harness-audit.js), fix root
Merge queue stalls Test flakes or deps Isolate failing unit
Cost drift Unbounded escalation Cap token budget per loop

Recovery checklist:

  • Freeze loop
  • Run node scripts/harness-audit.js — scores 7 categories (tool coverage, quality gates, evals, security, cost efficiency, memory, context)
  • Reduce scope to failing unit
  • Replay with explicit criteria

References

  • scripts/harness-audit.js — deterministic audit script, scores repo 0-70 across 7 categories
  • references/harness-audit.md — full command usage and output contract
安全使用建议
This skill appears to do what it says: run a deterministic repository harness audit. Before running it, confirm you have Node installed (SKILL.md uses `node` but the metadata doesn't list it), and set AUDIT_ROOT to the intended repository path (do NOT point it at `/` or other sensitive directories). Review scripts/harness-audit.js yourself if you need stronger assurance — it reads files under AUDIT_ROOT and probes HOME for plugin manifests, so outputs may include any readable files in those locations. Run with `--format json` for machine-readable results, and consider running in a sandboxed environment if you're auditing an unfamiliar repo.
能力评估
Purpose & Capability
The skill provides patterns for continuous agent loops and ships a deterministic harness audit script that scores repos. The required env var AUDIT_ROOT aligns with the script's need for a target root path. One minor mismatch: SKILL.md tells users to run `node scripts/harness-audit.js` but the skill's metadata does not list `node` under required binaries.
Instruction Scope
Runtime instructions direct the agent to run the included Node script which enumerates and reads files under the provided root and also probes common plugin locations under HOME. This is expected for an audit tool, but the script can read arbitrary files under AUDIT_ROOT (and looks at HOME for plugin manifests) so the operator should avoid pointing AUDIT_ROOT at sensitive system locations.
Install Mechanism
No install spec or remote downloads are used; this is an instruction-only skill with a bundled JS script. No external code is fetched at runtime, lowering install-time risk.
Credentials
Declared required env var is only AUDIT_ROOT, which is proportional. The script also reads process.env.HOME (typical) to look for plugin installs; HOME wasn't declared but is an OS-provided variable. The script reads repository files (package.json, hooks, agents, etc.), which is expected but means secrets present in the audited path could be read and included in output.
Persistence & Privilege
The skill does not request permanent/always-on presence, does not modify other skills or system config, and has no install-time persistence. It can be invoked autonomously by the agent (normal default), but has no extra privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install continuous-agent-loop
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /continuous-agent-loop 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Fixed metadata: added AUDIT_ROOT to requires.env (required by harness-audit.js script)
v1.0.2
Fix: replace bare code blocks with ```text for consistent rendering
v1.0.1
Add harness-audit.js script and usage docs — deterministic 7-category repo scorer for loop recovery. Fix ECC-specific skill references to be self-contained.
v1.0.0
Initial release. Autonomous loop patterns with quality gates, failure recovery, sequential/RFC/CI variants. Adapted from everything-claude-code by @affaan-m (MIT)
元数据
Slug continuous-agent-loop
版本 1.0.3
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 4
常见问题

continuous-agent-loop 是什么?

Canonical patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls. Supports sequential, RFC, CI/PR, and exploratory l... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。

如何安装 continuous-agent-loop?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install continuous-agent-loop」即可一键安装,无需额外配置。

continuous-agent-loop 是免费的吗?

是的,continuous-agent-loop 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

continuous-agent-loop 支持哪些平台?

continuous-agent-loop 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 continuous-agent-loop?

由 Deonte Cooper(@djc00p)开发并维护,当前版本 v1.0.3。

💬 留言讨论