task-loop-verify

Verify the current loop task and emit completion markers with cleanup.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sahajamoth/apex --skill task-loop-verify-sahajamoth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: task-loop-verify
Source: https://github.com/sahajamoth/apex/tree/main/.claude/skills/task-loop-verify
Command: npx skills add https://github.com/sahajamoth/apex --skill task-loop-verify-sahajamoth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates verification of the current task within a loop and emits a standardized completion marker to signal the stop-hook to exit the session gracefully.

Core Features & Use Cases

  • Read the active loop pointer and confirm the loop type (task-loop)
  • Load the relevant task prompt from the planning data and delegate verification to a verifier
  • Emit completion markers (VERIFIED, INCOMPLETE, BLOCKED) and perform cleanup to avoid stale loops

Quick Start

Run the task-loop-verify skill to confirm the current task state and emit a completion marker.

Frequently Asked Questions about task-loop-verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate task verification and signal loop termination in an automated workflow?▼

Loop state verification works by reading the active loop pointer, confirming the loop type, loading the relevant task prompt from planning data, and delegating verification to a verifier agent. It outputs standardized completion markers to signal the stop-hook to exit the session gracefully.

What completion markers are emitted when verifying a task in a loop?▼

Task loop verification emits VERIFIED, INCOMPLETE, and BLOCKED markers to signal the stop-hook to exit the session gracefully. State cleanup runs after marker emission to prevent stale loops.

Do I need a TASKS.json file to verify the current task in the loop?▼

Yes, verifying the current task in a loop requires a TASKS.json file to load the relevant task prompt from planning data. The skill delegates verification to a task-verifier agent and emits completion markers based on that prompt.

How do I prevent stale loops during task-loop verification?▼

Task-loop verification prevents stale loops by performing state cleanup after emitting completion markers. This ensures the loop session exits gracefully via the stop-hook once the task is verified, incomplete, or blocked.

Can I use a task-verifier agent to confirm loop state and emit a completion marker?▼

Yes, task-loop verification delegates confirmation to a task-verifier agent. The skill reads the loop state, loads the task prompt from TASKS.json, delegates verification to the agent, and emits a standardized completion marker with state cleanup.