Agent skill

Configuring Horizon

by coollabsio in coollabsio/coolify

A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

MITAuto-check passedBackend & APIs

Install Configuring Horizon

skills CLI
$ npx skills add coollabsio/coolify --skill configuring-horizon -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coollabsio/coolify configuring-horizon --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coollabsio/coolify.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/configuring-horizon .claude/skills/configuring-horizon && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
configuring-horizon
GitHub stars
63k
Used in
4 other repos
Token cost
~898 tokens
SKILL.md length
256 words
Files
5 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

  • Works in 3 steps: Run php artisan horizon and visit /horizon → Confirm dashboard access is restricted… → Check that metrics populate after…
  • The user mentions Horizon by name in a Laravel context
  • SKILL.md covers Documentation, Basic Usage, Verification and Common Pitfalls
  • Calls php

What it does

Configuring Horizon is an agent skill from coollabsio/coolify. Use this skill whenever the user mentions Horizon by name in a Laravel context. Covers the full Horizon lifecycle: installing Horizon (horizon:install, Sail setup), configuring config/horizon.php (supervisor blocks, queue assignments, balancing strategies, minProcesses/maxProcesses), fixing the dashboard (authorization via Gate::define viewHorizon, blank metrics, horizon:snapshot scheduling), and troubleshooting production issues (worker crashes, timeout chain ordering, LongWaitDetected notifications, waits…

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/metrics.md`, `references/notifications.md` and `references/supervisors.md`).

It sits in Backend & APIs, covering Backend development and Authorization and RBAC. It works with Laravel, PHP, Redis and Linux. The repository describes itself as: An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click… The licence is MIT.

When your agent uses it

  • The user mentions Horizon by name in a Laravel context
  • Generic Laravel queues without Horizon
  • Database drivers
  • Standalone Redis setup

Example prompts

  • “/configuring-horizon”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Run php artisan horizon and visit /horizon
  2. Confirm dashboard access is restricted as expected
  3. Check that metrics populate after scheduling horizon:snapshot

What it can do on your machine

Read from SKILL.md and the folder at commit f55efc8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • php

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Configuring Horizon loads about 898 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 183 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~183
When it runs · the whole SKILL.md, loaded when a task matches
~898
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from coollabsio/coolify at commit f55efc8, republished under its MIT licence (© coollabsio). 256 words, ~898 tokens.

Download SKILL.mdSave it as .claude/skills/configuring-horizon/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
configuring-horizon
description
Use this skill whenever the user mentions Horizon by name in a Laravel context. Covers the full Horizon lifecycle: installing Horizon (horizon:install, Sail setup), configuring config/horizon.php (supervisor blocks, queue assignments, balancing strategies, minProcesses/maxProcesses), fixing the dashboard (authorization via Gate::define viewHorizon, blank metrics, horizon:snapshot scheduling), and troubleshooting production issues (worker crashes, timeout chain ordering, LongWaitDetected notifications, waits config). Also covers job tagging and silencing. Do not use for generic Laravel queues without Horizon, SQS or database drivers, standalone Redis setup, Linux supervisord, Telescope, or job batching.
license
MIT
metadata.author
laravel

Horizon Configuration

Documentation

Use search-docs for detailed Horizon patterns and documentation covering configuration, supervisors, balancing, dashboard authorization, tags, notifications, metrics, and deployment.

For deeper guidance on specific topics, read the relevant reference file before implementing:

  • references/supervisors.md covers supervisor blocks, balancing strategies, multi-queue setups, and auto-scaling
  • references/notifications.md covers LongWaitDetected alerts, notification routing, and the waits config
  • references/tags.md covers job tagging, dashboard filtering, and silencing noisy jobs
  • references/metrics.md covers the blank metrics dashboard, snapshot scheduling, and retention config

Basic Usage

Installation
bash
php artisan horizon:install
Supervisor Configuration

Define supervisors in config/horizon.php. The environments array merges into defaults and does not replace the whole supervisor block:

<!-- Supervisor Config -->
php
'defaults' => [
    'supervisor-1' => [
        'connection' => 'redis',
        'queue' => ['default'],
        'balance' => 'auto',
        'minProcesses' => 1,
        'maxProcesses' => 10,
        'tries' => 3,
    ],
],

'environments' => [
    'production' => [
        'supervisor-1' => ['maxProcesses' => 20, 'balanceCooldown' => 3],
    ],
    'local' => [
        'supervisor-1' => ['maxProcesses' => 2],
    ],
],
Dashboard Authorization

Restrict access in App\Providers\HorizonServiceProvider:

<!-- Dashboard Gate -->
php
protected function gate(): void
{
    Gate::define('viewHorizon', function (User $user) {
        return $user->is_admin;
    });
}

Verification

  1. Run php artisan horizon and visit /horizon
  2. Confirm dashboard access is restricted as expected
  3. Check that metrics populate after scheduling horizon:snapshot

Common Pitfalls

  • Horizon only works with the Redis queue driver. Other drivers such as database and SQS are not supported.
  • Redis Cluster is not supported. Horizon requires a standalone Redis connection.
  • Always check config/horizon.php before making changes to understand the current supervisor and environment configuration.
  • The environments array overrides only the keys you specify. It merges into defaults and does not replace it.
  • The timeout chain must be ordered: job timeout less than supervisor timeout less than retry_after. The wrong order can cause jobs to be retried before Horizon finishes timing them out.
  • The metrics dashboard stays blank until horizon:snapshot is scheduled. Running php artisan horizon alone does not populate metrics.
  • Always use search-docs for the latest Horizon documentation rather than relying on this skill alone.

© coollabsio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/configuring-horizon of coollabsio/coolify.

  • SKILL.md
  • references/metrics.md
  • references/notifications.md
  • references/supervisors.md
  • references/tags.md

Open the folder on GitHubat commit f55efc8

Used in 6 other repositories

We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in coollabsio/coolify, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Configuring Horizon next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Configuring Horizon compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Configuring Horizon this skillcoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Pulse DevelopmentMineTrax/minetrax1161 repos~1.7kAutomated safety check: PassMIT
Tyrohasinhayder/tyro685—~1.4kAutomated safety check: PassMIT
Laraveldaily Permissions AuditLaravelDaily/AI-Workflows-For-Laravel136—~5.2kAutomated safety check: PassNone
Laravel SecurityHoangNguyen0403/agent-skills-standard572—~887Automated safety check: PassMIT
Laravel Sessions MiddlewareHoangNguyen0403/agent-skills-standard572—~830Automated safety check: NotesMIT

Similar skills

  • Pulse Development

    MineTrax/minetrax

    Handles Laravel Pulse setup, configuration, and custom card development.

    116 GitHub starsUsed in 1 repo~1.7k tokens
    Backend & APIsAuto-check passed
  • Tyro

    hasinhayder/tyro

    Framework-maintainer skill for the Tyro Laravel authorization package

    685 GitHub stars~1.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Laraveldaily Permissions Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel permissions", "review roles and permissions", "check authorization code", "find permission issues", "permissions review", "audit access…

    136 GitHub stars~5.2k tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed
  • Laravel Security

    HoangNguyen0403/agent-skills-standard

    Harden Laravel apps with Policies for model authorization, Gate-based RBAC, validated mass assignment, and CSRF protection.

    572 GitHub stars~887 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Laravel Sessions Middleware

    HoangNguyen0403/agent-skills-standard

    Configure Redis session drivers, register security-header middleware, and prevent session fixation in Laravel.

    572 GitHub stars~830 tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Php Framework Audit

    wgpsec/AboutSecurity

    PHP 框架特定安全审计。当在 PHP 白盒审计中已识别目标使用特定框架、 需要检查框架特有安全机制和常见配置缺陷时触发。

    1.8k GitHub stars~767 tokensUpdated today
    Backend & APIsAuto-check: notes

More from coollabsio/coolify

  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Auto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Auto-check passed
  • Laravel Actions

    coollabsio/coolify

    Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions.

    63k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Livewire Development

    coollabsio/coolify

    A skill your agent uses for any task or question involving Livewire.

    63k GitHub stars~964 tokensUpdated yesterday
    Auto-check passed

Questions about Configuring Horizon

What does Configuring Horizon do?

A skill your agent uses whenever the user mentions Horizon by name in a Laravel context. Configuring Horizon is an agent skill from coollabsio/coolify. Use this skill whenever the user mentions Horizon by name in a Laravel context.

When should I use Configuring Horizon?

Configuring Horizon fits situations like: the user mentions Horizon by name in a Laravel context; generic Laravel queues without Horizon; database drivers; standalone Redis setup.

How do I install Configuring Horizon in Claude Code?

Run `npx skills add coollabsio/coolify --skill configuring-horizon -a claude-code`. Or copy the skill folder (.agents/skills/configuring-horizon in coollabsio/coolify) into .claude/skills/configuring-horizon in your project. Claude Code loads it when a task matches its description.

How do I install Configuring Horizon in Codex?

Run `npx skills add coollabsio/coolify --skill configuring-horizon -a codex`. Or copy the skill folder (.agents/skills/configuring-horizon in coollabsio/coolify) into .agents/skills/configuring-horizon in your project. Codex loads it when a task matches its description.

Can I use Configuring Horizon in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coollabsio/coolify --skill configuring-horizon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configuring-horizon, .gemini/skills/configuring-horizon, .github/skills/configuring-horizon and .opencode/skills/configuring-horizon in your project.

What does Configuring Horizon need to run?

Going by SKILL.md and its folder, Configuring Horizon needs the command-line tools its instructions call (php).

Does Configuring Horizon access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Configuring Horizon safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Configuring Horizon use?

Configuring Horizon is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Configuring Horizon use?

About 898 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Configuring Horizon?

Skills that share tags, products or a category with Configuring Horizon: Pulse Development (MineTrax/minetrax, 116 stars), Tyro (hasinhayder/tyro, 685 stars), Laraveldaily Permissions Audit (LaravelDaily/AI-Workflows-For-Laravel, 136 stars) and Laravel Security (HoangNguyen0403/agent-skills-standard, 572 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Configuring Horizon?

coollabsio (a GitHub organization) maintains it in coollabsio/coolify, which has 62,800 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.

Source: coollabsio/coolify on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.