Agent skill

Deploying Laravel Cloud

by yungifez in yungifez/skuul

Deploys and manages Laravel applications on Laravel Cloud using the cloud CLI.

MITAuto-check passedBackend & APIs

Install Deploying Laravel Cloud

skills CLI
$ npx skills add yungifez/skuul --skill deploying-laravel-cloud -a claude-code

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

GitHub CLI
$ gh skill install yungifez/skuul deploying-laravel-cloud --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/yungifez/skuul.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.ai/skills/deploying-laravel-cloud .claude/skills/deploying-laravel-cloud && 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
deploying-laravel-cloud
GitHub stars
409
Token cost
~1.9k tokens
SKILL.md length
910 words
Files
2
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Deploys and manages Laravel applications on Laravel Cloud using the cloud CLI.

  • Works in 5 steps: Read the error output → Check resource status with :list --json… → Auth error? → cloud auth -n → …
  • The user wants to deploy an app
  • SKILL.md covers Setup, Commands, CLI Flags and Deployment Workflow, plus 8 more sections
  • Calls composer and jq; needs LARAVEL_CLOUD_TOKEN

What it does

Deploying Laravel Cloud is an agent skill from yungifez/skuul. Deploys and manages Laravel applications on Laravel Cloud using the cloud CLI. Use when the user wants to deploy an app, ship to cloud, create/manage environments, databases, caches, domains, instances, background processes, check billing/usage/spend, or any Laravel Cloud infrastructure. Triggers on deploy, ship, cloud management, environment setup, database provisioning, billing/usage queries, and similar cloud operations.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/checklists.md`).

It sits in Backend & APIs, covering Backend development. It works with Laravel and PHP. The repository describes itself as: A multi school management system. The licence is MIT.

When your agent uses it

  • The user wants to deploy an app
  • Create/manage environments
  • Background processes
  • Check billing/usage/spend

Example prompts

  • “Use the deploying-laravel-cloud skill to deploy and manages Laravel applications on Laravel Cloud using the cloud CLI”
  • “/deploying-laravel-cloud”

Requirements

  • A credential in LARAVEL_CLOUD_TOKEN

Workflow steps

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

  1. Read the error output
  2. Check resource status with :list --json -n or :get --json -n
  3. Auth error? → cloud auth -n
  4. Fix the issue, re-run the command
  5. If the same error repeats after one fix, stop and ask the user

What it can do on your machine

Read from SKILL.md and the folder at commit 8de86ba. 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:

    • composer
    • jq

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

  • Network

    Links to these hosts (documentation or services it may open):

    • cloud.laravel.com

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LARAVEL_CLOUD_TOKEN

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

Context cost

Deploying Laravel Cloud loads about 1.9k tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 910 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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 yungifez/skuul at commit 8de86ba, republished under its MIT licence (© yungifez). 910 words, ~1,940 tokens.

Download SKILL.mdSave it as .claude/skills/deploying-laravel-cloud/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
deploying-laravel-cloud
description
Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to cloud, create/manage environments, databases, caches, domains, instances, background processes, check billing/usage/spend, or any Laravel Cloud infrastructure. Triggers on deploy, ship, cloud management, environment setup, database provisioning, billing/usage queries, and similar cloud operations.

Deploying with Laravel Cloud CLI

Setup

sh
composer global require laravel/cloud-cli
cloud auth -n

cloud auth opens a browser. Where that isn't possible, set LARAVEL_CLOUD_TOKEN in the environment — it overrides any saved token and writes nothing to disk. To save a token instead: cloud auth:token --add --token=<token> -n, or pipe it: echo "$TOKEN" | cloud auth:token --add -n.

Commands

Commands follow a CRUD pattern: resource:list, resource:get, resource:create, resource:update, resource:delete.

Available resources: application, environment, instance, database-cluster, database, cache, bucket, domain, websocket-cluster, background-process, command, deployment.

Some resources have additional commands (e.g., domain:verify, database:open, instance:sizes, cache:types). Discover these via cloud -h.

Never hardcode command signatures. Always run cloud <command> -h to discover options at runtime.

CLI Flags

Always add -n to every command — prevents the CLI from hanging. Never use -q or --silent — they suppress all output.

Flag combos per operation:

  • Read (:list, :get) → --json -n
  • Create (:create) → --json -n
  • Update (:update) → --json -n --force
  • Delete (:delete) → -n --force (no --json)
  • Environment variables → -n --force
  • Deploy/ship → -n with all options passed explicitly (no --json)

Deployment Workflow

Determine the task and follow the matching path:

First deploy? → cloud ship -n (discover options via cloud ship -h)

Existing app? →

sh
cloud deploy {app_name} {environment} -n --open
cloud deploy:monitor -n

Environment variables? → cloud environment:variables -n --force

Provision infrastructure? → cloud <resource>:create --json -n

Custom domain? → cloud domain:create --json -n then cloud domain:verify -n

For multi-step operations, see reference/checklists.md.

Not sure what the user needs? → ask them before running anything.

When a Command Fails

  1. Read the error output
  2. Check resource status with :list --json -n or :get --json -n
  3. Auth error? → cloud auth -n
  4. Fix the issue, re-run the command
  5. If the same error repeats after one fix, stop and ask the user

Always run cloud deploy:monitor -n after every deploy. If it fails, show the user what went wrong before attempting a fix.

Subagent Delegation

Delegate high-output operations to subagents (using the Task tool) to keep the main context window small. Only the summary comes back — verbose output stays in the subagent's context.

Delegate these to a subagent:

  • cloud deploy:monitor -n — deployment logs can be very long
  • cloud deployment:get --json -n — full deployment details
  • cloud <resource>:list --json -n — listing many resources produces large JSON
  • Fetching docs from https://cloud.laravel.com/docs/llms.txt via WebFetch

Keep in the main context:

  • Short commands like :create, :delete, :update — output is small
  • cloud deploy -n — you need the deployment ID immediately
  • Any command where you need the result for the next step right away

Rules

Follow exact steps:

  • Flag selection — always use the documented combos above
  • Deploy sequence — deploy then monitor, never skip monitoring
  • Destructive commands — always confirm with user first, show the command and wait for approval
  • Error loop — diagnose, fix once, ask user if it fails again

Use your judgment:

  • Instance sizes, regions, cluster types — ask the user if not specified
  • Which resources to provision — based on what the user describes
  • Order of provisioning — no strict sequence required
  • How to present output — summarize, show raw, or extract fields based on context

Remote Access

Tinker (>= v0.2.0)

Run PHP code directly in a Cloud environment:

sh
cloud tinker {environment} --code='Your PHP code here' --timeout=60 -n
  • --code — PHP code to execute (required in non-interactive mode)
  • --timeout — max seconds to wait for output (default: 60)

The code must explicitly output results using echo, dump, or similar — expressions alone produce no output.

Always pass --code and -n to avoid interactive prompts.

Show full SKILL.md (371 more words)Show less
Remote Commands

Run shell commands on a Cloud environment:

sh
cloud command:run {environment} --cmd='your command here' -n
  • --cmd — the command to run (required in non-interactive mode)
  • --no-monitor — skip real-time output streaming
  • --copy-output — copy output to clipboard

Review past commands:

  • cloud command:list {environment} --json -n — list command history
  • cloud command:get {commandId} --json -n — get details and output of a specific command

Delegate command:run to a subagent when output may be long.

Billing & Usage

View billing and usage for the current organization:

sh
cloud usage --json -n
  • --period=current|previous|1|2|3 — billing period (default current; 1/2/3 are N periods back, max 3). Anything else errors out.
  • --environment=<id> — filter usage to a single environment
  • --detailed — include per-application, per-resource, and per-add-on breakdowns
  • --json — machine-readable output (always pair with -n)

Common queries:

  • Current spend: cloud usage --json -n | jq '.currentSpendCents'
  • Last month's bill: cloud usage --period=previous --json -n
  • One environment, full breakdown: cloud usage --environment=<id> --detailed --json -n

All amounts are in cents. Keys are camelCase at every level (e.g. currentSpendCents, bandwidth.allowanceBytes, databases[].totalCents, applications[].totalCostCents).

Delegate --detailed --json to a subagent — the payload includes every database, cache, bucket, websocket, and application and can get large.

Config

  1. Environment: LARAVEL_CLOUD_TOKEN — an API token, taking precedence over any saved one (empty counts as unset)
  2. Global: ~/.config/cloud/config.json — auth tokens and preferences
  3. Repo-local: .cloud/config.json — app and environment defaults (set by cloud repo:config {application} -n)
  4. CLI arguments override both config files

Pass the application to repo:config — without it the command has to ask, and under -n it fails when the organization has more than one application. Deploy commands don't need these defaults; pass the application and environment to them directly.

Multiple organizations means multiple stored API tokens. Every command reads organization_id from .cloud/config.json to pick one; if it isn't set, they fail. Set it with cloud repo:config {application} --organization=<id|name|slug> -n.

LARAVEL_CLOUD_TOKEN holds one token, so it picks the organization on its own. Naming a different one with --organization fails rather than falling back to the token's organization.

Documentation

Laravel Cloud Docs: https://cloud.laravel.com/docs/llms.txt

When the user asks how something works or needs an explanation of a Laravel Cloud feature, fetch the docs from the URL above using WebFetch and use it to provide accurate answers.

When Stuck

© yungifez, 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 1 other file in .ai/skills/deploying-laravel-cloud of yungifez/skuul.

  • SKILL.md
  • reference/checklists.md

Open the folder on GitHubat commit 8de86ba

Compare with similar skills

Deploying Laravel Cloud 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.

Deploying Laravel Cloud compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deploying Laravel Cloud this skillyungifez/skuul409—~1.9kAutomated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Laravel Best Practicesanonaddy/anonaddy4.9k13 repos~1.2kAutomated safety check: PassMIT
Geoflowyaojingang/GEOFlow3.8k—~722Automated safety check: PassAGPL-3.0
Livewire Developmentcoollabsio/coolify63k—~964Automated safety check: PassMIT

Similar skills

  • Configuring Horizon

    coollabsio/coolify

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

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • 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
    Backend & APIsAuto-check passed
  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Geoflow

    yaojingang/GEOFlow

    Operate/develop GEOFlow CLI/Laravel/admin/API, topics/专题 and topic tasks, theme libraries/replication, sites/leads/Agent, channel sync and legacy yao-geoflow-cli/design/template migration.

    3.8k GitHub stars~722 tokensUpdated today
    Backend & APIsAuto-check passed
  • Livewire Development

    coollabsio/coolify

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

    63k GitHub stars~964 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Laravel Specialist

    Jeffallan/claude-skills

    Builds Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, API resources and Livewire components, tested with Pest or PHPUnit.

    12k GitHub starsUsed in 1 repo~2.1k tokens
    Backend & APIsAuto-check passed

More from yungifez/skuul

  • Livewire Development

    yungifez/skuul

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

    409 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Build and work with Spatie Laravel Permission features, including roles, permissions, middleware, policies, teams, and Blade directives.

    409 GitHub stars~1.9k tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Deploying Laravel Cloud

What does Deploying Laravel Cloud do?

Deploys and manages Laravel applications on Laravel Cloud using the cloud CLI. Deploying Laravel Cloud is an agent skill from yungifez/skuul. Deploys and manages Laravel applications on Laravel Cloud using the cloud CLI.

When should I use Deploying Laravel Cloud?

Deploying Laravel Cloud fits situations like: the user wants to deploy an app; create/manage environments; background processes; check billing/usage/spend.

How do I install Deploying Laravel Cloud in Claude Code?

Run `npx skills add yungifez/skuul --skill deploying-laravel-cloud -a claude-code`. Or copy the skill folder (.ai/skills/deploying-laravel-cloud in yungifez/skuul) into .claude/skills/deploying-laravel-cloud in your project. Claude Code loads it when a task matches its description.

How do I install Deploying Laravel Cloud in Codex?

Run `npx skills add yungifez/skuul --skill deploying-laravel-cloud -a codex`. Or copy the skill folder (.ai/skills/deploying-laravel-cloud in yungifez/skuul) into .agents/skills/deploying-laravel-cloud in your project. Codex loads it when a task matches its description.

Can I use Deploying Laravel Cloud 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 yungifez/skuul --skill deploying-laravel-cloud -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deploying-laravel-cloud, .gemini/skills/deploying-laravel-cloud, .github/skills/deploying-laravel-cloud and .opencode/skills/deploying-laravel-cloud in your project.

What does Deploying Laravel Cloud need to run?

Going by SKILL.md and its folder, Deploying Laravel Cloud needs the command-line tools its instructions call (composer and jq) and credentials named LARAVEL_CLOUD_TOKEN. Our summary lists: A credential in LARAVEL_CLOUD_TOKEN.

Does Deploying Laravel Cloud access the network?

SKILL.md names 1 domain. As links in the text: cloud.laravel.com. This is read from the text; nothing was executed.

Is Deploying Laravel Cloud 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 Deploying Laravel Cloud use?

Deploying Laravel Cloud is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deploying Laravel Cloud use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deploying Laravel Cloud?

Skills that share tags, products or a category with Deploying Laravel Cloud: Configuring Horizon (coollabsio/coolify, 63k stars), Fortify Development (coollabsio/coolify, 63k stars), Laravel Best Practices (anonaddy/anonaddy, 4.9k stars) and Geoflow (yaojingang/GEOFlow, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deploying Laravel Cloud?

yungifez (a GitHub user) maintains it in yungifez/skuul, which has 409 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 5, 2026.

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