kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site

Claude Code and agent skill by kosif199022-jpg/kosif-atlas

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy a pre-built static site (HTML/CSS/JS, no build step) to a Hostinger "hosting" website via public-api, using standalone MCP tools/plain curl instead of a filesystem-driven deploy tool. Use when asked to deploy/upload a static site to hosting (not Agency Plan).

Install

npx vskill@latest install kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site

SKILL.md

The same SKILL.md was published earlier as kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site.

Deploy a static site to hosting

No filesystem access needed. Call the public-api MCP tools by name below — these need a Bearer token and the target domain. The one upload step has no tool wrapper: it hits the file-storage host directly via TUS, authenticated with the auth_key/rest_auth_key from hosting_generateUploadURLV1 (not the Bearer token), so it's always plain curl.

Tools used, in order

#ToolNotes
1hosting_listWebsitesV1query domain={domain} → resolve username
2hosting_generateUploadURLV1body {"username","domain"} → { url, auth_key, rest_auth_key }
3(no tool — plain curl)TUS upload of the archive
4hosting_deployStaticSiteArchiveV1body {"archive_path"} — destructive

Steps

  1. Resolve `username`: call hosting_listWebsitesV1 with domain={domain} → data[0].username.
  2. Get upload credentials: call hosting_generateUploadURLV1 with body {"username": "...", "domain": "..."} → { url, auth_key, rest_auth_key }.
  3. Upload the archive via TUS (plain curl — no MCP tool for this), using the archive's bare filename as relative_file_path (e.g. site.zip — no subdirectory):

``` FILE=site.zip SIZE=$(wc -c < "$FILE")

curl -sS -i -X POST "${url}/${FILE}?override=true" \ -H "X-Auth: ${auth_key}" -H "X-Auth-Rest: ${rest_auth_key}" \ -H "Tus-Resumable: 1.0.0" -H "Upload-Length: ${SIZE}" -H "Upload-Offset: 0" # -> 201 Created

curl -sS -i -X PATCH "${url}/${FILE}?override=true" \ -H "X-Auth: ${auth_key}" -H "X-Auth-Rest: ${rest_auth_key}" \ -H "Tus-Resumable: 1.0.0" -H "Content-Type: application/offset+octet-stream" \ -H "Upload-Offset: 0" --data-binary "@${FILE}" # -> 204, Upload-Offset response header == SIZE means done `` ?override=true` means a re-upload of the same path replaces it — safe to retry.

  1. Trigger deploy: call hosting_deployStaticSiteArchiveV1 with:

``json { "username": "...", "domain": "...", "archive_path": "site.zip" } ` archive_path is the bare filename from step 3 — no directory, no other body fields. username and domain` are URL path params in the REST API, but the MCP tool takes them as ordinary arguments — pass all of them.

Verify

curl -s -o /dev/null -w "%{http_code}\n" https://{domain}/
curl -s https://{domain}/ | grep -o "SOME_TEXT_YOU_ACTUALLY_DEPLOYED"

A 200 alone is not proof — a fresh or failed deploy can still serve a parking page. Always grep for a string you know is in the files you just deployed. If it does not match, call hosting_clearWebsiteCacheV1 and retry once before reporting failure.

Warning

Destructive. Deploy wipes the entire website root (except subdomain directories) before extracting the new archive — cannot be undone. Confirm intent before step 4.

When it's the wrong tool

  • Site has a package.json / needs a build step → use the hosting-deploy-nodejs-app skill instead.
  • Site is WordPress → use hosting-deploy-wordpress-site instead.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site/badge)](https://verified-skill.com/skills/kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site)

Something wrong with this skill or its page? Tell us.