persistent-completion-loop

persistent-completion-loop is a skill for Claude Code from yeaight7/agent-powerups. It costs 57 tokens per session (1,310 once invoked), scanned A, original, Apache-2.0.

A workflow that keeps working on a software task until its tracked requirements pass review and verification. It supports repeated attempts, failure retries, story tracking, and reviewer sign-off.

In plain words
What is it for?
Use it for multi-iteration work that must reach verified completion, especially when the user requires the agent to keep going until done.
Why use it?
It addresses the problem of partial work being called finished when tests, edge cases, or requirements remain incomplete. The task stays open until the defined checks pass.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the software-engineering plugin — 5 skills, 5 agents shipped together

Good fit Use it for multi-iteration work that must reach verified completion, especially when the user requires the agent to keep going until done.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeaight7/agent-powerups/persistent-completion-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yeaight7/agent-powerups --skill persistent-completion-loop
Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install software-engineering, the plugin that ships this one along with the rest of its 5 skills, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for persistent-completion-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeaight7/agent-powerups/persistent-completion-loop/github.svg)](https://agentmods.dev/skills/yeaight7/agent-powerups/persistent-completion-loop)
Your own site
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/persistent-completion-loop"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/persistent-completion-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for persistent-completion-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/persistent-completion-loop"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/persistent-completion-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01310
Opus 5.5 $0.00023 $0.00524
Sonnet 5.5 $0.00011 $0.00262
Haiku 4.5 $0.00006 $0.00131

Measured 1mo ago against content hash d8231c516539, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

persistent-completion-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/software-engineering/skills/persistent-completion-loop/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Persistent Completion Loop is a PRD-driven persistence loop that keeps working on a task until ALL user stories have passes: true and are reviewer-verified. It wraps parallel execution with session persistence, automatic retry on failure, structured story tracking, and mandatory verification before completion.

When to Use

  • Task requires guaranteed completion with verification (not just "do your best")
  • User says "don't stop", "must complete", "finish this", or "keep going until done"
  • Work may span multiple iterations and needs persistence across retries
  • Task benefits from structured PRD-driven execution with reviewer sign-off

Do Not Use When

  • User wants a full autonomous pipeline from idea to code -- use autonomous delivery instead
  • User wants to explore or plan before committing -- use the plan skill instead
  • User wants a quick one-shot fix -- delegate directly to an executor agent
  • User wants manual control over completion -- use parallel execution directly

Why This Exists

Complex tasks often fail silently: partial implementations get declared "done", tests get skipped, edge cases get forgotten. This skill prevents this by:

  1. Structuring work into discrete user stories with testable acceptance criteria
  2. Iterating story-by-story until each one passes
  3. Tracking progress and learnings across iterations
  4. Requiring fresh reviewer verification against specific acceptance criteria before completion

Inputs

  • A task description
  • Optional: an existing PRD file; if none exists, a scaffold is auto-generated and must be refined with task-specific stories and acceptance criteria

PRD Mode

A scaffold PRD file is auto-generated when the loop starts if none exists.

Startup gate: Always initialize and validate the PRD at startup.

Reviewer selection: The completion reviewer validates the stories, and the reviewer cannot be the same writer lane/agent that implemented the code.

Execution Policy

  • Fire independent agent calls simultaneously -- never wait sequentially for independent work
  • Use background execution for long operations (installs, builds, test suites)
  • Always pass the model or tier parameter explicitly when delegating to agents
  • Deliver the full implementation: no scope reduction, no partial completion, no deleting tests to make them pass
  • Default-safe behaviors apply. Review before committing/pushing.

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 126 lines · 57 tokens per session scan A d8231c516539

Subscribe to this mod's changes

persistent-completion-loop is a skill published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 19d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,310 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.

Related

Other skills, from other repositories

test-driven-development

TDD: enforce RED-GREEN-REFACTOR, tests before code.

HezaoHezao/poirot · 20 tokens

kodama-verification

Define measurable success criteria and collect targeted test, build, lint, type-check, or smoke-test evidence before claiming work is complete.

amergrgic/kodama · 31 tokens

playwright-cli

Translate natural-language browser automation requests into exact playwright-cli commands for interactive web testing and debugging. Use when requests involve opening/navigating pages, interacting with elements, capturing snapshots/screenshots/PDFs, using tabs, inspecting console/network, mocking routes, managing…

IvanCampos/agents · 74 tokens

writing-tests

Kiro Crew repo only: how to write a backend pytest test with NO side effects that does not flake. Use when adding, editing, reviewing or debugging a test there: which conftest applies, what leaks (temp dirs, data home, /.kiro, cron, threads), the seven flake classes, cross-platform traps.

kirodotdev/KiroCrew · 72 tokens

ai-discover

Read-only discovery step of the auto-improvement loop. One bounded agent turn per cycle reads the focus files (Read/Grep/Glob only, no shell, no subagents) and replies with a JSON array of testable surfaces {file, line, symbol, rule, message, hypothesis}; the spine authors fixes and verifies them. Discovery only — no…

kirodotdev/KiroCrew · 83 tokens

relay-80-100-workflow

Use when writing agent-relay workflows that must fully validate features end-to-end before merging. Covers the 80-to-100 pattern - going beyond "code compiles" to "feature works, tested E2E locally." Includes repair-before-failure validation gates, review-depth fresh-eyes review/fix loops with test hardening, PGlite…

AgentWorkforce/relay · 115 tokens