kosif199022-jpg/kosif-atlas/3917-hosting-deploy-nodejs-app
Claude Code and agent skill by kosif199022-jpg/kosif-atlas
- community
Checking that the SKILL.md file is still in the repository.
Deploy a Node.js application (needs a 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/build a Node.js/JS app on hosting (not Agency Plan).
Install
npx vskill@latest install kosif199022-jpg/kosif-atlas/3917-hosting-deploy-nodejs-appSKILL.md
The same SKILL.md was published earlier as kosif199022-jpg/kosif-atlas/3917-hosting-deploy-nodejs-app.
Deploy a Node.js app 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. Archive must contain only application source (exclude node_modules/ and any build output — the build step runs install automatically).
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_getNode_jsBuildSettingsFromArchiveV1 | query archive_path={file} — optional, auto-detects build settings | |
| 5 | hosting_startNode_jsBuildV1 | starts the build — 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) to its bare filename (no subdirectory):
``` FILE=app.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 ```
- Auto-detect build settings (optional but recommended): call
hosting_getNode_jsBuildSettingsFromArchiveV1
with archive_path=app.zip → returns app_type, node_version, root_directory, output_directory, build_script, entry_file, package_manager. Forward these as-is into step 5 (override any field the caller wants different first).
- Start the build: call
hosting_startNode_jsBuildV1with body:
``json { "username": "...", "domain": "...", "node_version": 20, "app_type": "...", "root_directory": "...", "output_directory": "...", "build_script": "...", "source_type": "archive", "source_options": { "archive_path": "app.zip" } } ` node_version must be one of 18/20/22/24 (default 20 if step 4 didn't return one). entry_file is required only when app_type is express. Response includes a build uuid — poll hosting_listNodeJSBuildsV1 or hosting_getNodeJSBuildLogsV1` for progress.
Verify
The build is asynchronous — the previous step only queues it.
- Poll
hosting_listNodeJSBuildsV1until the build reports a finished state. Back
off between polls: builds take minutes, not seconds.
- If it failed, pull
hosting_getNodeJSBuildLogsV1for that builduuid, fix the
cause, and redeploy. Do not report success on a queued build.
- Once it succeeds, confirm the app actually serves:
`` 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 — grep for a string you know is in the build output.
One-step alternative
hosting_createNodeJSBuildFromArchiveV1 uploads the archive as multipart form data directly in the request and starts the build in one call — skips steps 2–4 entirely if the caller can send the raw archive bytes in the request body. Max archive size 50MB.
Warning
Destructive. On success, the build result overwrites the entire website root (public_html, except subdomain directories and .htaccess) — cannot be undone. Confirm intent before step 5 (or before calling the one-step alternative).
When it's the wrong tool
- Site has no build step (plain static files) → use hosting-deploy-static-site 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/3917-hosting-deploy-nodejs-app/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/3917-hosting-deploy-nodejs-app)