- Home
- Skills
- DevOps & Cloud
- Hostinger hPanel CI/CD: Releases, Rollback, Dev + Prod
More screenshots
Works with the AI Agents you already use
Hostinger hPanel CI/CD: Releases, Rollback, Dev + Prod
by Md Irfan Ali
This skill sets up a proper pipeline on the hosting you already pay for, and Claude does the work with you, one safe step at a time.
$9
Hostinger hPanel CI/CD: Releases, Rollback, Dev + Prod
Example session with this skill installed
Set up CI/CD for my Laravel project to my Hostinger hosting. The repo is acme-org/acme-shop and the domain is acme.example. I want a dev site and a production site, with rollbacks.
- Read your context and instructions
- Compiled the hostinger hpanel ci
I inspected the repo and prepared the pipeline. Here is where we are.
What I found
- Laravel project, tests present, no secrets tracked.
tests/Unitis empty, so Git does not track it and CI would fail. I added a.gitkeep.- From your server precheck: Composer scripts are disabled on the host (
proc_openoff), symlinks work, your account hosts two sites (I will only touchacme.example), andpublic_htmlhas a live site with an HTTPS rule.
Decisions (your answers)
| Question | Choice |
|---|---|
| Environments | Production + dev |
| Branches | dev then PR to main |
| Database | MySQL, separate dev database |
| HTTPS / www | Force HTTPS, redirect www to apex |
| Dev protection | noindex + password prompt |
Generated and rehearsed locally
== release 1 and 2
PASS release 1 succeeded
PASS release 2 succeeded
PASS current points at release 2
== broken release (must be rejected, live site untouched)
PASS broken release was rejected (non-zero exit)
PASS current still on release 2
== cutover
PASS old public_html backed up, not deleted
RESULT: 19 passed, 0 failed
Everything that can be tested without your server passes. I cannot prove the cutover on your hosting, the public smoke test, or real mail until you run them.
Your steps (one block at a time)
- Push the dev branch.
git push -u origin dev(a red deploy run is expected until the secrets exist). - Keys. Create the server's read-only deploy key and the Actions key, add the four GitHub secrets.
- hPanel. Two MySQL databases, the dev subdomain, the PHP version.
- Scaffold.
server-scaffold.sh prepare, then fill everyCHANGE_MEin the two.envfiles. - First deploys. Dev first, then
main. - Cutover, then verify the live site.
Reply with the output of step 2 when you reach it, and I will confirm the key works before we continue.
Connects securely to your tools. The creator never sees your data.
About this skill
Deploying to Hostinger shared hosting usually means manual zip uploads or a "Git integration" that copies files straight into public_html, with no tests, no rollback and no staging site.
This skill sets up a proper pipeline on the hosting you already pay for, and Claude does the work with you, one safe step at a time.
What you get
- Tests before every deploy. Pushes to
devandmainrun your tests first; nothing deploys if they fail. - A new release folder per deploy with an atomic switch of a
currentsymlink. Rollback means repointing one link. - Dev + production. The dev site has its own database, sends no real email, is
noindex, and can be password protected. - Database dump before every migration (last 10 kept), then migrate.
- Smoke test with automatic rollback. A release that fails the check is never switched in. A broken release is removed and the live site is untouched.
- Secrets stay on the server (
shared/.env), never in Git or in your chat. - A manual for your own project (
docs/CICD.md) with diagrams, daily flow and rollback commands.
How it works
- Precheck. Claude inspects your repo. You run one read-only command on your server (it prints no secrets and masks your username). Claude explains what it found: existing SSH keys, a live site,
.htaccessrules, other sites on the account. - Decide. Claude asks the real design questions with recommended defaults. It never guesses what a command can tell it.
- Generate and rehearse. Claude renders the workflows, deploy scripts, env templates, smoke checks and docs, then rehearses a full deploy locally on simulated server folders. It will not hand you a failing rehearsal.
- Hand off. For what Claude cannot do (GitHub settings, hPanel, your server, secrets, pushes) you get numbered steps with exact commands, the expected output, and what to paste back.
- Verify. A checklist and an honest status: tested locally / confirmed on your server / still pending.
Verified, not just claimed
The full rehearsal is run automatically on a fresh install of Laravel 8, 9, 10, 11, 12 and 13 (each with a PHP version it supports), plus a static-site test and shell/YAML lint. The server-side steps (keys, secrets, release and switch) have been run on a real Hostinger account.
What it needs
- Hostinger shared or Business hosting with hPanel and SSH enabled
- A GitHub repository you administer (to add a Deploy key and Secrets)
- Claude Code (tested). Other agents are untested; without the AskUserQuestion tool the skill asks in a numbered list
Supported
| Project | Support |
|---|---|
| Laravel 8 to 13 (Composer, MySQL) | Full templates, rehearsed in CI per version |
| Plain PHP with a dedicated public folder | By configuration |
| Static site served from a committed folder | By configuration |
| WordPress, Node.js hosting, VPS / Cloud with root | Not covered |
License
Use it for your own projects and for your clients' projects, personal or commercial. You may not resell, share or redistribute the skill itself. Future updates are included.
Honest limits
- Early release (v0.2). Hostinger plans differ, so the skill starts with a precheck instead of assuming.
- Rollback does not undo database migrations; dumps are kept for that.
- Shared hosting has no document-root control, so it uses an
.htaccessrewrite and symlinks (explained in the docs). - Some steps can only be proven on your own server. The skill tells you which ones and asks for your output.
Independent product, not affiliated with Hostinger or Anthropic.
Early release. Laravel 8 to 13 are verified end to end in automated tests; plain PHP and static sites work by configuration. Not for WordPress, Node.js hosting or VPS/Cloud with root access. Needs hPanel with SSH. Composer scripts are skipped because Hostinger disables proc_open. Rollback does not undo database migrations. Some steps can only be proven on your own server.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
- Accounts
GitHub
Packagist
- Software
Git
Python 3PHP and Composer (Laravel projects, for the local rehearsal)GitHub repository you administerClaude Code
Node.js
- Optional
- MySQL database created in hPanel (apps with a database)Mailbox in hPanel (apps that send email)Dev subdomain (for the dev/staging site)
Hostinger shared hosting with hPanel and SSH. On Windows, run it from Git Bash or WSL (the scripts are bash). You run every server command yourself; Claude never logs in to your server and never needs your passwords.
Permissions
Allowed Hosts
File Scopes
Scripts run on your own server only when you run them. rm -rf is limited to a failed, unfinished release folder; nothing else is deleted. No telemetry, no secrets requested, and every script is plain text you can read before running it.
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.