Purpose
Take a local codebase or static site and publish it to a production URL with minimal DevOps friction.
Primary outcomes:
- repository created and synced,
- deployment triggered,
- live URL verified,
- custom-domain path documented when requested.
This is an orchestration skill. It does not guarantee uptime/SLA by itself.
Required Installed Skills
Core:
github-api (inspected latest: 1.0.3)
- One deploy path:
vercel (inspected latest: 1.0.1), or
netlify (inspected latest: 1.0.0)
Optional:
domain-dns-ops (inspected latest: 1.0.0, environment-specific)
api-gateway (inspected latest: 1.0.29)
Install/update:
npx -y clawhub@latest install github-api
npx -y clawhub@latest install vercel
npx -y clawhub@latest install netlify
npx -y clawhub@latest install domain-dns-ops
npx -y clawhub@latest install api-gateway
npx -y clawhub@latest update --all
Verify:
npx -y clawhub@latest list
Important name mapping:
- If user says
/netlifly, map it to /netlify.
Required Credentials
Mandatory:
MATON_API_KEY (required for github-api, and for api-gateway routes)
Provider/CLI auth (at least one deploy path):
- Vercel path: logged in
vercel login or VERCEL_TOKEN
- Netlify path: logged in
netlify login or NETLIFY_AUTH_TOKEN
Optional (custom infra through api-gateway):
- active app-specific OAuth connection in Maton control plane (
ctrl.maton.ai)
Preflight:
echo "$MATON_API_KEY" | wc -c
echo "$VERCEL_TOKEN$NETLIFY_AUTH_TOKEN" | wc -c
Mandatory behavior:
- Never fail silently on missing keys/tokens.
- Always return
MissingAPIKeys (or missing auth) with blocked stages.
- Continue with non-blocked stages and mark output as
Partial when needed.
Inputs the LM Must Collect First
project_path
repo_name
repo_visibility (private or public)
deploy_target (vercel or netlify)
framework_hint (optional)
custom_domain (optional)
domain_provider (optional; Cloudflare/Namecheap/etc.)
infra_mode (frontend-static, fullstack-managed, vps-server)
Do not run deployment before deploy target and visibility are explicit.
Tool Responsibilities
github-api
Use for repository bootstrap and remote sync setup:
- create repository (user/org),
- configure visibility,
- store remote URL metadata for subsequent push/deploy linkage.
Operational constraints from inspected skill:
- requires
MATON_API_KEY
- uses Maton-managed OAuth connections
- missing/invalid key leads to auth errors
vercel
Use for managed frontend/fullstack deploy path:
- link project,
- trigger deploy (
vercel / vercel --prod),
- inspect deployment and domain status,
- manage domain attachments when needed.
netlify
Use as alternative managed deploy path:
- site create/link/init,
- CI/CD setup from GitHub,
- manual or prod deploy,
- environment variable and domain/dns capabilities.
domain-dns-ops
Use only when environment matches its assumptions.
Important limitation from inspected skill:
- this skill is documented as environment-specific ("for Peter", source of truth in
~/Projects/manager).
- if that source context does not exist, do not assume it is portable.
api-gateway
Use for optional infra/API-managed operations when connected apps exist.
Operational constraints from inspected skill:
- requires
MATON_API_KEY
- requires active app-specific connection per target service
400 indicates missing app connection
401 indicates missing/invalid Maton key
Capability disclosure:
- inspected list clearly includes Netlify and many SaaS apps.
- DigitalOcean/AWS are not explicitly listed as native app names in the inspected
api-gateway skill index.
- treat VPS/server provisioning via gateway as conditional, not guaranteed.
Canonical Causal Signal Chain
Code Audit
- scan project root for framework markers:
package.json, next.config.*, vite.config.*, index.html, dist/, build/
- classify project type (
Next.js, Vite, static HTML, other)
- determine default build and publish path
Git Inception
- initialize git if needed,
- create remote repository via
github-api,
- set origin, commit, and push branch.
Infrastructure Gate
- present hosting recommendation based on project type:
- Vercel/Netlify for frontend-managed deploy,
- custom infra path only if supported connections exist.
Required gate format:
InfraGateStatus: available or blocked
Reason: missing auth / missing connection / unsupported provider
Action: exact next step
If user asks about provider signup/offers:
- provide neutral official onboarding links only.
Deployment Trigger
- Vercel path: run
vercel link (if needed), then deploy (vercel --prod).
- Netlify path: create/link/init and deploy (
netlify deploy --prod).
Status Monitoring
- poll deploy status/logs until final state:
Ready/success -> proceed,
- failure -> return build error summary + remediation actions.
Domain Wiring
- if custom domain requested:
- attach domain in provider (Vercel/Netlify),
- output required DNS records,
- verify DNS propagation and HTTPS readiness.
Output
- return live URL,
- return domain instructions,
- return CI/CD update path (future pushes redeploy automatically).
Output Contract
Always return:
ProjectDetection
- detected framework
- build/publish assumptions
RepoStatus
- repository URL
- default branch
- push status
InfraGateStatus
- provider selected
- gate status
- blockers and actions
DeploymentStatus
- live URL
- deploy ID/reference
- final state (
ready or failed)
CustomDomainPlan
- required DNS records
- where to set them
- verification checklist
NextActions
- exact command/portal steps if anything remains manual
Quality Gates
Before final output, verify:
- framework detection based on actual files (not guesswork)
- remote repo exists and push path is valid
- deployment URL resolves and status is successful
- custom domain records are explicit and provider-correct
- all missing credentials/connections are disclosed
If any gate fails, return Needs Revision with concrete missing dependencies or errors.
Failure Handling
- Missing
MATON_API_KEY: return MissingAPIKeys, skip github-api/api-gateway stages.
- Missing Vercel/Netlify auth: return missing auth state and provide exact login/token setup steps.
- Git push rejected: keep deployment blocked, return upstream remote/auth error and retry commands.
- Deploy build failed: return build log summary and required fixes.
- Missing domain control: return live platform URL and park custom-domain steps as pending.
- Unsupported VPS provider path in gateway: disclose limitation and provide managed-hosting fallback.
Guardrails
- Never claim deployment success without a reachable URL.
- Never claim custom domain is active before DNS + HTTPS checks pass.
- Never hide provider limitations or auth blockers.
- Keep recommendations bounded to inspected, available integrations.
1---2name: hosting-23description: Meta-skill for zero-friction deployment of local web projects to production URLs by orchestrating github-api, vercel/netlify, domain-dns-ops, and api-gateway. Use when users want to make a local site live with SSL, CI/CD, and optional custom domain wiring.4homepage: https://clawhub.ai5user-invocable: true6disable-model-invocation: false7metadata:8 source: https://skillmd.com/skills/modbender/hosting-29 openclaw:10 emoji: 🚀11 requires:12 bins:13 - git14 - node15 - npm16 - npx17 env:18 - MATON_API_KEY19 config: []20 note: Requires local installation of github-api, vercel or netlify, and optionally domain-dns-ops/api-gateway for custom infra or DNS operations.21---2223# Purpose2425Take a local codebase or static site and publish it to a production URL with minimal DevOps friction.2627Primary outcomes:281. repository created and synced,292. deployment triggered,303. live URL verified,314. custom-domain path documented when requested.3233This is an orchestration skill. It does not guarantee uptime/SLA by itself.3435# Required Installed Skills3637Core:38- `github-api` (inspected latest: `1.0.3`)39- One deploy path:40 - `vercel` (inspected latest: `1.0.1`), or41 - `netlify` (inspected latest: `1.0.0`)4243Optional:44- `domain-dns-ops` (inspected latest: `1.0.0`, environment-specific)45- `api-gateway` (inspected latest: `1.0.29`)4647Install/update:4849```bash50npx -y clawhub@latest install github-api51npx -y clawhub@latest install vercel52npx -y clawhub@latest install netlify53npx -y clawhub@latest install domain-dns-ops54npx -y clawhub@latest install api-gateway55npx -y clawhub@latest update --all56```5758Verify:5960```bash61npx -y clawhub@latest list62```6364Important name mapping:65- If user says `/netlifly`, map it to `/netlify`.6667# Required Credentials6869Mandatory:70- `MATON_API_KEY` (required for `github-api`, and for `api-gateway` routes)7172Provider/CLI auth (at least one deploy path):73- Vercel path: logged in `vercel login` or `VERCEL_TOKEN`74- Netlify path: logged in `netlify login` or `NETLIFY_AUTH_TOKEN`7576Optional (custom infra through api-gateway):77- active app-specific OAuth connection in Maton control plane (`ctrl.maton.ai`)7879Preflight:8081```bash82echo "$MATON_API_KEY" | wc -c83echo "$VERCEL_TOKEN$NETLIFY_AUTH_TOKEN" | wc -c84```8586Mandatory behavior:87- Never fail silently on missing keys/tokens.88- Always return `MissingAPIKeys` (or missing auth) with blocked stages.89- Continue with non-blocked stages and mark output as `Partial` when needed.9091# Inputs the LM Must Collect First9293- `project_path`94- `repo_name`95- `repo_visibility` (`private` or `public`)96- `deploy_target` (`vercel` or `netlify`)97- `framework_hint` (optional)98- `custom_domain` (optional)99- `domain_provider` (optional; Cloudflare/Namecheap/etc.)100- `infra_mode` (`frontend-static`, `fullstack-managed`, `vps-server`)101102Do not run deployment before deploy target and visibility are explicit.103104# Tool Responsibilities105106## github-api107108Use for repository bootstrap and remote sync setup:109- create repository (user/org),110- configure visibility,111- store remote URL metadata for subsequent push/deploy linkage.112113Operational constraints from inspected skill:114- requires `MATON_API_KEY`115- uses Maton-managed OAuth connections116- missing/invalid key leads to auth errors117118## vercel119120Use for managed frontend/fullstack deploy path:121- link project,122- trigger deploy (`vercel` / `vercel --prod`),123- inspect deployment and domain status,124- manage domain attachments when needed.125126## netlify127128Use as alternative managed deploy path:129- site create/link/init,130- CI/CD setup from GitHub,131- manual or prod deploy,132- environment variable and domain/dns capabilities.133134## domain-dns-ops135136Use only when environment matches its assumptions.137138Important limitation from inspected skill:139- this skill is documented as environment-specific ("for Peter", source of truth in `~/Projects/manager`).140- if that source context does not exist, do not assume it is portable.141142## api-gateway143144Use for optional infra/API-managed operations when connected apps exist.145146Operational constraints from inspected skill:147- requires `MATON_API_KEY`148- requires active app-specific connection per target service149- `400` indicates missing app connection150- `401` indicates missing/invalid Maton key151152Capability disclosure:153- inspected list clearly includes Netlify and many SaaS apps.154- DigitalOcean/AWS are not explicitly listed as native app names in the inspected `api-gateway` skill index.155- treat VPS/server provisioning via gateway as conditional, not guaranteed.156157# Canonical Causal Signal Chain1581591. `Code Audit`160- scan project root for framework markers:161 - `package.json`, `next.config.*`, `vite.config.*`, `index.html`, `dist/`, `build/`162- classify project type (`Next.js`, `Vite`, static HTML, other)163- determine default build and publish path1641652. `Git Inception`166- initialize git if needed,167- create remote repository via `github-api`,168- set origin, commit, and push branch.1691703. `Infrastructure Gate`171- present hosting recommendation based on project type:172 - Vercel/Netlify for frontend-managed deploy,173 - custom infra path only if supported connections exist.174175Required gate format:176- `InfraGateStatus`: `available` or `blocked`177- `Reason`: missing auth / missing connection / unsupported provider178- `Action`: exact next step179180If user asks about provider signup/offers:181- provide neutral official onboarding links only.1821834. `Deployment Trigger`184- Vercel path: run `vercel link` (if needed), then deploy (`vercel --prod`).185- Netlify path: create/link/init and deploy (`netlify deploy --prod`).1861875. `Status Monitoring`188- poll deploy status/logs until final state:189 - `Ready`/success -> proceed,190 - failure -> return build error summary + remediation actions.1911926. `Domain Wiring`193- if custom domain requested:194 - attach domain in provider (Vercel/Netlify),195 - output required DNS records,196 - verify DNS propagation and HTTPS readiness.1971987. `Output`199- return live URL,200- return domain instructions,201- return CI/CD update path (future pushes redeploy automatically).202203# Output Contract204205Always return:206207- `ProjectDetection`208 - detected framework209 - build/publish assumptions210211- `RepoStatus`212 - repository URL213 - default branch214 - push status215216- `InfraGateStatus`217 - provider selected218 - gate status219 - blockers and actions220221- `DeploymentStatus`222 - live URL223 - deploy ID/reference224 - final state (`ready` or `failed`)225226- `CustomDomainPlan`227 - required DNS records228 - where to set them229 - verification checklist230231- `NextActions`232 - exact command/portal steps if anything remains manual233234# Quality Gates235236Before final output, verify:237- framework detection based on actual files (not guesswork)238- remote repo exists and push path is valid239- deployment URL resolves and status is successful240- custom domain records are explicit and provider-correct241- all missing credentials/connections are disclosed242243If any gate fails, return `Needs Revision` with concrete missing dependencies or errors.244245# Failure Handling246247- Missing `MATON_API_KEY`: return `MissingAPIKeys`, skip github-api/api-gateway stages.248- Missing Vercel/Netlify auth: return missing auth state and provide exact login/token setup steps.249- Git push rejected: keep deployment blocked, return upstream remote/auth error and retry commands.250- Deploy build failed: return build log summary and required fixes.251- Missing domain control: return live platform URL and park custom-domain steps as pending.252- Unsupported VPS provider path in gateway: disclose limitation and provide managed-hosting fallback.253254# Guardrails255256- Never claim deployment success without a reachable URL.257- Never claim custom domain is active before DNS + HTTPS checks pass.258- Never hide provider limitations or auth blockers.259- Keep recommendations bounded to inspected, available integrations.