audit-hosting
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Provision a headless WordPress backend for the Hostinger Headless flow: create the headless website with WordPress at /cms, verify and self-heal, then record it in site.json.
Claude Code
$ npx -y skills add hostinger/api-mcp-server --skill wordpress --agent claude-code
Codex
$ npx skills add hostinger/api-mcp-server --skill wordpress -a codex -y
Cursor
$ npx skills add hostinger/api-mcp-server --skill wordpress -a cursor -y
Gemini CLI
$ npx skills add hostinger/api-mcp-server --skill wordpress -a gemini-cli -y
GitHub Copilot
$ npx skills add hostinger/api-mcp-server --skill wordpress -a github-copilot -y
OpenCode
$ npx skills add hostinger/api-mcp-server --skill wordpress -a opencode -y
Windsurf
$ npx skills add hostinger/api-mcp-server --skill wordpress -a windsurf -y
name: headless-step-provision-wordpress description: "Provision a headless WordPress backend for the Hostinger Headless flow: create the headless website with WordPress at /cms, verify and self-heal, then record it in site.json."
Create the headless WordPress backend for `<domain>` and prove it is ready. One platform call lays every headless site out identically: WordPress in `public_html/cms`, Hostinger AI Assistant + MCP adapter, site marked `headless`. **Out:** `site.json`.
All operations below go through the Hostinger connector (`execute`).
> **Fire vs join (background provision).** Step 1, plus the queuing call — `hosting_websites_create` > for a fresh site (Step 2) **or** `wordpress_installations_install` to swap an empty headless shell > (Step 2b) — are the **fire** half: once the job is queued, record `provision.in_progress` and return > to do prepare work (see the router `../SKILL.md`). The readiness **poll** at the end of Step 2 / 2b, > plus Steps 3–6, are the **join** half — run them when an instance-barrier step needs the backend (or > immediately, if the agent can't interleave). An already-`completed` site with WordPress at `/cms` > detected in Step 1 means provision is already done: record `provision.completed` and adopt it.
1. `hosting_websites_list { "domain": "<domain>" }` — substring filter, so **exact-match** the row's `domain`. If a row exists, note `username`, `order_id`, `website_type`. 2. **No exact row** → nothing exists on this domain → **create fresh** (Step 2). 3. **A row exists.** If `website_type` is **not** `headless`, stop and tell the user — this domain already hosts a different kind of site (plain WordPress, Node.js, builder, …); never overwrite it. If it **is** `headless`, work out whether WordPress is already installed or the shell is still empty: check `hosting_websites_list-setups { "domain": "<domain>" }` (exact row) and `wordpress_installations_list { username, domain, ownership: "all" }` (exact row):
→ **already provisioned** → skip to Step 3 (adopt it).
`type: headless_empty`, typically from onboarding) → **swap it to WordPress** (Step 2b). Do **not** call `hosting_websites_create` again — the website already exists; you only install WordPress into it.
1. Pick the plan: `hosting_orders_list { "statuses": ["active"] }`. One active order → use it; several → ask the user which. 2. Start the setup:
{ "operation": "hosting_websites_create",
"params": { "order_id": <order_id>, "type": "headless_wordpress", "domain": "<domain>" } }`domain` must be a **customer-owned** domain. For a temporary `*.hostingersite.com` subdomain, **omit `domain`** — the setup generates one itself and returns it in the response. Don't call a separate subdomain op to make one first: there's no need in this flow. The response then carries the generated domain: if it differs from the workspace directory name, move `~/.hostinger/<old>/` to `~/.hostinger/<new>/` (if `<new>/` already exists, stop and ask instead of moving into it), update the domain in `brief.md`, and tell the user the new domain. Admin credentials are generated by the platform; never ask the user for a password. 3. Don't wait here. At the join, `cd "$HOME" && node <skill>/wait.mjs setup <domain>` (see *Waiting on Hostinger* in the top-level `SKILL.md`) returns once the setup is `completed`, usually at once by then. A `failed` setup → stop, point at hPanel.
The website already exists as an empty `headless` shell, so there is **no `hosting_websites_create`** here — you install WordPress straight into its `/cms` directory. This is the onboarding handoff path.
1. Use the shell's `username` and `order_id` from Step 1's row — no new order pick, no new website. 2. Install WordPress into `/cms`, flagged headless:
{ "operation": "wordpress_installations_install",
"params": { "username": "<username>", "domain": "<domain>", "type": "headless",
"site_title": "<the brief's Site name>",
"credentials": { "login": "<admin login>", "email": "<account email>",
"password": "<strong generated password>" } } }headless-WordPress; **`directory` is not allowed with it** (it is always `cms`). The target must already be `headless` — the headless install rewrites the root `.htaccess`, so the API rejects it with `422` on any non-headless site (which is why Step 1 confirms `website_type: headless` first).
for one and never print it. The user signs in later through a one-click login link (Step 6), so the password only has to exist, not be remembered.
generated database counts against the plan's limit. 3. The call is **asynchronous** — a success response only means the install job was **queued**. This is the *fire*: record `provision.in_progress` and return to prepare work. At the join, `cd "$HOME" && node <skill>/wait.mjs cms <domain> <username>` returns the `/cms` install row (`directory: "cms"`,
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Connect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to…
Deploy an existing project to a website on Hostinger web hosting (Shared, Cloud or Agency plans) and keep it deployed: picks the…
Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a…
Connect step for the Hostinger Headless flow — verify Node, run the bootstrap (reach the Hostinger MCP server + OAuth sign-in),…
First build step of the Hostinger Headless flow, run right after connect. Works out where a given domain's build stands — is a…
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…
小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…