skills/static-site/SKILL.md
Deploy static websites to Buddy Packages. Use when user asks to "deploy static site", "host static files", "publish website", "upload build artifacts", or mentions deploying pre-built HTML/CSS/JS files, SPA builds, or static exports.
npx skillsauth add sztwiorok/buddy-plugin static-siteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Host static websites with versioning via Buddy Packages. Each version gets a unique URL.
If any bdy command returns Token not provided or Not logged in, ask the user to run bdy login in a separate terminal (interactive browser auth — AI cannot do it).
STOP: Read before publishing any package.
Before creating a NEW package, you MUST use AskUserQuestion tool.
Question: "Do you want to protect this static site with authentication?"
Options:
-a user:pass flag--buddy flagNote: Auth is set on package creation, not per-version. For existing packages, skip this question.
The main HTML file MUST be named index.html for the URL to serve the page directly. Without it, visitors will see a directory listing instead of the website.
mypage.html), rename it to index.html before publishingindex.html at the rootindex.html# Example: rename single HTML file
mv mypage.html index.html
Most frameworks need a build step:
npm run build # Output: ./dist or ./build
Without auth (public):
bdy package create -i my-site
With auth:
bdy package create -i my-site --buddy
bdy package create -i my-site -a admin:secret123
bdy package publish [email protected] ./dist
Overwrite existing version:
bdy package publish [email protected] ./dist --force
bdy package version get my-site 1.0.0
Output includes:
Url - the live site URLApp url - Buddy dashboard linkSize - package sizeCreated - timestampURL format:
https://<version>-<package>-<workspace>.files-pkg-2.registry.sh
Example: version 1.0.0 of package my-site in workspace myplayground:
https://1-0-0-my-site-myplayground.files-pkg-2.registry.sh
Each version has its own URL. Old versions remain accessible.
# List all versions
bdy package version list my-site
# Delete old version
bdy package version delete my-site 0.9.0
tools
Deploy apps to Buddy sandboxes, publish artifacts, create tunnels, manage domains, configure distributions, and run CI/CD pipelines using `bdy` CLI. Triggers on: deploy, sandbox, tunnel, expose, artifact, static site, publish, domain, distribution, pipeline, CI/CD.
development
This skill should be used when the user asks to "expose localhost", "create tunnel", "share local server", "test webhooks locally", "tunnel to localhost", "make local dev accessible", "public URL for localhost", or mentions exposing local services, testing webhooks, or sharing development servers.
testing
Deploy and test applications in Buddy Sandbox cloud environments. Use when user asks about "deploy app", "create sandbox", "test in cloud", "isolated environment", "remote environment", "run app in sandbox", or mentions deploying, testing, or running applications in cloud sandboxes.
data-ai
Delegate AI tasks to Claude agents running in isolated Buddy Sandbox environments. Use when user asks to "delegate task", "run task in sandbox", "parallel agent execution", "isolated AI task", "YOLO mode", "sub-agent", "compare solutions", "multi-agent", or mentions running AI tasks in sandboxes.