forge-deploy

forge-deploy is a skill for Claude Code from gtapps/hermitd. It costs 69 tokens per session (1,414 once invoked), scanned A, original, MIT.

A deployment helper for Laravel Forge, a service that deploys websites and applications to servers. It previews the target, asks for approval through the normal deployment flow, starts the deployment, and watches its result.

In plain words
What is it for?
Use it to preview, approve, start, and monitor a Laravel Forge deployment.
Why use it?
It reduces the risk of deploying to the wrong server or site and records failures for follow-up.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hermitd-laravel-forge plugin — 5 skills shipped together

Good fit Use it to preview, approve, start, and monitor a Laravel Forge deployment.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gtapps/hermitd
Claude Code
/plugin install hermitd-laravel-forge

Made for: Claude Code.

Or install hermitd-laravel-forge, the plugin that ships this one along with the rest of its 5 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/hermitd/forge-deploy"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/forge-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,414 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.00069 $0.01414
Opus 5.5 $0.00028 $0.00566
Sonnet 5.5 $0.00014 $0.00283
Haiku 4.5 $0.00007 $0.00141

Measured 11d ago against content hash 08bc620602f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forge-deploy 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/hermitd-laravel-forge/skills/forge-deploy/SKILL.md · 136 lines

How it starts

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

Forge Deploy

Trigger a deployment on a Forge site. Always preview before deploying. A wrong deploy targets the wrong site — preview eliminates that risk.


Surface-then-approve flow

Step 1 — Preview (read-only, never mutates)

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php preview-deploy <server> <site>

Resolves <server> and <site> to their canonical SDK records and prints:

--- Deploy preview (no action taken) ---
Server: prod-web-01 (ID: 12345, IP: 1.2.3.4)
Site:   myapp.com (ID: 67890)

Exit 0. No network write.

Step 2 — Relay canonical target to operator

Show the canonical server name, IP, site name, and IDs.

Step 3: Deploy

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php deploy <server> <site>

This triggers the deployment and returns immediately (no blocking wait):

Deployment started: deploy-id=991 server-id=12345 site-id=67890 status=queued
Watch with: forge.php deploy-watch 12345 67890 991

Capture the canonical deploy-id, server-id, and site-id — Step 4 needs them.

Step 4 — Watch via the hermit watch registry (non-blocking)

Do not poll in a foreground Bash call: a real deploy can outlast the Bash tool timeout, which would kill the wait and skip the incident. Arm a hermit watch instead: it runs detached, notifies you on each status change and on the terminal state at zero token cost while quiet, and is tracked in monitors.runtime.json (visible via /hermitd:watch status, cancellable via /hermitd:watch stop, and cleaned up when the watch finishes or is stopped).

Requires a running resident. If the resident is unavailable, run deploy-status manually.

Resolve ${CLAUDE_PLUGIN_ROOT} to its absolute path now (at skill-execution time): the variable is NOT available inside the watch subprocess. Then arm the watch by invoking /hermitd:watch with this command (substitute the absolute path and the three IDs):

php /ABS/php/forge.php deploy-watch <server-id> <site-id> <deploy-id>

Read the full file on GitHub · 136 lines

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. 11d ago First seen · 136 lines · 69 tokens per session scan A 08bc620602f8

Subscribe to this mod's changes

forge-deploy is a skill published in the GitHub repository gtapps/hermitd (79 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 1,414 once invoked, about $0.0003 per session on Opus 5.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-10-02.

Related

Other skills, from other repositories

relay-deploy

Set up a complete deployment configuration — Dockerfile, deployment manifest, environment config, and rollback procedure. Use when asked about "deployment setup", "how do I deploy this", "deployment strategy", or "rollback plan".

tonone-ai/tonone · 48 tokens

forge-cost

Audit cloud infrastructure costs and produce a concrete optimization plan with specific changes and estimated savings. Use when asked to "how much is this costing", "reduce cloud spend", "cost optimization", "are we overpaying", "cloud bill", or "budget for this infra".

tonone-ai/tonone · 58 tokens

forge-infra

Build production-grade infrastructure as code for a service or project. Use when asked to "set up infra", "provision infrastructure", "create cloud resources", "IaC for this project", "terraform for this", or "deploy this service".

tonone-ai/tonone · 53 tokens

forge-recon

Infrastructure reconnaissance — inventory all cloud resources, map connections, flag risks. Use when asked to "inventory our infra", "what infrastructure do we have", "map our cloud resources", "infra discovery", or "what's running in our cloud".

tonone-ai/tonone · 53 tokens

flux-recon

Database reconnaissance — full inventory of schema, migrations, data volume, backups, connection pooling, and query patterns. Use when asked to "assess this database", "understand the schema", or "database health check".

tonone-ai/tonone · 48 tokens

forge-audit

Audit existing infrastructure for security issues, waste, and misconfigurations. Use when asked to "audit my infra", "check cloud setup", "infra review", "are we wasting money", "security check on infra", or "review my terraform".

tonone-ai/tonone · 54 tokens