In short.
Checkpointed Agent Loop is a Claude Code skill for developers managing long or failure-prone tasks, but its success status depends on reported checks that the helper does not independently verify. Its Node.js utility stores a local JSON checkpoint, counts attempts and restricts state transitions. Any stored passing result can satisfy the success requirement, including one from an earlier attempt. Blocked checkpoints cannot transition further. The supplied code and tests were not executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied skill folder: SKILL.md, scripts/checkpoint-loop.mjs and scripts/checkpoint-loop.test.mjs, plus the repository-level LICENSE outside that folder, all at commit 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda. Other skills, plugin packaging and the repository-level scripts/validate-skills.js referenced by the instructions are outside this scope. Installation integration, runtime behavior, test outcomes, concurrent use and actual task recovery remain unverified because nothing was executed.
The overview
Identity
The skill is published in davepoon/buildwithclaude under plugins/all-skills/skills/checkpointed-agent-loop. It contains assistant instructions in SKILL.md, a Node.js helper in scripts/checkpoint-loop.mjs and tests in scripts/checkpoint-loop.test.mjs. Original source: [https://github.com/davepoon/buildwithclaude/tree/main/plugins/all-skills/skills/checkpointed-agent-loop].
The instructions coordinate Claude Code work, while the helper stores task state and evidence entries locally. The helper does not execute task commands, call models, spawn agents or contact network services.
Assessment
The resource offers a concrete way to preserve progress during supervised development work that may outlast one conversation. A saved next action, transition history and finite attempt budget can make recovery easier to understand.
Its controls are bookkeeping safeguards. The helper accepts entered outcomes without running checks or inspecting artifacts, and its success requirement does not demand evidence from the latest attempt. Effectiveness in a real Claude Code workflow remains unverified.
Users
The intended users are developers handling migrations, refactors, test repairs or investigations across interruptions and multiple sessions. Beginners need enough command-line familiarity to manage paths and run checks separately. Experienced developers can inspect or reuse the helper's exported JavaScript functions.
The documentation advises against adding this skill to a one-line edit or a workflow that already has a durable runner.
Capabilities
The command-line interface can initialize a checkpoint, change its state, append passed or failed evidence, and display status as JSON or a short summary. Stored fields include the task identifier, objective, next action, attempt count, attempt limit, timestamps, transition history and evidence with optional artifact paths.
Entering running consumes one attempt. Evidence can be appended through the helper only while verifying. Moving to succeeded requires at least one stored pass, while moving to failed or blocked requires a reason.
Using it
Requirements
The helper needs Node.js and permission to read and write the chosen checkpoint directory. Its imports use only Node.js built-in modules; no third-party package imports appear. The tests additionally use Node's built-in test runner.
Actual development work and verification require Claude Code's tools or other separately available commands. The supplied files specify no minimum Node.js or Claude Code version and no operating-system compatibility matrix. The helper itself contains no credential or model-provider integration.
Mechanism
A task starts in planned, moves to running, then can enter verifying, failed or blocked. From verifying it can succeed, retry by returning to running, fail or become blocked. Succeeded, failed and blocked are terminal states, meaning the transition function refuses further changes.
The helper validates checkpoint fields, serializes them as JSON, writes a temporary file and renames it over the destination. Status reads the saved record. This preserves task metadata between sessions; it does not capture a running process or determine whether an external action completed before an interruption.
Setup
The documented setup assumes an installed skill directory. Set SKILL_DIR to its absolute path and CHECKPOINT to a project-local file such as .agent/checkpoints/task.json, kept outside committed application code. A complete Claude Code installation procedure is not supplied.
The documented initialization is node "$SKILL_DIR/scripts/checkpoint-loop.mjs" init --file "$CHECKPOINT" --task "data-migration" --objective "Migrate the user table without losing records" --max-attempts 3 --next-action "Inspect the current migration and test fixture". Initialization creates missing parent directories. Choose a fresh checkpoint path: init has no check preventing replacement of an existing checkpoint.
Example
For an illustrative migration with three allowed attempts, initialize the objective and next action, enter running, and perform one bounded change using the normal development tools. Enter verifying before running the relevant migration check. Record its observed outcome and, optionally, a sanitized path to an artifact that actually exists.
After an interruption, inspect status and the actual project state before continuing. If verification requires another attempt, return from verifying to running with a concrete next action and reason; this consumes another attempt. The checkpoint cannot establish whether an external migration step already finished. No migration was executed.
Assessment & evidence
Limitations
Passing evidence is not associated with an attempt and is not cleared on retry. An earlier pass can therefore authorize succeeded even after later evidence records failure. Artifact paths are optional strings; the helper does not check file existence or contents.
Blocked, failed and succeeded checkpoints have no reopen command. The helper does not resume processes, reverse side effects, enforce the saved next action or manage tool approvals. It also allows a retry without a new next action or reason, although the documented protocol calls for both.
Field validation does not reconcile transition history with attempt counts or require passing evidence when loading an already succeeded record. Structurally valid manual edits can therefore remain inconsistent. The implementation also contains no locking to coordinate simultaneous writers.
Reasoning
The practical benefit comes from placing task memory in an inspectable file that a later session can read. The state transitions encourage an explicit verification step, and the attempt counter prevents further helper-managed retries after the budget is exhausted.
These controls depend on the operator following the protocol and checking actual outcomes. The resource fits supervised, sequential work where a lightweight progress record is sufficient. Claims of improved completion rates, recovery speed or reduced costs are not established by the supplied evidence.
Alternatives
For a trivial edit, ordinary Claude Code work may be sufficient. For a workflow with an existing durable runner, the skill's documentation recommends avoiding duplicate checkpoint machinery.
Work requiring automatic command execution, process recovery or proof tied to each attempt needs additional capabilities beyond this helper. The supplied material names no competing products and provides no comparative results.
Evidence
The supplied material includes the skill instructions, helper implementation, test source and repository licence. The tests define cases for initialization, successful transitions with evidence, attempt exhaustion, illegal transitions, terminal mutation, evidence-state restrictions, basic validation, save/load behavior and preservation after a rejected transition.
Test source establishes intended checks, not successful execution. No commands, tests or real Claude Code tasks were run. Runtime compatibility, interruption recovery and filesystem behavior under failure remain unverified.
Access & freshness
Costs
The MIT licence grants the software rights free of charge. Claude Code pricing, model charges, external-service charges and typical task totals are not specified, so operating cost is unknown.
The attempt ceiling limits entries into running. It does not limit elapsed time, model calls, tokens or spending within an attempt.
Rights
SKILL.md declares MIT, and the repository LICENSE contains the MIT grant with Copyright (c) 2025 davepoon. It permits use, copying, modification, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The software carries no warranty. Redistribution of the supplied skill files should retain the full MIT notice.
Freshness
The supplied snapshot was captured on 16 November 2026 at 17:21:24.770 UTC and is pinned to commit 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda. These findings apply to that revision.
No release version or dated change history is supplied. Changes to main after capture and current compatibility are unknown. The August 2026 timestamps in the tests are fixture values and do not establish a release or maintenance date.
Actions
Before depending on the skill, run its supplied suite with node --test "$SKILL_DIR/scripts/checkpoint-loop.test.mjs" in the intended environment and try interruption recovery on a disposable task. Specifically examine how your workflow handles earlier passing evidence and terminal blocked states.
Use a unique checkpoint path, keep secrets and sensitive logs out of its fields, and inspect actual outputs and artifacts independently. If completion must depend on the latest attempt passing, require a separate check that associates evidence with that attempt.
