audit-hosting
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Provision the PocketBase backend for the Hostinger Headless flow: create a headless website (type headless_pocketbase) or adopt the one onboarding made, then create its PocketBase backend with hosting_pocketbase_create-backend (database, visitor sign-in, file storage and
Claude Code
$ npx -y skills add hostinger/api-mcp-server --skill pocketbase --agent claude-code
Codex
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a codex -y
Cursor
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a cursor -y
Gemini CLI
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a gemini-cli -y
GitHub Copilot
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a github-copilot -y
OpenCode
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a opencode -y
Windsurf
$ npx skills add hostinger/api-mcp-server --skill pocketbase -a windsurf -y
name: headless-step-provision-pocketbase description: "Provision the PocketBase backend for the Hostinger Headless flow: create a headless website (type headless_pocketbase) or adopt the one onboarding made, then create its PocketBase backend with hosting_pocketbase_create-backend (database, visitor sign-in, file storage and realtime at /api, the owner's dashboard at /_/), save the one-time superuser password outside the deployable source, verify it answers, and record it in site.json. For any app, SPA or site whose visitors create its data."
Provision a **headless website with a PocketBase backend** for `<domain>` and prove it is ready. This is the backend for **any app, SPA or site whose visitors create the data it keeps** — accounts, bookings, comments, votes, scores, order requests, uploads, live messages. There is no CMS and no store engine here. PocketBase runs on the site's own domain: the REST and realtime API at `https://<domain>/api`, the owner's dashboard at `https://<domain>/_/`. Every other path is the frontend that the frontend step builds and the deploy step ships as a Node.js application. **Out:** `site.json` and `~/.hostinger/<domain>/.pocketbase/credentials.json`.
> **Not WordPress, not Ecommerce.** Never provision `headless_wordpress` / `headless_ecommerce` for a > PocketBase build, and never install WordPress at `/cms`: Hostinger refuses a PocketBase backend on a > headless WordPress site. The app owns every route except `/api` and `/_`.
All website operations below go through the Hostinger connector (`execute`). Read each operation's `inputSchema` (from `search`) before its first call.
> **Fire vs join (background provision).** For a **fresh site**, the fire half is Step 2's > `hosting_websites_create`; the join half is `wait.mjs setup`, then Step 3 (the backend), Step 4 and > Step 5. For an **adopted shell** (onboarding's `headless_empty` or `headless_pocketbase` site), the > fire half is Step 3's `hosting_pocketbase_create-backend` call plus saving its response — one call > that returns at once — and the join half is `wait.mjs pocketbase`, Step 4 and Step 5. Record > `provision.in_progress` after the fire and return to the prepare work (see the router `../SKILL.md`); > join when an instance-barrier step needs the backend, or immediately if the agent can't interleave. > A site whose backend Step 1 already finds means provision is done: record `provision.completed` and > adopt it.
`search` with the query `pocketbase`. You need `hosting_pocketbase_create-backend`, `hosting_pocketbase_backend` and `hosting_pocketbase_set-superuser`; read each one's `inputSchema` before its first call. If any is missing, the connector is outdated: update it (connect's Phase 1 install), log an `issue` event and stop. **Never improvise a database in its place.**
Run these in order: the kind checks (points 1–3) decide whether this site may be used at all, before its setup status (point 4) says where to pick it up.
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`. No exact row → nothing exists on this domain → **create fresh** (Step 2). 2. **A row of another kind** (`website_type` not `headless`: a WordPress or store site) → stop and tell the user — this domain already hosts something else. **Never create a second site.** 3. **A `headless` row.** `wordpress_installations_list { username, domain, ownership: "all" }` with a `directory: "cms"` row → stop and tell the user: this is a headless WordPress site, and Hostinger refuses PocketBase there. Otherwise `hosting_pocketbase_backend { username, domain }`:
(rotate the superuser when this build made the backend and the file is gone, otherwise ask).
`headless_pocketbase` site whose backend wasn't created yet): **adopt the site, don't call `hosting_websites_create`**, and create the backend on it in Step 3 with this row's `username`. **Only provision PocketBase for a `pocketbase` brief.** A `wordpress` or `ecommerce` brief belongs in those subfolders — never give it a PocketBase backend. 4. **Where to pick it up.** `hosting_websites_list-setups { "domain": "<domain>" }` — exact-match the row:
before Step 3.
1. Pick the plan: `hosting_orders_list { "statuses": ["active"] }`. One active order → use it; several → ask the user which. 2. Start the setup as a **headless website marked for PocketBase** (it installs nothing yet; Step 3 creates the backend):
{ "operation": "hosting_websites_create",
"params": { "order_id": <order_id>, "type": "headless_pocketbase", "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. 3. Don't wait here. At the join, `cd "$H
Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…
Audit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU,…
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…
Deploy an existing project to a Hostinger VPS (KVM plans): sets up SSH key access, applies a Hostinger firewall group, runs…
Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from 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,自动提取内容和图片。…