queue

Coordinate distributed background tasks with a Redis-backed BullMQ queue.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ImBIOS/swarm-tools --skill queue-imbios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: queue
Source: https://github.com/ImBIOS/swarm-tools/tree/main/packages/opencode-swarm-plugin/global-skills/queue
Command: npx skills add https://github.com/ImBIOS/swarm-tools --skill queue-imbios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill coordinates reliable background task execution and cross-agent coordination using a Redis-backed queue to decouple producers and workers and improve resilience.

Core Features & Use Cases

  • Asynchronous job submission with priorities and retry strategies to ensure resilience.
  • Configurable concurrency and worker pools for scalable parallel processing.
  • Monitoring, metrics, and error handling including dead-letter support to observe health and failures.
  • Cross-agent workflow coordination for chaining tasks and progress updates.

Quick Start

Submit a job to a named queue and start a worker to process it.

Frequently Asked Questions about queue

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

FAQPage Schema
How do I coordinate long-running tasks across distributed agents using Redis?

You can coordinate long-running tasks across distributed agents by using a Redis-backed queue to decouple producers and workers. This approach ensures reliable background task execution and improves resilience across multi-service architectures.

What is the best way to implement retry strategies and job prioritization in BullMQ?

The best way to implement retry strategies and job prioritization in BullMQ is by configuring asynchronous job submission with built-in backoff strategies. This ensures fault tolerance and resilience for background processing tasks.

How do I set up worker concurrency and parallel processing for background jobs?

To set up worker concurrency, configure scalable worker pools that enable parallel processing of background jobs. This allows you to manage execution across distributed agents efficiently while maintaining control over resource utilization.

Does BullMQ support dead-letter queues for handling failed job processing?

Yes, BullMQ supports dead-letter handling for failed job processing. It includes monitoring, metrics, and error handling capabilities that allow you to observe queue health and manage failures effectively.

Can I chain tasks and monitor progress for cross-agent workflow coordination?

Yes, you can chain tasks and monitor progress for cross-agent workflow coordination. The system provides coordination primitives that enable multi-agent workflows to update progress and execute sequential tasks reliably.

What are the limitations of using Redis-backed queues for asynchronous processing?

Limitations of Redis-backed queues for asynchronous processing include dependency on Redis availability and potential bottlenecks in cross-agent coordination. Dead-letter queues help manage failures, but overall throughput depends on Redis performance and worker pool configuration.