Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Deploy static pages to nexu.space. Use when user says deploy, publish, ship, or go live with a static site/page. Uploads files from workspace to <project-slug>.nexu.space via Wrangler + Cloudflare Pages. Supports first deploy and redeploy.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 80% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -45% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -9% | 0% |
Deploy static files to <project-slug>.nexu.space via Wrangler + Cloudflare Pages.
The deploy script stages a temporary copy of the site and injects a _headers file (if needed) with cache revalidation rules for HTML/CSS/JS to reduce stale asset issues after redeploys. Source files are not modified.
Any static files: HTML, CSS, JS, images, fonts, etc. Common use cases:
dist/ or build/ folder)index.htmlindex.html)family-budget)bash"$SKILL_DIR/scripts/deploy.sh" <project-slug> <directory> <agent-id> <chat-id> [thread-id] [message-ref] [account-id] [channel] [chat-type] [sender-ref]
agent-id is required. The script uses it to resolve the corresponding botId from nexu-context.json when recording deployment artifacts.
chat-id is the raw inbound chat identifier from the message context.
U0AHLMC6C8GC0AJKG60H6Dchat-type tells the script whether to send that id to Nexu as user:<chat-id> or channel:<chat-id>. The script does that translation; do not concatenate those prefixes yourself.
thread-id is optional — pass it when deploying from within a thread context.
url field> Deployed! Your site is live at https://family-budget.nexu.space > > Note: First-time deploys take ~3 minutes to propagate on Cloudflare. If you see a "not found" page, wait a few minutes and refresh.
SKILL_API_TOKEN, CLOUDFLARE_API_TOKEN, or CLOUDFLARE_ACCOUNT_IDdeploy.sh — do not call Cloudflare API directlyDEPLOY_BACKEND or any other env overrides — the script handles everything<agent-id> as arg #3 to deploy.sh<chat-id> as arg #4<agent-id> as <chat-id>; they are different values<thread-id> as arg #5<channel> and <chat-type> when available so Nexu can resolve the correct session deterministically_headers filemessage field from the JSON error to the userSKILL_API_TOKEN from env — do not attempt to read or inject them manuallySuccess:
json{ "status": "success", "url": "https://<slug>.nexu.space", "deployment_url": "https://<id>.<slug>.pages.dev", "files_total": 10, "files_uploaded": 2, "files_cached": 8 }
Error:
json{ "status": "error", "message": "Description of what went wrong" }
Other measured skills in the registry, with their headline benchmark lift.