laravel-queues

laravel-queues is a skill for Claude Code, Codex from tecbay/laravel-ai-skills. It costs 114 tokens per session (2,181 once invoked), scanned A, original, MIT.

Guidance for Laravel's queue system, which runs slow tasks in the background instead of during a user's request. It covers queued jobs using Redis, a fast data store often used to pass work to background workers, for Laravel versions 11 through 13.

In plain words
What is it for?
Creating, sending, configuring, and testing background jobs; running workers; grouping jobs into batches; handling failed jobs; and setting up worker supervision.
Why use it?
It helps keep web requests responsive and avoids using commands or settings that the project's Laravel version does not support.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating, sending, configuring, and testing background jobs; running workers; grouping jobs into batches; handling failed jobs; and setting up worker supervision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tecbay/laravel-ai-skills/laravel-queues
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tecbay/laravel-ai-skills --skill laravel-queues
Clone the repo
git clone --depth 1 https://github.com/tecbay/laravel-ai-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laravel-queues

README.md
[![agentmods](https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-queues/github.svg)](https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-queues)
Your own site
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-queues"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-queues/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laravel-queues

Your own site · 80×15
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-queues"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-queues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.02181
Opus 5 $0.00057 $0.01091
Sonnet 5 $0.00023 $0.00436
Haiku 4.5 $0.00011 $0.00218

Measured 12d ago against content hash 042c7a91345c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

laravel-queues scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

laravel-queues/SKILL.md · 227 lines

How it starts

The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Laravel Queues (11–13)

Laravel's queue system offloads slow work to background workers. This skill covers the framework queue API with Redis as the primary driver.

Horizon is separate. For Redis dashboard, supervisors, and php artisan horizon, use the laravel-horizon skill. Horizon only manages Redis queues — run queue:work alongside Horizon when using failover with a database connection.

Version detection (required first step)

Before suggesting code or config, detect the project's Laravel major version:

composer show laravel/framework | grep versions
# or read composer.json: "laravel/framework": "^12.0"
Detected version Apply
11.x Only features tagged [11+]; skip [12+] and [13+]
12.x Features tagged [11+] and [12+]; skip [13+]
13.x All tagged features
14+ (future) Extend version-matrix.md from official docs before using new APIs

Never use DebounceFor, queue:pause, failover driver, or other version-gated APIs without confirming the project version. When unsure, state the minimum version required.

Full feature matrix: version-matrix.md

Prerequisites (Redis)

  • QUEUE_CONNECTION=redis in .env
  • Redis connection in config/database.php
  • config/queue.phpredis connection with retry_after, optional block_for
  • Workers: php artisan queue:work redis or Horizon (see Horizon skill)
// config/queue.php — typical Redis connection
'redis' => [
    'driver' => 'redis',
    'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
    'queue' => env('REDIS_QUEUE', 'default'),
    'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
    'block_for' => null,
    'after_commit' => false,
],

Redis cluster: queue names must include a hash tag, e.g. '{default}'.

Worker timeout rule: --timeout must be several seconds less than retry_after to prevent duplicate processing.

Read the full file on GitHub · 227 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 227 lines · 114 tokens per session scan A 042c7a91345c

Subscribe to this mod's changes

laravel-queues is a skill published in the GitHub repository tecbay/laravel-ai-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 114 tokens to every session and 2,181 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

using-redis-token-buckets

Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. posthog/tokenbucket.py provides an atomic Lua token bucket (consume, refund…

PostHog/posthog-foss · 148 tokens

spring-boot-cache

Provides patterns for implementing Spring Boot caching: configures Redis/Caffeine/EhCache providers with TTL and eviction policies, applies @Cacheable/@CacheEvict/@CachePut annotations, validates cache hit/miss behavior, and exposes metrics via Actuator. Use when adding caching to Spring Boot services, configuring…

giuseppe-trisciuoglio/developer-kit · 79 tokens

using-redis-token-buckets

Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. posthog/tokenbucket.py provides an atomic Lua token bucket (consume, refund…

PostHog/posthog · 148 tokens

spring-data-redis

Use when implementing caching, session storage, rate limiting, or any Redis integration. Covers cache-aside pattern, key naming, TTL strategy, and serialization config.

rrezartprebreza/spring-boot-skills · 37 tokens

background-job-orchestrator

Expert in background job processing with Bull/BullMQ (Redis), Celery, and cloud queues. Implements retries, scheduling, priority queues, and worker management. Use for async task processing, email campaigns, report generation, batch operations. Activate on "background job", "async task", "queue", "worker", "BullMQ"…

curiositech/some_claude_skills · 95 tokens

nw-sd-patterns

Core distributed systems patterns - load balancing, caching, sharding, consistent hashing, message queues, rate limiting, CDN, Bloom filters, ID generation, replication, conflict resolution, CAP theorem.

nWave-ai/nWave · 43 tokens