loop

Automates backlog processing by dispatching prioritized tasks to /chain or /tusk endpoints until exhausted.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/gioe/python-libs --skill loop-gioe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop
Source: https://github.com/gioe/python-libs/tree/main/.claude/skills/loop
Command: npx skills add https://github.com/gioe/python-libs --skill loop-gioe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the autonomous backlog loop by continuously querying the highest-priority ready task and dispatching it to the appropriate endpoint (/chain for chain heads, /tusk for standalone tasks) until the backlog is exhausted.

Core Features & Use Cases

  • Automates backlog processing by querying the highest-priority ready task and dispatching it to either /chain (if it has dependents) or /tusk (standalone).
  • Repeats the cycle until the backlog is empty or a stop condition is met, enabling hands-off backlog drainage.
  • Provides clear guidance for unattended operation, including how to configure failure handling with --on-failure and how to cap runs with --max-tasks.

Quick Start

Run tusk loop to process your backlog until it is empty.

Frequently Asked Questions about loop

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

FAQPage Schema
How do I automate backlog task processing until the queue is empty?

Automated backlog processing continuously queries the highest-priority ready task and dispatches it to either /chain for dependents or /tusk for standalone tasks, repeating the cycle until the backlog is exhausted.

What is autonomous backlog drainage and how does it route tasks?

Autonomous backlog drainage is a hands-off workflow that prioritizes ready tasks and automatically routes them to /chain if they have dependents or /tusk if they are standalone, ensuring continuous task completion.

How do I configure failure handling for an automated task loop?

Failure handling for an automated task loop is configured using the --on-failure flag, allowing you to define operational instructions for how unattended workflow errors are managed during backlog drainage.

Can I cap the number of tasks processed in a backlog automation run?

You can cap the number of tasks processed in backlog automation by using the --max-tasks flag, which enforces a stop condition to limit the total runs during an unattended loop cycle.

What is the best way to handle task dependencies in a workflow queue?

The best way to handle task dependencies in a workflow queue is automated dispatch, which routes chain heads with dependents to /chain and standalone tasks to /tusk, ensuring correct execution order until completion.