headless-step-deploy

headless-step-deploy is a skill for Claude Code, Codex from hostinger/api-mcp-server. It costs 98 tokens per session (4,624 once invoked), scanned A, original, MIT.

A deployment step that uploads a frontend project's source to a Hostinger Node.js host, installs its packages, builds it, and serves the result on the live domain. It records the deployment outcome.

In plain words
What is it for?
Use it to archive and upload the frontend, run the server-side install and build, configure the framework's build settings, and deploy to the chosen domain.
Why use it?
It provides the repeatable path from local frontend code to a live website and requires explicit build settings to avoid a deployment that finishes but serves an unusable page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is (`hosting_pocketbase_set-superuser`, see `../03-provision/pocketbase/SKILL.md` Step 3) and.

Good fit Use it to archive and upload the frontend, run the server-side install and build, configure the framework's build settings, and deploy to the chosen domain.

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/hostinger/api-mcp-server
agentmods
npx agentmods add skills/hostinger/api-mcp-server/08-deploy

Made for: Claude Code, Codex.

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 headless-step-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/hostinger/api-mcp-server/08-deploy/github.svg)](https://agentmods.dev/skills/hostinger/api-mcp-server/08-deploy)
Your own site
<a href="https://agentmods.dev/skills/hostinger/api-mcp-server/08-deploy"><img src="https://agentmods.dev/badge/skills/hostinger/api-mcp-server/08-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 headless-step-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/hostinger/api-mcp-server/08-deploy"><img src="https://agentmods.dev/badge/skills/hostinger/api-mcp-server/08-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,624 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.
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.00098 $0.04624
Opus 5.5 $0.00039 $0.01850
Sonnet 5.5 $0.00020 $0.00925
Haiku 4.5 $0.00010 $0.00462

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

Security

Grade A, and why

headless-step-deploy 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.

command (`curl` each URL). A root that 403s or serves the previous build is the *root 403 after a
skills/headless/steps/08-deploy/SKILL.md · 257 lines

How it starts

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

headless-step-deploy

Ship the frontend to the live domain through the Hostinger connector. You hand the connector a zip of the project source and it uploads it, runs npm install + the build script on the server, and serves the result. Out: deploy.json.

This is an instance-barrier step: run it only after provision.status == "completed" and validate has passed (on a first deploy that includes its dependency audit, even when the rest of validate is skipped). All operations go through the connector (execute).

Connected to the hosted server (mcp.hostinger.com)? Its hosting_deploy deploys Git repositories only and cannot read a local path. Run this step through the local hostinger-api-mcp server instead (see the connect step: <command> <launcher>).

With a shell and the Hostinger CLI installed, the same deploy is one command, with the build settings passed exactly as the table below says. Run it from the project, since it links the current directory: cd ~/.hostinger/<domain>/src && hostinger up --domain <domain> --type nodejs --app-type <appType> --output-directory <dir> --build-script build --node-version 22 --package-manager npm --message "<what this deploy changes, like a commit message>" --yes --format json. If it fails with unknown flag: --message (an older CLI), run brew upgrade hostinger/tap/hostinger or rerun it without --message. It uploads, builds, waits and returns data.buildUuid and data.buildState; add --no-wait to return at once and wait with cd "$HOME" && node <skill>/wait.mjs build <domain> <uuid>. Then continue at "Verify" below. Recent CLI versions see that the site is headless (data.headless: true) and deploy only its Node.js frontend, leaving /cms alone; still pass the settings above.

In: the project in ~/.hostinger/<domain>/src/, site.json (username, urls), state.json (frontend.framework, frontend.rendering).

⚠️ The one rule that makes this work: pass build settings explicitly

If you let hosting_deploy auto-detect build settings, for a headless site that detection returns null (appType:null, outputDirectory:null, Node 20) — the build "completes" but the root serves 403 (no appType/output → the vhost serves a directory with no entry). This is reproducible. Always pass appType, outputDirectory, nodeVersion, buildScript, packageManager and rootDirectory on the hosting_deploy call with the framework's values; the deploy then resolves them and serves correctly, and /cms is preserved.

Read the full file on GitHub · 257 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. 3d ago Changed 236b2a589b8d
  2. 11d ago Changed · +1 lines 2d28e17428e1
  3. 12d ago Changed · +5 lines 0f3d36e77d04
  4. 13d ago Changed · +15 lines df89cb586ec6
  5. 14d ago Changed · -25 lines b02bd709e3f7
  6. 19d ago Changed · +5 lines 6c0c41be0a80
  7. 24d ago Changed · +4 lines c86d864d7f3c
  8. 25d ago Changed 5379169ce5f9
  9. 26d ago Changed · +35 lines cbefe6ae459a
  10. 27d ago First seen · 217 lines · 98 tokens per session scan A c5dccd12f315

Subscribe to this mod's changes

headless-step-deploy is a skill published in the GitHub repository hostinger/api-mcp-server (176 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 4,624 once invoked, about $0.0004 per session on Opus 5.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-10-20.

Related

headless-step-deploy compared with skills from other repositories

headless-step-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
headless-step-deployhostinger/api-mcp-serverSkill176yesterdayMITA98Claude Code, Codex
cost-optimizationwshobson/agentsSkill43kyesterdayMITA48Claude Code
linkerd-patternswshobson/agentsSkill43kyesterdayMITA41Claude Code
mirrord-prev-envmetalbear-co/mirrordSkill5.4ktodayMITA122Claude Code
mirrord-operatormetalbear-co/mirrordSkill5.4ktodayMITA124Claude Code
mirrord-upmetalbear-co/mirrordSkill5.4ktodayMITA163Claude Code
ultralytics-platformfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A135Claude Code