laravel-horizon

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

A set of instructions for configuring and operating Laravel Horizon, the dashboard and worker manager for Redis-backed Laravel queues. It covers Laravel versions 11 through 13 and keeps worker settings in project configuration.

In plain words
What is it for?
Use it to configure supervisors, environments, balancing, dashboard access, deployment with Supervisor, tags, notifications, metrics, and Horizon commands.
Why use it?
It provides version-aware guidance for running queued jobs and monitoring their workers. It also clarifies the Redis requirement and separates worker management from queue creation and dispatching.

Skill for Claude CodeCodex

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

Good fit Use it to configure supervisors, environments, balancing, dashboard access, deployment with Supervisor, tags, notifications, metrics, and Horizon commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tecbay/laravel-ai-skills/laravel-horizon
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-horizon
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-horizon

README.md
[![agentmods](https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-horizon/github.svg)](https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-horizon)
Your own site
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-horizon"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-horizon/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-horizon

Your own site · 80×15
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/laravel-horizon"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/laravel-horizon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,133 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.00122 $0.02133
Opus 5 $0.00061 $0.01066
Sonnet 5 $0.00024 $0.00427
Haiku 4.5 $0.00012 $0.00213

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

Security

Grade A, and why

laravel-horizon 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-horizon/SKILL.md · 202 lines

How it starts

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

Laravel Horizon (11–13)

Laravel Horizon provides a dashboard and code-driven configuration for Redis-backed queues. All worker configuration lives in config/horizon.php (version controlled).

Queues are separate. For creating/dispatching jobs, middleware, batching, and testing, use the laravel-queues skill. Horizon only manages Redis workers — run queue:work separately for non-Redis failover connections [12+] in laravel-queues.

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+]
12.x / 13.x All tagged features ([12+] docs apply to both)
14+ (future) Extend version-matrix.md from official docs

Also check laravel/horizon package version when upgrading — review Horizon UPGRADE.md for package major bumps.

Full feature matrix: version-matrix.md

Prerequisites

  • Queue connection must be redis in config/queue.php
  • Horizon reserves the Redis connection name horizon — do not reuse it elsewhere in config/database.php or as the use option in config/horizon.php

Quick start

composer require laravel/horizon
php artisan horizon:install

Set QUEUE_CONNECTION=redis in .env, configure supervisors in config/horizon.php, then:

php artisan horizon

Dashboard: /horizon (local by default; gate required in non-local — see getting-started.md).

Local dev with auto-reload [12+]: npm i -D chokidar then php artisan horizon:listen.

Conventions

Item Location / pattern
Config config/horizon.phpdefaults, environments, waits, silenced, watch [12+]
Service provider app/Providers/HorizonServiceProvider.php — gate, notification routing
Environment workers environments[APP_ENV] — named supervisors (supervisor-1, etc.)
Wildcard env '*' key when no matching APP_ENV entry exists
Metrics snapshot Schedule::command('horizon:snapshot')->everyFiveMinutes() in routes/console.php
Deployment php artisan horizon:terminate during deploy; process monitor restarts workers

Read the full file on GitHub · 202 lines

Files

What ships with it

5 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 · 202 lines · 122 tokens per session scan A ea72b7d073d8

Subscribe to this mod's changes

laravel-horizon is a skill published in the GitHub repository tecbay/laravel-ai-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 122 tokens to every session and 2,133 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