deploy-app

deploy-app is a skill for Claude Code from nasrulhazim/claude. It costs 198 tokens per session (2,685 once invoked), scanned A, original, MIT.

A deployment guide for Kickoff-based Laravel applications, where Laravel is a PHP web framework. It runs the project's deployment command over SSH, which is a secure way to access a remote server, then checks the released version and service status.

In plain words
What is it for?
Use it to compare the server's code with the intended branch, deploy a release, verify the public site and running services, check the production commit, and understand how to stop or restore the application.
Why use it?
It helps prevent treating a successful-looking command as proof that the live site works. It makes the target server, application path, domain, branch, web services, and database explicit before deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ssh <user>@<host> 'cd <path> && ./bin/deploy -b <branch> 2>&1 | tail -60'.

Part of the claude-toolkit plugin — 36 skills, 12 commands, 20 agents shipped together

Good fit Use it to compare the server's code with the intended branch, deploy a release, verify the public site and running services, check the production commit, and understand how to stop or restore the application.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nasrulhazim/claude
agentmods
npx agentmods add skills/nasrulhazim/claude/deploy-app

Made for: Claude Code.

Or install claude-toolkit, the plugin that ships this one along with the rest of its 36 skills, 12 commands, 20 agents.

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 deploy-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/nasrulhazim/claude/deploy-app.svg)](https://agentmods.dev/skills/nasrulhazim/claude/deploy-app)
Your own site
<a href="https://agentmods.dev/skills/nasrulhazim/claude/deploy-app"><img src="https://agentmods.dev/badge/skills/nasrulhazim/claude/deploy-app.svg" alt="Measured on agentmods" height="20"></a>
Per session 198 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 95
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00198 $0.02685
Opus 5 $0.00099 $0.01342
Sonnet 5 $0.00040 $0.00537
Haiku 4.5 $0.00020 $0.00268

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

Security

Grade A, and why

deploy-app scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

&& curl -s -o /dev/null -w "login=%{http_code}\n" https://<domain>/login'
skills/deploy-app/SKILL.md · 200 lines

How it starts

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

Deploy a Kickoff app

One command does the whole release. This skill is mostly about verifying it and knowing which failures matter — a deploy that prints a success line is not the same as a deploy that worked.

Before anything: establish the target

Never assume. Confirm these from the project's own docs (docs/04-deployment/), its CLAUDE.md, or by asking:

Host SSH target and user
Path application root on the host
Domain public URL, for the health check
Branch what production tracks (usually main)
Stack web server, PHP-FPM, supervisor/Horizon, cron (scheduler)
Database engine and whether it is local or managed

If the project keeps this in a deployment doc, read it once and cache it in your answer — do not re-derive it every deploy.

Deploy

Check what would move first, then deploy:

ssh <user>@<host> 'cd <path> && git fetch origin <branch> --quiet \
  && echo "origin: $(git log --oneline -1 origin/<branch>)" \
  && echo "server: $(git log --oneline -1 HEAD)"'
ssh <user>@<host> 'cd <path> && ./bin/deploy -b <branch> 2>&1 | tail -60'

tail is deliberate: composer/npm output is long and the last 60 lines contain every decision point.

Gotcha: Always pass -b <branch>. With no -b, bin/deploy falls back to "latest tag" and git describe fails outright on a repository that has never been tagged.

What bin/deploy does, in order: pre-deploy database dump → artisan down → checked git checkout/pullcomposer install --no-devnpm ci && npm run build → clear config/route/view caches → migrate --forceoperations --isolatedoptimizehorizon:terminate → chown to the web user → reload PHP-FPM → artisan up → health check, with an automatic rollback to the previous commit if the health check does not pass.

Verify

Always run this afterwards. The script's own success line is not the whole story.

ssh <user>@<host> 'cd <path> && git rev-parse --short HEAD \
  && php artisan horizon:status \
  && curl -s -o /dev/null -w "login=%{http_code}\n" https://<domain>/login'

Read the full file on GitHub · 200 lines

Files

What ships with it

2 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. 3d ago Changed · +51 lines 7c1c72e44318
  2. 7d ago First seen · 149 lines · 198 tokens per session scan A c26e34875d29

Subscribe to this mod's changes

deploy-app is a skill published in the GitHub repository nasrulhazim/claude (22 stars, last pushed 5d ago), licensed MIT. It adds 198 tokens to every session and 2,685 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

stripe-projects

Provision SaaS services + sync creds via Stripe Projects.

NousResearch/hermes-agent · 15 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

workers-best-practices

Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.

cloudflare/skills · 25 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens