Cargo Hosting
Deploy and promote Vite apps and edge workers on Cargo, with deployment, env var, and domain management.
- CCM score
- 70 of 100
- skills.sh installs
- 11.8K
- GitHub stars
- 27
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers scaffolding, creating, deploying, promoting, and removing hosted apps and serverless workers via the
cargo-ai hostingCLI - Includes Vite SPA apps on
*.app.getcargo.runand edge HTTP handlers with OpenAPI docs at/openapi.jsonand/docs - Enforces that a deployment is not live until promoted, with status polling before each promote step
- Designed for teams that need a shareable URL for a dashboard, webhook endpoint, or internal UI without committed workspace code
Install
$ npx -y skills add getcargohq/cargo-skills --skill cargo-hosting -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cargo CLI — Hosting
Cargo Hosting runs two kinds of workspace-scoped resources, plus the deployments that ship them:
- App — a static front end (a Vite single-page app by default; Astro, Gatsby, Create React App, Parcel and Webpack are detected too, and Next.js, SvelteKit or Nuxt work through their own
buildscript, see App builds) served on its own subdomain (see URLs). The templates are built on@cargo-ai/app-sdk(Vite + refine + shadcn primitives, withgetCargoEnv()/useCargoApi()wired to the workspace). - Worker — a serverless HTTP handler that runs on the edge (
fetch(request, env)), built on@cargo-ai/worker-sdk(auto OpenAPI 3.1 spec at/openapi.json, Swagger UI at/docs). - Deployment — one build+upload of a local source directory to an app or worker. A deployment is not live until it's promoted.
For organizing apps/workers into folders, use
cargo-workspace-management(folder …). The--folder-uuidflags here consume those folder UUIDs.
Details
- Repository
- github.com/getcargohq/cargo-skills
- Categories
- DevOps & Cloud, Frontend & UI Code
- First seen
- Jul 14, 2026
Questions
What does the cargo-hosting skill do?
The cargo-hosting skill builds, deploys and manages Cargo Hosting apps and workers with the Cargo CLI. It covers Vite single-page apps served on cargo.app subdomains and serverless edge HTTP handlers, plus the deployments that ship and promote them.
How do I install the cargo-hosting skill?
Run npx -y skills add getcargohq/cargo-skills --skill cargo-hosting -y in your project. Once installed, the agent can scaffold, deploy, promote and manage a hosted app or worker on Cargo.
What do I need before using cargo-hosting?
The skill requires the @cargo-ai/cli npm package and a Cargo account. You sign in with cargo-ai login --email using an emailed code, with --oauth, or with an API token.
How do I get a live URL for a hosted app with cargo-hosting?
Create the app slot with a name and slug, then deploy a local source directory and promote the deployment. A deployment is not live until it is promoted, and the URL comes from the create or get response.
More from getcargohq/cargo-skills
All 12Similar to Cargo Hosting
More DevOps & Cloudopenship-skillsPluginfcakyon/claude-codex-settings1.2K starsDeploy self-hosted OpenShip apps with the CLI and openship.json.
RivtorMCP servershyamolkonwarDeploys full-stack apps with Postgres and Redis, returning live URLs from a terminal or AI agent.
eas-hostingSkillexpo/skills24.7K installsDeploy Expo web apps and Expo Router API routes to EAS Hosting, a paid Cloudflare Workers service.
createosSkillnodeops-app/skills1.7K installsDeploy any workload to CreateOS production via GitHub, Docker images, or direct file upload.
deploy-to-vercelSkillvercel-labs/agent-skills204.1K installsDeploy apps and websites to Vercel as previews by default, with production deploys only on explicit request.
deno-deploySkilldenoland/skills393 installsCatalog entry for deno-deploy: guidance for deploying Deno apps to Deno Deploy with the deno deploy CLI.