Agent skill

Static Deploy

by nexu-io in nexu-io/nexu

Deploy static pages to nexu.space. An agent skill from nexu-io/nexu.

MITAuto-check passedFrontend & Design

Install Static Deploy

skills CLI
$ npx skills add nexu-io/nexu --skill static-deploy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nexu-io/nexu static-deploy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nexu-io/nexu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nexubot/static-deploy .claude/skills/static-deploy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
static-deploy
GitHub stars
3.3k
Token cost
~989 tokens
SKILL.md length
464 words
Files
3 (incl. scripts)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Deploy static pages to nexu.space. An agent skill from nexu-io/nexu.

  • Works in 3 steps: Identify the directory containing files… → Derive a project-slug from context… → Run deploy with the inbound structured…
  • User says deploy
  • SKILL.md covers What it deploys, Usage, Example reply and Rules, plus 1 more section
  • Runs Shell scripts from its folder; needs SKILL_API_TOKEN and CLOUDFLARE_API_TOKEN

What it does

Static Deploy is an agent skill from nexu-io/nexu. 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.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/deploy.sh` and `scripts/session-search.sh`).

It sits in Frontend & Design, covering Static sites and blogs, Deployment and Messaging and chat bots. It works with Cloudflare Pages, Cloudflare Workers, WeChat and Feishu (Lark). The repository describes itself as: The simplest desktop client for OpenClaw 🦞 — bridge your Agent to WeChat, Feishu, Slack & Discord in one click. Works with Claude Code, Codex & any LLM. BYOK, Oauth… The licence is MIT.

When your agent uses it

  • User says deploy
  • Go live with a static site/page

Example prompts

  • “/static-deploy”

Requirements

  • A Bash shell
  • A credential in SKILL_API_TOKEN
  • A credential in CLOUDFLARE_API_TOKEN

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Identify the directory containing files to deploy (must have an index.html)
  2. Derive a project-slug from context (e.g., "family budget" → family-budget)
  3. Run deploy with the inbound structured context

What it can do on your machine

Read from SKILL.md and the folder at commit dadfb1c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • family-budget.nexu.space

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SKILL_API_TOKEN
    • CLOUDFLARE_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Static Deploy loads about 989 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 464 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~989

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from nexu-io/nexu at commit dadfb1c, republished under its MIT licence (© nexu-io). 464 words, ~989 tokens.

Download SKILL.mdSave it as .claude/skills/static-deploy/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
static-deploy
description
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.

Static Deploy

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.

What it deploys

Any static files: HTML, CSS, JS, images, fonts, etc. Common use cases:

  • Single-page apps (React, Vue, etc. — deploy the dist/ or build/ folder)
  • Landing pages, portfolios, documentation sites
  • Quick prototypes or demos
  • Any folder with an index.html

Usage

  1. Identify the directory containing files to deploy (must have an index.html)
  2. Derive a project-slug from context (e.g., "family budget" → family-budget)
    • Lowercase alphanumeric + hyphens only, max 63 characters
    • Reuse the same slug for redeployments
    • Ask user to confirm if ambiguous
  3. Run deploy with the inbound structured context:
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.

  • DM example: U0AHLMC6C8G
  • Channel example: C0AJKG60H6D

chat-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. 4. Parse the JSON output and report to user:

  • Brief summary of what was deployed
  • Live URL from the url field
  • Important: Tell the user that Cloudflare Pages propagation takes ~3 minutes. The URL may not work immediately after the first deploy. For redeployments, it's usually faster.

Example reply

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.

Show full SKILL.md (176 more words)Show less

Rules

  • Never read, echo, or log SKILL_API_TOKEN, CLOUDFLARE_API_TOKEN, or CLOUDFLARE_ACCOUNT_ID
  • Never pass credentials as command arguments
  • Always use the bundled deploy.sh — do not call Cloudflare API directly
  • Do not set DEPLOY_BACKEND or any other env overrides — the script handles everything
  • Always pass the caller <agent-id> as arg #3 to deploy.sh
  • Always pass raw inbound <chat-id> as arg #4
  • Never pass <agent-id> as <chat-id>; they are different values
  • If deploying from a thread, pass <thread-id> as arg #5
  • Always pass <channel> and <chat-type> when available so Nexu can resolve the correct session deterministically
  • Do not try to look up or persist a canonical session key in this skill; Nexu resolves it server-side
  • Do not hand-edit source files just to add cache-busting query params; the deploy script handles cache revalidation via a staged _headers file
  • If the script fails, show the message field from the JSON error to the user
  • Cloudflare credentials are fetched at runtime via the scoped secrets API using SKILL_API_TOKEN from env — do not attempt to read or inject them manually

Output Format

Success:

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"
}

© nexu-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/nexubot/static-deploy of nexu-io/nexu.

  • SKILL.md
  • scripts/deploy.sh
  • scripts/session-search.sh

Open the folder on GitHubat commit dadfb1c

Compare with similar skills

Static Deploy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Static Deploy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Static Deploy this skillnexu-io/nexu3.3k—~989Automated safety check: PassMIT
Cloudflare Pagessickn33/agentic-awesome-skills47k2 repos~2.4kAutomated safety check: PassMIT
Use Avibeavibe-bot/avibe618—~2.5kAutomated safety check: PassMIT
Cloudflare Workers Frameworkssecondsky/claude-skills227—~1.4kAutomated safety check: PassMIT
Cloudflare PagesaAAaqwq/AGI-Super-Team105—~1.6kAutomated safety check: PassMIT
Pinmeglitternetwork/pinme3.7k—~3.8kAutomated safety check: NotesMIT

Similar skills

  • Cloudflare Pages

    sickn33/agentic-awesome-skills

    Deploy static sites and full-stack apps on Cloudflare Pages with previews, functions, and custom domains.

    47k GitHub starsUsed in 2 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • Use Avibe

    avibe-bot/avibe

    Safely inspect and modify local Avibe configuration, routing, runtime settings, watches, scheduled tasks, Avibe Cloud remote access, and operational state.

    618 GitHub stars~2.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Cloudflare Workers Frameworks

    secondsky/claude-skills

    Framework integration for Cloudflare Workers. An agent skill from secondsky/claude-skills.

    227 GitHub stars~1.4k tokensUpdated 9 days ago
    Frontend & DesignAuto-check passed
  • Cloudflare Pages

    aAAaqwq/AGI-Super-Team

    Deploy static sites to Cloudflare Pages with custom domains and CI/CD.

    105 GitHub stars~1.6k tokensUpdated 10 days ago
    DevOps & CloudAuto-check passed
  • Pinme

    glitternetwork/pinme

    A skill your agent uses when the user mentions "pinme", or needs to upload files, store to IPFS, create/publish/deploy websites or full-stack services (including frontend pages, backend APIs…

    3.7k GitHub stars~3.8k tokensUpdated 25 days ago
    Frontend & DesignAuto-check: notes
  • Wechat Article Camofox

    dracohu2025-cloud/draco-skills-collection

    使用本机部署的 camofox-browser 稳定抓取微信公众号文章链接内容,优先读取浏览器 accessibility snapshot,并对公众号页噪音做专用清洗,输出 Markdown 或 JSON。

    227 GitHub stars~1.1k tokensUpdated 20 days ago
    Productivity & AutomationAuto-check passed

More from nexu-io/nexu

All 10 skills in this repo
  • Libtv Video

    nexu-io/nexu

    Seedance 2.0 video & image generation via LibTV Gateway - AI text-to-video, image-to-video, video continuation, style transfer, and text-to-image using Seedance 2.0 model.

    3.3k GitHub stars~3.5k tokensUpdated 5 mo ago
    Auto-check passed
  • Nano Banana

    nexu-io/nexu

    Generate or edit images via Nano Banana image models. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~757 tokensUpdated 5 mo ago
    Auto-check passed
  • All-in-one image generation with Gemini models. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~870 tokensUpdated 5 mo ago
    Auto-check passed
  • 一句话生成大师级海报、书籍封面、专辑封面和各类设计作品。无需懂PS、配色或艺术史,AI自动选择最佳风格(基于33+位传奇设计师)。支持多平台多比例:公众号封面(21:9)、小红书配图(3:4)、文章配图(16:9)、书籍封面(9:16)、专辑封面(1:1)、电影海报(9:16)。包含AI提示词优化、风格对比、图生图转换功能。触发词:"Mondo风格"、"书籍封面设计"、"专辑封面"、"海报设计"…

    3.3k GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed
  • Nexu E2E Test

    nexu-io/nexu

    A skill your agent uses when verifying OpenClaw gateway fixes end-to-end, testing skill loading after restart, or running integration tests against the local Nexu+OpenClaw stack.

    3.3k GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Process PR Reviews

    nexu-io/nexu

    A skill your agent uses when the user asks to process, triage, fetch, view, count, list, or resolve review feedback in a GitHub PR.

    3.3k GitHub stars~2.5k tokensUpdated 5 mo ago
    Auto-check passed

Questions about Static Deploy

What does Static Deploy do?

Deploy static pages to nexu.space. An agent skill from nexu-io/nexu. Static Deploy is an agent skill from nexu-io/nexu.space.

When should I use Static Deploy?

Static Deploy fits situations like: user says deploy; go live with a static site/page.

How do I install Static Deploy in Claude Code?

Run `npx skills add nexu-io/nexu --skill static-deploy -a claude-code`. Or copy the skill folder (skills/nexubot/static-deploy in nexu-io/nexu) into .claude/skills/static-deploy in your project. Claude Code loads it when a task matches its description.

How do I install Static Deploy in Codex?

Run `npx skills add nexu-io/nexu --skill static-deploy -a codex`. Or copy the skill folder (skills/nexubot/static-deploy in nexu-io/nexu) into .agents/skills/static-deploy in your project. Codex loads it when a task matches its description.

Can I use Static Deploy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nexu-io/nexu --skill static-deploy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/static-deploy, .gemini/skills/static-deploy, .github/skills/static-deploy and .opencode/skills/static-deploy in your project.

What does Static Deploy need to run?

Going by SKILL.md and its folder, Static Deploy needs a shell for the scripts in its folder and credentials named SKILL_API_TOKEN and CLOUDFLARE_API_TOKEN. Our summary lists: A Bash shell; A credential in SKILL_API_TOKEN; A credential in CLOUDFLARE_API_TOKEN.

Does Static Deploy access the network?

SKILL.md names 1 domain. As links in the text: family-budget.nexu.space. This is read from the text; nothing was executed.

Is Static Deploy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Static Deploy use?

Static Deploy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Static Deploy use?

About 989 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Static Deploy?

Skills that share tags, products or a category with Static Deploy: Cloudflare Pages (sickn33/agentic-awesome-skills, 47k stars), Use Avibe (avibe-bot/avibe, 618 stars), Cloudflare Workers Frameworks (secondsky/claude-skills, 227 stars) and Cloudflare Pages (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Static Deploy?

nexu-io (a GitHub organization) maintains it in nexu-io/nexu, which has 3,281 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on April 26, 2026.

Source: nexu-io/nexu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.