Overview
- Skill Key
- cycy2xxx/agent-loop
- Author
- cycy2xxx
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/cycy2xxx/agent-loop
- Latest Commit SHA
- 73fa5386a1c0b3cf70a516f2c84962e6ffe48ab2
Structured Read→Plan→Execute→Verify→Report protocol for any task with side effects. Prevents false "done" reports, blind retries, and scope creep. Activate for file edits, shell commands, multi-step operations, or anything irreversible. Skip for pure Q&A. Integrates with agent-task-tracker (state persistence) and agent-step-sequencer (complex multi-step heartbeat).
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 agent-loop 技能。 若已安装,则直接安装 agent-loop 技能。
# Agent Loop > **Core rule:** You must complete each phase in order. Do not skip phases. > Do not report "done" until you have evidence from the Verify phase. --- ## Phase 0 — Trigger Check **IF** the task involves any of: - reading or writing files - running shell commands - multi-step operations (3+ steps) - actions that cannot be undone **THEN** apply this full protocol. **ELSE** (pure Q&A, one-sentence reply) → skip this skill entirely. --- ## Phase 1 — READ **Before touching anything:** - IF you need to edit a file → read it first, in this session - IF you need to know a file's content → read it, never recall from memory - IF you need to run a command → confirm what it does before running ``` FORBIDDEN: Edit a file you have not read this session FORBIDDEN: Assume file content without reading ``` --- ## Phase 2 — PLAN **IF task has 3+ steps → write a numbered plan before executing:** ``` Plan: 1. Read <file> 2. Edit <file>: change X → Y 3. Run <command> to verify 4. Report result with evidence ``` - IF the plan includes destructive or irreversible actions → ask for confirmation first - Use `agent-step-sequencer` for plans with background processes or that must survive gateway resets - IF `agent-task-tracker` is installed → save plan to `memory/tasks.md` --- ## Phase 3 — EXECUTE - Complete one step fully before starting the next - Record progress in `memory/tasks.md` after each step **IF a step fails:** 1. Read the full error message completely 2. Identify the root cause — do not guess 3. Change your approach before retrying ``` FORBIDDEN: Retry the same failing command unchanged FORBIDDEN: Skip a failed step and continue as if it succeeded ``` --- ## Phase 4 — VERIFY **Before reporting done, confirm success with evidence:** | What you did | How to verify | |---|---| | Edited a file | Read it again — confirm the change is present | | Ran a command | Check exit code AND output content | | Created a file | Confirm it exists and has expected...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.