Skip to main content
Run any Skill in Manus
with one click

pm-sweep

Stars0
Forks0
UpdatedMay 2, 2026 at 08:55

Scan a queue for zombie tasks (working but stale) and reclaim them. A task is stale when its last activity (latest TaskStatus / TaskReport / TaskHeartbeat by created_at) is older than --ttl seconds. Each reclaim is race-safe against a still-live worker via a preempt heartbeat (chain_predecessor on prevHeartbeat). Use when a queue has been running long enough that some workers may have died holding working leases, or as a periodic supervisor task.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly