Agent skill · nousresearch

publish-site

Versioned site deploys to GitHub/Cloudflare/Netlify Pages.

What it needs

About 5k tokens when loaded.

What this skill does

Publish Site Take a website, dashboard, or web app the user built (or you built for them) and put it online on infrastructure the user owns — GitHub Pages by default, Cloudflare Pages or Netlify when they need more. The discipline: preview locally for sign-off, version every deploy with a git tag, deploy through a provider ladder, verify the live URL with a real HTTP check, and keep rollback one command away. This skill covers static sites and SPA build output (plain HTML/CSS/JS, or the dist//build/ folder from Vite/Next-export/Astro/etc.). It does not cover server-side runtimes — for throwaway serverless deploys with zero account setup, use the cloudflare-temporary-deploy optional skill instead. When to Use Load this skill when the user asks to: Put a site online — "publish this", "host this somewhere", "give me a link I can share" Deploy a dashboard, report, portfolio, docs site, or prototype you just generated Update an already-published site with new content (redeploy = new version) Roll back a bad deploy to the previous version Pick a host — they don't care where, they just want a URL Prerequisites At least ONE authenticated provider CLI (check in this order): GitHub Pages (default): gh auth status succeeds. Needs git too. Cloudflare Pages: wrangler whoami succeeds (or CLOUDFLAREAPITOKEN is set). Install: npm i -g wrangler or use npx wrangler@latest. Netlify (fallback): netlify status succeeds. Install: npm i -g netlify-cli. Plus: A directory of static output to publish (site root or a dist//build/ folder). If the project needs a build step, run it first and publish the output directory, never the source. For local preview sharing: cloudflared (optional — python3 -m http.server covers local-only preview). How to Run All commands below run via the terminal tool from the site's project directory. The pipeline is always the same five moves: 1. Build → 2. Preview for sign-off → 3. Commit + tag (version-before-deploy) → 4. Deploy via the provider ladder → 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills nousresearch/publish-site

View the source on GitHub

Browse the @skills marketplace