kosif199022-jpg/kosif-atlas/3920-hosting-deploy-wordpress-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.

Import a full WordPress website (archive + database dump) into a Hostinger "hosting" website via public-api, using standalone MCP tools/plain curl instead of a filesystem-driven deploy tool. Use when asked to import/restore a whole WordPress site on hosting (not Agency Plan).

Install

npx vskill@latest install kosif199022-jpg/kosif-atlas/3920-hosting-deploy-wordpress-site

SKILL.md

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

Import a WordPress 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. Needs two local files: a site archive (zip/tar/tar.gz/tgz) and a .sql database dump. The upload steps have no tool wrapper: they hit the file-storage host directly via TUS, authenticated with the auth_key/rest_auth_key from hosting_generateUploadURLV1 (not the Bearer token), so they're always plain curl.

Tools used, in order

#ToolNotes
1hosting_listWebsitesV1query domain={domain} → resolve username
2hosting_generateUploadURLV1body {"username","domain"} → { url, auth_key, rest_auth_key } (reused for both uploads)
3(no tool — plain curl)TUS upload of the archive AND the .sql dump (two separate sequences)
4hosting_importWordPressWebsiteV1body {"archive_path","sql_path"} — destructive

Steps

  1. Resolve `username`: call hosting_listWebsitesV1 with domain={domain} → data[0].username.
  2. Get upload credentials once: call hosting_generateUploadURLV1 with body {"username","domain"} → { url, auth_key, rest_auth_key } — reuse for both uploads below.
  3. Upload the archive via TUS (plain curl — no MCP tool for this) to its bare filename, e.g. site.zip:

``` 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 ```

  1. Upload the database dump via TUS the same way, to its bare filename (e.g. dump.sql) — a

second, independent create-POST + PATCH sequence using the same credentials from step 2: ``` FILE=dump.sql 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"

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}" ```

  1. Trigger import: call hosting_importWordPressWebsiteV1 with body:

``json { "username": "...", "domain": "...", "archive_path": "site.zip", "sql_path": "dump.sql" } ` archive_path and sql_path are the bare filenames from steps 3/4 — 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.

Before you import

The website should be empty first (hPanel normally checks this and blocks non-empty imports). That pre-check has no public-api tool — if the target domain already has content, clear it via hPanel first, or accept that this import will overwrite whatever's there (see warning below).

Warning

Destructive. Existing website contents are moved out of the live web root before the imported WordPress core is written in — functionally irreversible via the API. Confirm intent before step 5.

When it's the wrong tool

  • Just deploying a plugin or theme into an existing WP site → use hosting-deploy-wordpress-plugin

or hosting-deploy-wordpress-theme instead (those don't touch the rest of the site).

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/3920-hosting-deploy-wordpress-site/badge)](https://verified-skill.com/skills/kosif199022-jpg/kosif-atlas/3920-hosting-deploy-wordpress-site)

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