For AI Agents: Let users say, "This is my project. I want to deploy it on xCloud."
FAQ
xcloud-docker-deploy-skill is a Claude Code plugin with 1 hand-picked skill for deployment work, indexed on Flowy. Install it with the command on its page. It includes xCloud-Docker-Deploy-Skill. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
$ npx -y skills add Asif2BD/xCloud-Docker-Deploy-Skill --agent claude-code
Repo: Asif2BD/xCloud-Docker-Deploy-Skill
For AI Agents: Let users say, "This is my project. I want to deploy it on xCloud." Then confirm the intended scope, inspect the project only with consent, choose native or Docker deployment, generate the right files, and guide the xCloud deploy in plain language.
Use normal human language:
This is my project. I want to deploy it on xCloud.
Please inspect it, decide whether it should use xCloud native deployment or Docker,
generate the proper Dockerfile, Docker image workflow, docker-compose.yml,
.env.example, and give me the exact xCloud deployment steps.
For an existing compose file:
Please make this docker-compose.yml work on xCloud.
Fix anything xCloud does not support, especially Docker build steps,
proxy services, and host ports 80/443.
The skill should respond with simple, copy-paste-ready output:
.env.example when neededBefore the agent inspects files, edits a repository, requests tokens, triggers webhooks, or routes to live xCloud API skills, it must ask for explicit confirmation of that exact step. Start with read-only analysis when possible.
Safe agent opening:
I can do read-only analysis first, or I can generate deployment files after your confirmation.
I will not push, deploy, collect tokens, or call live xCloud APIs unless you explicitly approve that exact step.
80:80 โ 3080:80 rule visible in the first screen of the skill body.Paste a project structure or docker-compose.yml and ask the AI to deploy it on xCloud. The skill:
| Scenario | Signal | Fix |
|---|---|---|
| Stack detection | Any project files | Auto-routes to native or Docker path |
| Build-from-source | build: context: . in compose | GitHub Actions โ GHCR; replaces build: with image: |
| Proxy conflict | Caddy/Traefik/nginx-proxy service | Removes it, adds embedded nginx-router |
| Multi-port | Multiple ports: on different services | Routes through nginx-router, single exposed port |
| Reserved ports | 80:80 or 443:443 host bindings | Rewrites/removes them; uses 3080:80 when container listens on 80 |
| External config | ./nginx.conf:/etc/nginx/... | Embeds config inline via configs: block |
| No Docker at all | WordPress/Laravel/Node.js project | Native xCloud deploy guide |
# From ClawHub
clawhub install xcloud-docker-deploy
# Or manually
git clone https://github.com/Asif2BD/xCloud-Docker-Deploy-Skill.git
cp -r xCloud-Docker-Deploy-Skill ~/.claude/skills/xcloud-docker-deploy
git clone https://github.com/Asif2BD/xCloud-Docker-Deploy-Skill.git
cp -r xCloud-Docker-Deploy-Skill ~/.codex/skills/xcloud-docker-deploy
Drop the skill folder into your agent's skills/ workspace directory.
Upload SKILL.md to your Project files. The AI will use it as context automatically.
Add SKILL.md contents to your system prompt or project rules file.
Once installed, just describe what you want:
"Make this docker-compose.yml work on xCloud"
"Deploy my Laravel app to xCloud"
"My Next.js app needs to run on xCloud, help me set it up"
"Convert this Caddy + React + API stack for xCloud"
The agent reads DETECT.md first, identifies your stack, then follows the appropriate guide.
xCloud already owns host ports 80 and 443 for its Nginx and SSL layer. Final Docker compose output must never bind those host ports.
Use this routing model:
User -> xCloud Nginx 80/443 -> Docker host port >=1024 -> container port
Examples:
| App listens on | Final compose mapping | xCloud exposed/primary port |
|---|---|---|
container 80 | 3080:80 | 3080 |
container 3000 | 3000:3000 | 3000 |
container 8000 | 8000:8000 | 8000 |
If a source compose has 80:80, treat it as invalid for xCloud and rewrite it to 3080:80.
xCloud now publishes API-backed agent skills for live operations:
xcloud:servers โ servers, PHP, databases, cron, firewall/fail2ban, sudo users, WordPress provisioningxcloud:sites โ site lifecycle, status, backups, domains, cache, SSH, site cron, gitxcloud:wordpress โ WordPress updates, debug, magic login, vulnerabilities, PageSpeedxcloud:ssl โ SSL certificatesxcloud:account โ current user, API tokens, Cloudflare integrations, blueprints, healthUse this skill for project detection, Dockerfile/compose generation, GHCR CI, and Custom Docker readiness. Use the official xCloud API skills for live account/server/site actions.
If the user wants live xCloud account/server/site actions, the agent should ask for or help configure XCLOUD_API_TOKEN.
Keep it simple:
Before recommending git push, deployment webhooks, production migrations, cache clears, DNS changes, SSL changes, or live xCloud API mutations:
| Stack | Deploy Path | Files Provided |
|---|---|---|
| WordPress | xCloud Native | Step-by-step UI guide |
| Laravel | xCloud Native | Deploy hooks, queue worker config |
| PHP (generic) | xCloud Native | Web root config, Composer hooks |
| Node.js / Express | xCloud Native | PORT env setup |
| Next.js | Docker | dockerfiles/nextjs.Dockerfile + compose-templates/nextjs-postgres.yml |
| NestJS | Docker | Generated Dockerfile + compose |
| Python / FastAPI | Docker | dockerfiles/python-fastapi.Dockerfile + compose with Celery |
| Go | Docker | Generated Dockerfile + compose |
| Existing Docker | Adapt | Scenario A/B/C transformation |
xcloud-docker-deploy/
โโโ SKILL.md โ Main skill instructions (load this)
โโโ DETECT.md โ Stack fingerprinting rules
โโโ references/
โ โโโ xcloud-constraints.md โ Platform rules (must-read)
โ โโโ xcloud-deploy-paths.md โ Native vs Docker decision matrix
โ โโโ xcloud-native-wordpress.md โ WordPress deploy guide
โ โโโ xcloud-native-laravel.md โ Laravel deploy guide
โ โโโ xcloud-native-nodejs.md โ Node.js deploy guide
โ โโโ xcloud-native-php.md โ PHP deploy guide
โ โโโ scenario-build-source.md โ Scenario A deep-dive
โ โโโ scenario-proxy-conflict.md โ Scenario B deep-dive
โ โโโ scenario-multi-service-build.md โ Scenario C deep-dive
โโโ dockerfiles/
โ โโโ laravel.Dockerfile โ PHP 8.3-fpm-alpine, multi-stage
โ โโโ nextjs.Dockerfile โ 3-stage standalone build
โ โโโ node-app.Dockerfile โ Node 20-alpine, non-root
โ โโโ php-generic.Dockerfile โ PHP 8.3-apache + mod_rewrite
โ โโโ python-fastapi.Dockerfile โ Python 3.12-slim + uvicorn
โโโ compose-templates/
โ โโโ laravel-mysql.yml โ PHP-FPM + nginx + MySQL + Redis
โ โโโ nextjs-postgres.yml โ Next.js + PostgreSQL
โ โโโ nodejs-api-postgres.yml โ Node API + PostgreSQL
โ โโโ python-fastapi-postgres.yml โ FastAPI + PostgreSQL + Celery
โโโ assets/
โ โโโ github-actions-build.yml โ GitHub Actions GHCR build workflow
โโโ examples/
โโโ rybbit-analytics.md โ Caddy + multi-port (Scenario B)
โโโ custom-app-dockerfile.md โ Build-from-source (Scenario A)
โโโ fullstack-monorepo.md โ Multi-service (Scenario C)
โโโ laravel-app.md โ Laravel native deploy
โโโ nextjs-app.md โ Next.js Docker deploy
xCloud is a git-push Docker deployment platform. Push your repo, xCloud runs docker-compose pull && docker-compose up -d. It handles SSL, reverse proxy, and domain routing automatically โ your stack must not duplicate those.
References:
M Asif Rahman โ @Asif2BD
Apache 2.0 โ free to use, modify, and distribute.
.clawhubignore .clawhubsafe .github/ FUNDING.yml skillsmp.yml assets/ github-actions-build.yml CHANGELOG.md compose-templates/ laravel-mysql.yml nextjs-postgres.yml nodejs-api-postgres.yml python-fastapi-postgres.yml CONTRIBUTING.md DETECT.md dockerfiles/ laravel.Dockerfile nextjs.Dockerfile node-app.Dockerfile php-generic.Dockerfile python-fastapi.Dockerfile examples/ custom-app-dockerfile.md fullstack-monorepo.md laravel-app.md nextjs-app.md rybbit-analytics.md LICENSE README.md references/ scenario-build-source.md scenario-multi-service-build.md scenario-proxy-conflict.md xcloud-constraints.md xcloud-deploy-paths.md xcloud-native-laravel.md xcloud-native-nodejs.md xcloud-native-php.md xcloud-native-wordpress.md SECURITY.md skill.json SKILL.md
ยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic