AGENT SKILL

loop-until-done

Keep working on a requested task through bounded work, root-cause diagnosis, verification, and retry iterations until explicit completion criteria are met or a maximum iteration limit is reached. Use for Ralph-style self-correction without requiring Claude plugins, Codex plugins, Gemini extensions, or hook support.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 0
Forks
0

01 前言 Front Matter

name
loop-until-done
description
Keep working on a requested task through bounded work, root-cause diagnosis, verification, and retry iterations until explicit completion criteria are met or a maximum iteration limit is reached. Use for Ralph-style self-correction without requiring Claude plugins, Codex plugins, Gemini extensions, or hook support.

03 SKILL.md 正文

<!-- agent-workbench: managed portable-skill -->

Loop Until Done

Dispatch

Use the tier, delivery boundary, and escalation rule for loop-until-done in AI_AGENT_GUIDE.md's Skill Model and Reasoning Routing table, and resolve the tier through the active platform binding.

Workflow

  1. Read .agents/prompts/loop-until-done.md if present.
  2. If the active environment provides a compatible built-in or installed bounded-loop workflow, prefer it while preserving the criteria and safety rules below; otherwise run this portable workflow directly.
  3. Identify task, completion criteria, verification commands, and maximum iterations.
  4. For each iteration:
    • Inspect current state.
    • For bugs or failures, prove the root cause before implementing a fix; avoid "it just worked" workarounds.
    • Make the smallest useful change.
    • Run verification.
    • Inspect diffs and status.
    • Continue only if the criteria remain unmet and the iteration limit is not reached.
  5. Stop for cancellation, unsafe escalation, ambiguous completion, or satisfied criteria.

Reporting

Report iterations used, changed files, root-cause evidence when applicable, verification evidence, satisfied criteria, and remaining risks.

04 同仓库更多 Skills

KiringYJ
KiringYJ/agent-workbench

sync-agent-workbench

Synchronize the fixture workbench.

★ 0
KiringYJ
KiringYJ/agent-workbench

sync-agent-workbench

Synchronize, audit, or repair composable agent-workbench policy in a project. Use when a user wants canonical AI_AGENT_GUIDE.md, thin vendor loader entrypoints, project-selected profiles, portable prompts, and standard Agent Skills without depending on a marketplace, plugin, global config, or submodule.

★ 0
KiringYJ
KiringYJ/agent-workbench

skill-authoring

Create or update portable Agent Skills under .agents/skills with concise SKILL.md instructions and optional scripts, references, or assets. Use when a user wants skill-creator behavior that works across Codex, Gemini, Claude Code, OpenCode, or other agents without relying on one vendor's built-in creator.

★ 0
KiringYJ
KiringYJ/agent-workbench

math-pdf-reader

Read, transcribe, summarize, or verify mathematical PDFs with high fidelity by combining rendered-page inspection, cautious text extraction, version-matched source checks, and explicit uncertainty. Use for theorem, proof, formula, notation, attribution, or bibliographic work where ordinary PDF text extraction can silently corrupt mathematical content.

★ 0
KiringYJ
KiringYJ/agent-workbench

linus-review

Run a strict Linus-style code review focused on correctness, backward compatibility, simplicity, data structures, special cases, hardcoded values, root-cause proof, maintainability, and verification. Use when the user asks for Linus mode, Linus review, a blunt maintainer review, harsh review, kernel-style review, or an especially skeptical code review.

★ 0
KiringYJ
KiringYJ/agent-workbench

integrate-chatgpt-conversation

Retrieve and integrate the current accessible branch of a user-supplied ChatGPT conversation mention or direct ChatGPT URL. Use when a task depends on the full live transcript, including when the user asks to synthesize, review, or update project files from it, with authenticated recovery, scope-preserving acceptance tracking, explicit completeness boundaries, bounded independent mathematical repair, durable deferred-task recording, and downstream validation.

★ 0