Cloudflare by popmechanic
Self-contained deploy automation — invoke directly, do not decompose. Deploys a Vibes app to Cloudflare Workers via the Deploy API. Use when deploying, publishing, going live, pushing to production, or hosting on the edge.
- Type
- Skill
- Repository
- popmechanic/VibesOS
- GitHub stars
- 134
- License
- MIT
- Repo last updated
- Jul 27, 2026
- Source file
- skills/cloudflare/SKILL.md
What Cloudflare by popmechanic is
Cloudflare by popmechanic is a skill published in the popmechanic/VibesOS repository on GitHub, which has about 134 stars. The repository describes itself as: “A GUI for Claude Code that makes it easy to vibe code simple, un-hackable apps”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Cloudflare a portable way to give Claude the same method everywhere.
How to install Cloudflare by popmechanic
Claude Code
- Download the cloudflare folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from skills/cloudflare/SKILL.md, shared under the repository's MIT license. Read the full file on GitHub.
> Plan mode: If you are planning work, this entire skill is ONE plan step: "Invoke /vibes:cloudflare". Do not decompose the steps below into separate plan tasks.
╔═══════════════════════════════════════════════╗
║ ☁️ CLOUDFLARE WORKERS DEPLOY ║
║ Deploy API · Pocket ID · Edge Functions ║
╚═══════════════════════════════════════════════╝Deploy to Cloudflare
Deploy your Vibes app to Cloudflare Workers via the Deploy API.
Prerequisites
- Assembled HTML file (from /vibes:vibes or /vibes:factory)
- Vibes account (browser login on first deploy)
No Cloudflare account or wrangler CLI needed — the Deploy API handles infrastructure.
Quick Deploy
VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
bun "$VIBES_ROOT/scripts/deploy-cloudflare.js" --name myapp --file index.htmlOn first run, a browser window opens for Pocket ID authentication. Tokens are cached for subsequent deploys.
Static Assets: Place images, fonts, or other static files in an assets/ directory next to the app file. The deploy script auto-discovers and includes them (binary files are base64-encoded). Reference in code with absolute paths like /assets/logo.png.
Deploy with AI enabled
VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
bun "$VIBES_ROOT/scripts/deploy-cloudflare.js" --name myapp --file index.html --ai-key "sk-or-v1-your-key"The --ai-key flag configures the OpenRouter API key for the useAI() hook. Without it, /api/ai/chat returns {"error": "AI not configured"}.
Endpoints
Important: Custom Domain Required for Subdomains
Workers.dev domains only support one subdomain level for SSL. For multi-tenant apps with subdomains (tenant.myapp.workers.dev), you MUST use a custom domain.
Won't work: tenant.myapp.username.workers.dev (SSL error) Will work: tenant.myapp.com (with custom domain)
On workers.dev, use the ?subdomain= query parameter for testing:
- myapp.username.workers.dev → landing page
- myapp.username.workers.dev?subdomain=tenant → tenant app
- myapp.username.workers.dev?subdomain=admin → admin dashboard
Custom Domain Setup
- Add domain to Cloudflare (get nameservers from Cloudflare DNS dashboard)
- Point registrar nameservers to Cloudflare's assigned nameservers
- Delete conflicting DNS records for the apex domain (A, AAAA, CNAME)
- Add Custom Domain in Workers & Pages → your worker → Settings → Domains & Routes → Add → Custom Domain (apex: yourdomain.com)
- Add wildcard CNAME in DNS: Name: *, Target: . .workers.dev (Proxied: ON)
- Add Route in Workers & Pages → your worker → Settings → Domains & Routes → Add → Route: .yourdomain.com/
After setup:
- yourdomain.com → landing page
- tenant.yourdomain.com → tenant app
- admin.yourdomain.com → admin dashboard
Troubleshooting
What's Next?
After successful deployment, present these options:
AskUserQuestion: question: "Your app is deployed! What would you like to do next?" header: "Next steps" options:
- label: "Set up custom domain" description: "Configure DNS for subdomain routing (required for multi-tenant)"
- label: "Enable AI features" description: "Add OpenRouter API key for the useAI() hook"
- label: "Add auth & SaaS features" description: "Transform into SaaS with /vibes:factory, then redeploy"
- label: "Open in browser" description: "Visit the deployed URL to verify everything works"
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Cloudflare by popmechanic?
Cloudflare by popmechanic is a skill for Claude Code and Claude Cowork from the popmechanic/VibesOS repository on GitHub. Self-contained deploy automation — invoke directly, do not decompose. Deploys a Vibes app to Cloudflare Workers via the Deploy API. Use when deploying, publishing, going live, pushing to production, or hosting on the edge.
How do I install Cloudflare by popmechanic in Claude Code?
Download the cloudflare folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Cloudflare by popmechanic in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Cloudflare by popmechanic safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Julian Julian project tools — deploy, manage, and interact with Julian instances Plugin · popmechanic/VibesOS
- Vibes Vibes is for people who use Claude Code, but don't know how to code. Plugin · popmechanic/VibesOS
- 00 Andruia Consultant Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en… Skill · sickn33/antigravity-awesome-skills
- Claude Code Terminal Title Gives each Claud-Code terminal window a dynamic title that describes the work being done so you don't lose track of what window is doing… Skill · bluzername/claude-code-terminal-title
- Agents Best Practices Use this skill when designing, generating an MVP blueprint for, auditing, refactoring, or explaining an agentic harness for any domain.… Skill · DenisSergeevitch/agents-best-practices
- Agent Prompts Warmup Audit and sync agent instruction files across all coding agent formats. FRE (first-run) checks scaffolding completeness; ongoing use keeps files in sync after edits. Skill · iamtouchskyer/memex
- Tapestry Skills Unified content extraction and action planning workflow - extract from any source and create Ship-Learn-Next plans Skill ·
- Accessing Github Repos GitHub repository access in containerized environments using REST API and credential detection. Use when git clone fails, or when accessing private repos/writing files via API. Skill · oaustegard/claude-skills