Agent Skillsgetpaseo/paseo › paseo-loop

paseo-loop

GitHub

用于启动智能体循环,执行“ worker-验证器”迭代直到满足退出条件。适用于用户要求持续监控、重试或 babysit 等场景。支持配置最大迭代次数、超时及归档,确保自动化任务安全可控地执行。

skills/paseo-loop/SKILL.md getpaseo/paseo

Trigger Scenarios

用户说 loop 用户说 babysit 用户说 keep trying until 用户说 check every X 用户说 watch 需要迭代式自主执行

Install

npx skills add getpaseo/paseo --skill paseo-loop -g -y
More Options

Use without installing

npx skills use getpaseo/paseo@paseo-loop

指定 Agent (Claude Code)

npx skills add getpaseo/paseo --skill paseo-loop -a claude-code -g -y

安装 repo 全部 skill

npx skills add getpaseo/paseo --all -g -y

预览 repo 内 skill

npx skills add getpaseo/paseo --list

SKILL.md

Frontmatter
{
    "name": "paseo-loop",
    "description": "Run an agent loop until an exit condition is met. Use when the user says \"loop\", \"babysit\", \"keep trying until\", \"check every X\", \"watch\", or wants iterative autonomous execution.",
    "user-invocable": true
}

Paseo Loop Skill

A loop is a worker/verifier cycle: launch a worker → check verification → repeat until done or limits hit. Use for "keep trying", "babysit", or "watch this until X."

For lightweight recurring checks that should return to this same conversation, prefer a cron heartbeat (create_heartbeat, then delete_heartbeat when finished). To change it, delete and recreate it. Use a loop when each iteration needs a worker/verifier lifecycle; use a schedule when each firing should create a fresh independent agent and workspace.

User's arguments: $ARGUMENTS

Prerequisites

Read the paseo skill. Before choosing worker or verifier providers, read ~/.paseo/orchestration-preferences.json unless the user explicitly named providers in this request. Do not start the loop until you have read it.

Loops are a CLI primitive: paseo loop run. Manage with paseo loop ls, paseo loop inspect <id>, paseo loop logs <id>, paseo loop stop <id>.

Your job

  1. Understand the user's intent from $ARGUMENTS and the conversation.
  2. Worker prompt — self-contained, concrete about what to do this iteration, explicit about what counts as progress.
  3. Verification — pick the right shape:
    • Shell check (--verify-check) for objective criteria a command can answer (gh pr checks --fail-fast, npm test).
    • Verifier prompt (--verify) for judgment ("Return done=true only if all tests pass and the changed files are coherent. Cite the command and the outcome.").
    • Both, when shell rules out the obvious failures and the verifier judges the rest.
  4. Providers--provider for the worker, --verify-provider for the verifier. From preferences unless the user named them. For implementation loops, pair worker and verifier on different providers — each catches the other's blind spots.
  5. Sleep--sleep only when polling something external. Otherwise let it run as fast as the loop completes.
  6. Stops — set a sensible --max-iterations and/or --max-time. Open-ended loops are how runaways happen.
  7. Archive--archive keeps agents after each iteration for inspection.
  8. Launch with paseo loop run.

Common shapes

Babysit a PR — worker checks PR state and fixes issues; shell check is gh pr checks <n> --fail-fast; sleep 2m; max-time 1h.

Drive tests to green — worker investigates failures and fixes code; shell check is the test command; verifier confirms all tests pass; max-iterations 10.

Cross-provider implementation — worker on impl provider, verifier on a different provider; verifier checks changed files, runs typecheck and tests; max-iterations and max-time both bounded; archive on so iterations can be inspected.

Prompt rules

Worker — self-contained, concrete (commands, files, branches, tests, PRs, systems), explicit about what counts as progress this iteration.

Verifier — checks facts, doesn't suggest fixes, cites commands/outputs/file evidence, specific about what "done" means.

Version History

  • 6563300 Current 2026-07-25 09:52

Same Skill Collection

skills/paseo-advisor/SKILL.md
skills/paseo-committee/SKILL.md
skills/paseo-handoff/SKILL.md
skills/paseo-help/SKILL.md
skills/paseo-plugin/SKILL.md
skills/paseo/SKILL.md
.agents/skills/release-beta/SKILL.md
.agents/skills/release-stable/SKILL.md

Metadata

Files
0
Version
6563300
Hash
5376cf28
Indexed
2026-07-25 09:52

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 12:24
浙ICP备14020137号-1 $Гость$