/hostinger:provision-vpsfrom hostinger
Provisions or reinstalls a Hostinger KVM VPS: selects plan, location, and OS, confirms pricing with the user, adds SSH key, applies firewall, and polls until the server is reachable.
Ships in hostinger. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
From a need ("a small server for n8n in Europe") to a running server the agent can SSH into. Putting an app on it afterwards is deploy-to-vps; a server that is up but misbehaving is troubleshoot-vps.
inputSchema that search returns before the first call of each operation. If a name below is rejected as unknown, search for what the step does (e.g. "list vps templates").multi-execute; values pass between steps as $steps.<i>.<path>. A batch stops at its first failure. The Hostinger Connector runs vps and billing as separate servers, so a batch chains operations from one of them only.Too Many Attempts is the API rate limit: wait about a minute, then retry that call once, and send no other calls meanwhile. [VPS:9999] Request failed (HTTP 500) is usually temporary: retry a read once later. After a purchase, setup or reinstall fails with 500, do not resend it: the request may have gone through, so check vps_virtual-machines_list and vps_actions_list first, and tell the user what you found.[VPS:2047] or [VPS:2048], poll vps_virtual-machines_get until actions_lock is unlocked, then send the call again only if state allows it. 2048 names the wrong state and is also the answer while another action runs. On [VPS:2049] or [VPS:2053], tell the user and retry once later.vps_firewall_activate needs the same "yes" (step 6), and so do vps_firewall_deactivate and vps_firewall_delete: deactivating opens every port on that server, deleting on every server using the group.vps_actions_get with its id, waiting longer between checks, until state is success or error. An action that ends in error did not finish its change: tell the user what failed. Setup returns the server itself, not an action, firewall sync answers Request accepted (check it with vps_firewall_get), and vps_ssh-keys_add-virtual-machine returns the server's key list. After a setup or reinstall, poll vps_virtual-machines_get until state is running and actions_lock is unlocked. Setup and reinstall usually finish within minutes; control-panel templates take longer. An action still sent after 12 hours is stuck — the user contacts Hostinger support.password allows the symbols -().&@?'#,/;+, and panel_password (control-panel templates only) allows #%+:?@. Setup has one password and uses it for both root and the panel, so there use only the symbols both allow: #+?@. Generate strong ones, give them to the user once, and never store them in the project.vps_virtual-machines_list. A server in state initial is bought and waiting for setup (hPanel shows "Waiting for setup"): go to step 4 with it. A server the user wants wiped: step 5. Only when neither applies, buy.
billing_catalog_list with category: "VPS". Each item has name (KVM 1, KVM 2, KVM 4, KVM 8; the list also holds Game Panel 1–8, which are for game servers — offer them only when the user asks for one), metadata (cpus, memory and disk_space in MB, bandwidth) and prices: one entry per term with its own id — the item_id to buy — and first_period_price and price (the renewal price), both in cents. Prices differ by country and change with promotions; promotional prices apply to the first period only.vps_data-centers_list for id, city, location (country code) and continent. The location is fixed after setup: moving later is a reinstall in the new location that erases all data, backups and snapshots and changes the IP, and Hostinger does not promise it. Pick the location closest to the users; when the city they name is not listed, say which one you chose and why.vps_templates_list. Linux only; Windows is not offered. A plain OS when the agent will install things itself; an app template when the user named that app. The "with Docker" templates (Ubuntu 24.04 and 26.04) come with Docker installed. Whether a server gets the Docker Manager (deploy-to-vps 5a) does not follow the template name; check with vps_docker_list after setup. Control-panel templates (cPanel, Plesk, DirectAdmin and others) need a separately bought licence, which is non-refundable.vps_post-install-scripts_list to reuse one, or vps_post-install-scripts_create with name and content (max 48 KB; run once as root after install, output in /post_install.log). Keep secrets out of it; it is stored on the account.Before buying, show the user: plan, term, first-period price and renewal price, location (fixed after setup), template, and that new purchases have a 30-day money-back guarantee (not for crypto payments; refunding cancels the server and its data). Wait for their "yes".
billing_payment-methods_list first. An empty list means the account has no saved payment method and the purchase cannot go through the API: stop, and send the user to hPanel → VPS → Get VPS to buy there, then continue at step 1 with the new server. Otherwise vps_virtual-machines_purchase with item_id (the price id from step 2), optional payment_method_id and the setup fields from step 4. The default payment method is used when none is given.
A 202 Accepted means the payment is still being processed and the server was not set up: read the response's status, tell the user, and poll vps_virtual-machines_list for a new server in state initial before step 4. If setup fails for any reason, the user finishes it in hPanel; say which server and why. A just-bought server can take a moment to appear in the list.
initial statevps_virtual-machines_setup with template_id, data_center_id, optional post_install_script_id, hostname (a dotted name such as app.example.com, not a single word), password, ssh_keys: ["<contents of the .pub file>"] with the user's SSH public key (it replaces the deprecated public_key), enable_backups: true (free weekly backups on every KVM plan; the first backup appears after a full 7-day cycle; daily backups are a paid add-on in hPanel), and install_monarx: true only when the user wants the malware scanner — its free agent detects but does not remove malware, and the VPS accepts no other actions while it installs. Then poll until running and unlocked.
Only on the user's explicit request. Show first: the server, its current template.name, and what a reinstall does —
vps_virtual-machines_set-hostname;Offer vps_backups_list so the user knows the last backup, and copy anything they want to keep off the server first (backups cannot be downloaded). After their "yes": vps_virtual-machines_recreate with template_id, optional password, panel_password and post_install_script_id. Pass ssh_keys: ["<contents of the .pub file>"] so the user's key is on the new server from the start, then poll. Log in with the key first; if the new root password is refused, retry for a few minutes before treating it as wrong.
vps_virtual-machines_get: ipv4[0].address, hostname, state: running.vps_ssh-keys_list-virtual-machine; add the user's key with vps_ssh-keys_add-virtual-machine if it is missing.ssh -o StrictHostKeyChecking=accept-new root@IP 'tail -n 20 /post_install.log 2>/dev/null; uname -a'.vps_firewall_create (or the group a reinstall detached), then accept rules for SSH, HTTP and HTTPS with vps_firewall_create-rule. Create every rule before activating, the SSH rule first: a group with no rules is accepted and closes every port, SSH included, within seconds. Show the user the rules, say that activating closes every other port, and wait for their "yes". Then vps_firewall_activate for this server and, once it succeeds, vps_firewall_sync-to-all-assigned-v-ms (a new group reads is_synced: false until synced). secure-vps goes further.vps_ptr_create with ipAddressId from ipv4[0].id and domain.Hand over: root@IP, hostname, template, location, plan and renewal date, what the post-install script did, and the next step (deploy-to-vps). Write .hostinger/vps.json in the project when there is one: { "virtual_machine_id", "ipv4", "hostname" }.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hostinger/claude-plugin --plugin hostinger14 skills in this plugin
/audit-hostingAudit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website, SSL problems, broken or vulnerable WordPress installs, failed Node.js builds and vulnerable npm packages, databases and Agency Plan orders near their limits, and hosting plans about to lapse. Read-only; produces a prioritised to-do list and names the skill that fixes each item. Triggers: what do I have on Hostinger, audit my hosting, check all my websites, what needs attention, health check my sites, are any of my sites broken, which of my sites are insecure./audit-vpsAudit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU, memory, disk and monthly traffic use, firewall missing or not synced, SSH keys, Monarx malware counts, backup age, Docker Manager projects that are not healthy, old OpenVZ servers, and VPS plans about to lapse. Read-only; produces a prioritised to-do list and names the skill or hPanel page that fixes each item. Triggers: what VPS do I have, audit my servers, check all my VPS, which servers need attention, health check my VPS, are my servers secure, is my VPS backed up, when does my VPS expire./connect-domainConnect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to the site, point DNS at Hostinger without breaking existing email or verification records, install SSL, turn on the HTTPS redirect, and verify it resolves. Handles domains registered at Hostinger or elsewhere, moving a site off its free *.hostingersite.com subdomain, subdomains and aliases. Triggers: connect my domain, point my domain to my site, use my own domain, move off the free subdomain, add a subdomain, park a domain, add a domain alias, my domain is not working.Other plugins' skills for the same job