my-task-api

Manage autonomous agent work queues with ranked, lease-based task units.

83|Updated May 8, 2026
One-click install
npx skills add https://github.com/myapihq/myapi --skill my-task-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: my-task-api
Source: https://github.com/myapihq/myapi/tree/main/skills/my-task-api
Command: npx skills add https://github.com/myapihq/myapi --skill my-task-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the challenge of coordinating autonomous agent work by providing a reliable task queue where units of work can be created, prioritized, claimed, and completed without losing progress.

Core Features & Use Cases

  • Task Queue Management: Create, rank, retrieve, and track units of work with descriptions, full context bodies, priorities, and status transitions.
  • Lease-Based Agent Coordination: Let workers safely claim tasks with expiring leases, extend active work, and recover automatically from interrupted execution.
  • Workflow Support: Manage dependencies, deduplication, assignees, and event-based resolution for agent loops and operational workflows.

Quick Start

Use the my-task-api skill to create a task queue entry, have an agent claim the highest priority task, and resolve it after completion.

Frequently Asked Questions about my-task-api

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

FAQPage Schema
How do I manage autonomous agent work queues without losing progress?

Autonomous agent work queues are managed by creating, prioritizing, claiming, and completing task units with reliable state transitions. This ensures agents can process work without losing progress by tracking status changes and applying lease-based claiming for safe execution.

What is lease-based claiming in task queue management?

Lease-based claiming in task queue management allows workers to safely lock tasks with expiring timers. This mechanism enables automatic recovery from interrupted execution by expiring active leases and returning incomplete tasks to the queue for reassignment.

How do I handle task dependencies and prioritization in an agent loop?

Task dependencies and prioritization in an agent loop are handled by creating ranked task units and applying dependency tracking. The queue manages workflow support by enforcing execution order and deduplicating units to maintain reliable operational processing.

Can I use this for human-agent collaboration and backlog management?

Human-agent collaboration and backlog management are supported through assignable task units with event-based resolution. The queue facilitates operational workflows by tracking full context bodies, managing terminal states, and coordinating work between human operators and autonomous agents.

What's the best way to coordinate multiple workers retrieving tasks from a queue?

Multiple workers retrieving tasks from a queue are coordinated using lease-based claiming and prioritized retrieval. The queue automatically ranks tasks, assigns expiring leases to active workers, and recovers orphaned work, ensuring reliable execution across concurrent agents.

Why do autonomous agents need terminal state management in task queues?

Terminal state management in task queues is needed to reliably track whether a unit of work is completed, failed, or cancelled. This prevents duplicate processing and ensures autonomous agents maintain accurate workflow status throughout operational task execution.