Best for
- Queue worker configuration and supervision
- Horizon dashboard setup and access control
- Job metrics, throughput, and failure monitoring
event4u-app/agent-config/src/skills/laravel-horizon/SKILL.md
Use when working with Laravel queues in production — Horizon dashboard, worker supervision, job metrics, balancing strategies — even when the user just says 'my jobs are piling up'.
Decision brief
Use when working with Laravel queues in production — Horizon dashboard, worker supervision, job metrics, balancing strategies — even when the user just says 'my jobs are piling up'.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/laravel-horizon"Inspect the Agent Skill "laravel-horizon" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/laravel-horizon/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Inspect current queue setup — Read config/queue.php, config/horizon.php (if present), and composer.json to identify the current driver, supervisors, and queues in use. 2. Pick environments and balance strategy — Decide per-env maxProcesses, balance, tries, timeout based on wo…
Use this skill for anything related to Laravel Horizon: - Queue worker configuration and supervision - Horizon dashboard setup and access control - Job metrics, throughput, and failure monitoring - Balancing strategies and scaling workers - Production tuning and deployment
Review the “config/horizon.php” section in the pinned source before continuing.
Review the “Queue priority” section in the pinned source before continuing.
Review the “Running Horizon” section in the pinned source before continuing.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 96/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Use this skill for anything related to Laravel Horizon:
For writing queue jobs themselves, see jobs-events.
config/queue.php, config/horizon.php (if present), and composer.json to identify the current driver, supervisors, and queues in use.maxProcesses, balance, tries, timeout based on workload; review the config block below.config/horizon.php, register supervisors and queue priority.php artisan horizon locally, hit /horizon dashboard, confirm jobs flow and metrics appear.'environments' => [
'production' => [
'supervisor-1' => [
'maxProcesses' => 10,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
'connection' => 'redis',
'queue' => ['default', 'high', 'low'],
'balance' => 'auto', // auto, simple, or false
'tries' => 3,
'timeout' => 60,
'maxTime' => 3600,
'maxJobs' => 1000,
'memory' => 128,
],
],
'local' => [
'supervisor-1' => [
'maxProcesses' => 3,
'connection' => 'redis',
'queue' => ['default', 'high', 'low'],
'balance' => 'auto',
'tries' => 3,
'timeout' => 60,
],
],
],
// Higher priority queues are listed first
'queue' => ['high', 'default', 'low'],
# Start Horizon (foreground)
php artisan horizon
# Pause / Continue
php artisan horizon:pause
php artisan horizon:continue
# Terminate gracefully (for deployments)
php artisan horizon:terminate
# Check status
php artisan horizon:status
Always terminate and restart Horizon after deploying new code:
php artisan horizon:terminate
# Supervisor will auto-restart Horizon
[program:horizon]
process_name=%(program_name)s
command=php /path/to/artisan horizon
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stdout_logfile=/var/log/horizon.log
stopwaitsecs=3600
// HorizonServiceProvider
protected function gate(): void
{
Gate::define('viewHorizon', function (User $user): bool {
return $user->isSuperuser();
});
}
| Strategy | Behavior |
|---|---|
auto | Distributes workers based on queue workload (recommended) |
simple | Round-robin across queues |
false | Fixed worker count per queue |
tags() method// Custom tags on a job
public function tags(): array
{
return ['customer:' . $this->customer->getId(), 'report'];
}
horizon:terminate ensures workers pick up new code.auto balancing — it adapts to workload automatically.maxTime — prevents workers from running forever (memory leaks).maxJobs — recycles workers after N jobs to prevent memory bloat.php artisan horizon:terminate and restart — they don't hot-reload.maxProcesses too high — each process holds a DB connection. Monitor your connection pool.Frequently asked questions
Use when working with Laravel queues in production — Horizon dashboard, worker supervision, job metrics, balancing strategies — even when the user just says 'my jobs are piling up'.
The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/laravel-horizon". Inspect the command and pinned source before running it.
Alternatives
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.
garrytan/gbrain
Generate a publication-quality PDF from any brain page via the gstack make-pdf binary. Strips YAML frontmatter, sanitizes emoji, applies running headers and page numbers. Brain page is always the source of truth; PDF is a rendering.
NVIDIA/skills
How to swap the DeepStream CV detection model in the VSS Alerts Blueprint verification (2d_cv) mode - covers ONNX export, custom bbox parsers, compose mount gotchas, nvinfer config, runtime TRT engine build, deployment, and a segmentation-capable model addendum handoff.
awslabs/agent-plugins
Evaluate, configure, and migrate workloads to AWS Lambda Managed Instances (LMI). Triggers on: Lambda Managed Instances, LMI, capacity provider, multi-concurrency Lambda, dedicated instance Lambda, EC2-backed Lambda, cold start elimination, Graviton Lambda, instance type for Lambda, scheduled scaling for LMI, Lambda cost optimization with Reserved Instances or Savings Plans. Also trigger when users describe high-volume predictable workloads seeking cost savings, want to scale LMI capacity on a s