Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

project-loop项目循环

Agent Skill

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

总安装

5,974

周安装

254

GitHub Stars

公开资料未说明

下载量

2,093
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install project-loop

简介

从文件支持的状态运行已批准的长期运行的项目工作,继续执行可自行清除的任务,在真正的关口干净地暂停,并跨会话恢复。

SKILL.md

name
project-loop
description
Run approved long-running project work from file-backed state, continue through self-clearable tasks, pause cleanly at real gates, and recover across sessions.

Project Loop

Use for approved multi-step work that must survive resets, compaction, interruption, approval gates, and stalled execution.

Do not use for trivial one-turn work, open-ended autonomy, or projects without a clear owner.

Core Rules

  • Project files, not chat, are the source of truth
  • Trust this order: state.json > manifest.md > validation.md > handoff.md > memory > chat
  • Only the owner_agent in state.json executes project tasks
  • Other agents may improve the skill, but do not run the loop
  • Do not wait for human confirmation between self-clearable tasks
  • Keep executing until an approval gate, blocker, or stop condition is reached
  • After completing a chunk and successfully updating state, immediately begin the next eligible self-clearable chunk in the same turn
  • Do not wait for a human response between self-clearable tasks after a successful state update
  • Stop only for a real blocker, approval gate, failed state update, or explicit stop condition
  • Before starting any task, check whether the output already exists
  • If the work already landed, mark it done and advance
  • On every resume, verify state.json against actual reality before executing
  • During active execution, send a status update at least every 5 minutes
  • A 5-minute update must include one of: artifact created, task completed, blocker, or exact next action in progress
  • Do not send empty “still working” updates

Required Project Files

Project path:

agents/<agent-id>/projects/<project-slug>/

Required:

README.md
manifest.md
state.json
validation.md

Optional:

handoff.md
notes.md
artifacts/
logs/

state.json Minimum Fields

  • project_id
  • owner_agent
  • status
  • phase
  • current_task_id
  • last_checkpoint
  • next_action
  • blocked_reason
  • awaiting_approval
  • approval_items
  • retry_count
  • max_retries
  • last_session_note
  • resume_instructions
  • interrupted
  • active_loop

Recommended additions:

  • approved_objective
  • scope_guardrails
  • task_queue_snapshot
  • completed_tasks
  • blocked_tasks
  • deferred_tasks
  • artifacts
  • validation_status
  • last_error
  • last_error_at
  • budget_hints
  • resume_history
  • watchdog

Session Start and Resume

Read in this order:

  1. state.json
  2. manifest.md
  3. validation.md
  4. handoff.md if present
  5. only then memory or chat if still needed

Never start by asking “what were we doing?” if project files exist.

On resume:

  • read status, phase, current_task_id, next_action, resume_instructions
  • verify state against actual reality before doing anything
  • continue from recorded state, not guesswork

State Machine

States:

  • Draft
  • Ready
  • Running
  • Validating
  • AwaitingApproval
  • Blocked
  • Paused
  • Done
  • Abandoned

Allowed transitions:

Draft -> Ready
Ready -> Running
Running -> Validating
Validating -> Running
Validating -> Done
Running -> AwaitingApproval
Validating -> AwaitingApproval
Running -> Blocked
Validating -> Blocked
Running -> Paused
AwaitingApproval -> Running
Blocked -> Running
Paused -> Running
Any state -> Abandoned

Rules:

  • Draft -> Ready only when objective, scope, manifest, and validation exist
  • Ready -> Running only when the next chunk is sized and eligible
  • Running -> Validating only after outputs are recorded
  • Validating -> Running only after pass and a next task is eligible
  • Validating -> Done only when required tasks are complete and final checks pass
  • Running/Validating -> AwaitingApproval for true human-cleared boundaries
  • Running/Validating -> Blocked when a blocker cannot be self-cleared within retry rules
  • Running -> Paused only for interruption, manual pause, or no eligible task

Execution Rules

  • One chunk = one objective + one validation target
  • If a task has more than one verb, split it
  • Split at boundary changes: local prep -> remote write, remote write -> validation, planning -> execution, authenticated action -> read-back
  • Never bundle multiple operations into one command if they can be independent
  • If any command or execution step is denied for obfuscation or size, split it into smaller independent steps and retry
  • This applies to file writes, API calls, shell commands, browser actions, and any other execution path

A chunk is too large if it:

  • has more than one primary deliverable
  • crosses multiple boundaries
  • mixes planning, execution, and validation
  • touches too many pages, endpoints, or files at once
  • cannot be described with one clear done condition

Progress Rules

  • Updating state.json, manifest.md, validation.md, or handoff.md alone does not count as execution progress unless the current task is explicitly documentation-only
  • Do not claim forward execution unless the external world changed or a required artifact for the current task was created
  • When marking a task complete, record concrete evidence in state and in your reply when relevant: artifact path, file changed, page changed, validation evidence, or blocker artifact
  • If you cannot point to the output, the task is not done
  • Do not spend more than 2 consecutive project turns on planning, loop setup, or state reshaping without either executing, validating, or escalating
  • If the user questions silence or progress, stop meta narration and report only: what changed, what artifact exists, what blocker exists, and what exact action is next
  • Do not report system status theatrically. Report concrete project facts only

Validation Rules

No task is complete until validation passes and the result is recorded.

Validation may include:

  • artifact existence/content check
  • file diff or file review
  • browser verification of rendered state
  • API read-back
  • log/command review
  • human review for customer-facing release steps

Validation records should capture:

  • task ID
  • method
  • pass/fail
  • timestamp
  • evidence location
  • next step

If validation fails:

  • do not advance
  • record exact failure
  • retry only with a bounded corrective chunk or move to Blocked

Approval and Pause Rules

Self-clearable work may continue if it stays in scope.

Human-cleared work includes:

  • credential handling
  • auth construction
  • authenticated remote writes
  • WordPress REST writes
  • installs or config changes
  • third-party sends
  • publish/live-release steps unless already pre-approved
  • actions requiring manual login or privileged access

When a true approval gate is reached:

  • set status to AwaitingApproval
  • record the exact pending action in approval_items
  • record what prep is already done
  • continue only if another independent task is eligible
  • otherwise pause cleanly

Do not pause at routine internal chunk boundaries. Pause only for:

  • real blocker
  • missing access or credentials
  • meaningful human decision
  • explicit stop/pause
  • genuine risk or scope boundary

Interruption and Recovery

If interrupted by unrelated work:

  • finish any atomic write already in progress if safe
  • update state.json immediately
  • set interrupted=true
  • set active_loop=false
  • set status=Paused unless already AwaitingApproval or Blocked

When updating state.json, use a full-file write by default, not a partial edit. state.json changes frequently and exact-match edit operations are brittle on high-churn files. Use partial edit only if you have just read the current file and the change is truly small, stable, and low-risk.

If state.json cannot be updated:

  • stop execution immediately
  • this is a hard stop, not a soft warning
  • do not continue the loop, do not start another chunk, and do not claim progress until state is repaired or successfully rewritten
  • report the exact failure and recovery step

If a task may have partially executed:

  • verify actual reality first
  • do not blindly rerun
  • choose next action from observed state, not assumptions

If state is missing or inconsistent:

  • reconstruct from manifest, validation, artifacts, and handoff
  • rewrite state before resuming

Watchdog Rules

Cron is a watchdog only, never the main workflow engine.

  • When creating a new project, automatically create a watchdog cron for that project
  • When a project moves to Done or Abandoned, remove the watchdog
  • The watchdog only reports when it takes an action or finds something worth surfacing
  • If there is nothing to resume, retry, or escalate, stay silent

Watchdog may:

  • detect stale Running
  • detect resumable Paused
  • detect approval-cleared states ready to continue
  • trigger one bounded resume pass

Watchdog must not:

  • invent new work
  • rewrite scope
  • cross approval gates without clearance
  • spam retries
  • chain arbitrary timer-based work

Recommended cap:

  • one automatic resume attempt per cycle
  • no more than two automatic recovery attempts without new evidence

Operating Sequence

  1. Read state.json
  2. Read manifest.md
  3. Read validation.md
  4. Read handoff.md if present
  5. Verify current state against actual reality
  6. Check whether the target output already exists
  7. Pick one eligible chunk
  8. Apply chunk sizing rules
  9. Execute
  10. Validate
  11. Update state.json
  12. Continue if self-clearable, otherwise pause or escalate cleanly

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

71.28%
按下载量换算1,492

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills