kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site
Claude Code and agent skill by kosif199022-jpg/kosif-atlas
- community
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-siteSKILL.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
| # | Tool | Notes | |
|---|---|---|---|
| 1 | hosting_listWebsitesV1 | query domain={domain} → resolve username | |
| 2 | hosting_generateUploadURLV1 | body {"username","domain"} → { url, auth_key, rest_auth_key } | |
| 3 | (no tool — plain curl) | TUS upload of the archive | |
| 4 | hosting_deployStaticSiteArchiveV1 | body {"archive_path"} — destructive |
Steps
- Resolve `username`: call
hosting_listWebsitesV1withdomain={domain}→data[0].username. - Get upload credentials: call
hosting_generateUploadURLV1with body{"username": "...", "domain": "..."}→{ url, auth_key, rest_auth_key }. - 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.
- Trigger deploy: call
hosting_deployStaticSiteArchiveV1with:
``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
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
- SKILL.md in the repositoryCheckingskills/1513-hostinger/3918-hosting-deploy-static-site/SKILL.md
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
[](https://verified-skill.com/skills/kosif199022-jpg/kosif-atlas/3918-hosting-deploy-static-site)