一键导入
loop-skill
Explicit-only meta skill for running another agent skill repeatedly, defaulting to 3 iterations, with one final net report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Explicit-only meta skill for running another agent skill repeatedly, defaulting to 3 iterations, with one final net report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use only when explicitly asked to archive/prune/compact/roll over checked tasks from TODO.md into `.ai/todos/TODO_UNTIL_YYYY_MM_DD.md`, leaving unchecked tasks.
Use only when explicitly invoked for Git commit workflows: stage intended changes, craft Conventional Prefix Format messages by default, Natural Language messages with --natural or configured repos, commit, and optionally --all, --staged, --deep, --close, or --push.
Use for dependency updates: update/bump deps, npm/pnpm/yarn/bun package upgrades, outdated checks, package.json updates, or taze.
Use for release versioning: bump/cut/tag a release, bump version, create a release, changelog updates, or version tagging.
Use for GitHub PR/issue/discussion workflows: create/update PRs or issues, post comments, start discussions; triggers include create/open PR, file/update issue, yeet.
Use to polish recently changed code: simplify for readability/maintainability and run a risk-profiled review that autonomously applies fixes. Default runs both passes; pass --simplify or --review for one. Covers code/PR review, audits, bug/security checks, reviewing diffs or changes, cleanup, refactoring, and reducing complexity.
| argument-hint | <skill-invocation> [--runs <n>] |
| disable-model-invocation | true |
| name | loop-skill |
| user-invocable | true |
| description | Explicit-only meta skill for running another agent skill repeatedly, defaulting to 3 iterations, with one final net report. |
Run another agent skill multiple times in sequence, reporting only the final net result.
$skill-name, skill-name, a path to SKILL.md, or a natural-language instruction that names the skill and its arguments.--runs <n> or -n <n>: optional positive integer iteration count. Default: 3.$loop-skill is execution-only and cannot run in Plan mode. Switch to execution/default mode and invoke it again.$skill-name or skill-name, read ../skill-name/SKILL.md.SKILL.md.loop-skill directly.git rev-parse --git-dir when the target may inspect diffs. If it fails, continue only if the target skill is explicitly non-repo work.git status --shortgit diff --statgit diff --name-only --diff-filter=ACMRgit ls-files --others --exclude-standardFor each iteration from 1 through the requested run count:
After the final completed iteration, verify the net final state with the narrowest command that proves the touched behavior.
just test, just lint, just mdformat-check, or a narrower recipe when present.Produce one final report only. Base it on the net diff from the initial snapshot to the final state, not on intermediate fixes that were later changed again.
Use these headings in order, omitting sections that do not apply:
Target skill, target arguments, requested iterations, completed iterations, and whether the loop stopped early.
Final files and behaviors changed. Mention intermediate work only when it explains a final decision or residual risk.
Commands run and outcomes, including skipped checks.
One line per risk: Assumed <assumption>; if wrong, <what breaks>; check via <command or inspection>. Write None. when there are none.