bex-static-sites

bex-static-sites is a skill for Claude Code, Codex from bex-co/bex. It costs 123 tokens per session (1,806 once invoked), scanned A, original, Apache-2.0.

Guidance for publishing static websites on bex's global content delivery network (CDN). Static sites are files such as HTML, CSS, and JavaScript that are served without a continuously running application server.

In plain words
What is it for?
Use it to deploy React, Vue, Hugo, Gatsby, or similar static sites, set build and publish paths, configure single-page-app fallback routes, add redirects or headers, and create pull-request previews.
Why use it?
It helps choose the right hosting type and prevents common build, routing, redirect, header, and stale-content problems. It also distinguishes static frontends from applications that need server-side rendering.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to deploy React, Vue, Hugo, Gatsby, or similar static sites, set build and publish paths, configure single-page-app fallback routes, add redirects or headers, and create pull-request previews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/bex/bex-static-sites
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bex-co/bex --skill bex-static-sites
Clone the repo
git clone --depth 1 https://github.com/bex-co/bex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bex-static-sites

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/bex/bex-static-sites/github.svg)](https://agentmods.dev/skills/bex-co/bex/bex-static-sites)
Your own site
<a href="https://agentmods.dev/skills/bex-co/bex/bex-static-sites"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-static-sites/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bex-static-sites

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex/bex-static-sites"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-static-sites.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,806 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.01806
Opus 5.5 $0.00049 $0.00722
Sonnet 5.5 $0.00025 $0.00361
Haiku 4.5 $0.00012 $0.00181

Measured yesterday against content hash 6035932036a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bex-static-sites scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Retrieve the linked Markdown document directly with an available URL-fetching tool or HTTP client, such as `curl`. Do not substitute web-search summaries for the document.
lego/cli/internal/skills/pack/skills/bex-static-sites/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bex Static Sites

Deploys static frontends (React, Vue, Hugo, Gatsby, Docusaurus, Jekyll, etc.) to bex's global CDN with automatic TLS, Brotli compression, HTTP/2, and DDoS protection. Free tier available.

When to Use

  • Deploying a static site or SPA (no server-side rendering)
  • Choosing between a Static Site and a Web Service for a frontend
  • Configuring SPA fallback routing, redirects/rewrites, or custom headers
  • Setting up PR preview environments for a static site
  • Troubleshooting build failures or stale content on a CDN-hosted site

For SSR frameworks (Next.js, Nuxt, SvelteKit) that need a running server, use bex-web-services instead. For Blueprint authoring, see bex-blueprints.

When choosing between a static site and a web service, read references/service-types.md.

Static Site vs Web Service

Need Use Why
Pure HTML/CSS/JS, SPA, docs, blog Static Site Free, global CDN, instant cache invalidation
SSR (Next.js next start, Nuxt server) Web Service Needs a running Node/Python/etc. process
Static export from SSR framework Static Site If the framework supports full static export (next export, nuxt generate)
API backend Web Service Static sites cannot run server code

Key constraint: Static sites are not on the private network. They cannot communicate with other bex services over internal hostnames.

Build and Publish

Setting Purpose
buildCommand Installs dependencies and builds assets (e.g. npm ci && npm run build)
staticPublishPath Directory of built output to serve (e.g. build, dist, public)

bex auto-detects and installs dependencies. Set SKIP_INSTALL_DEPS=true to handle installation yourself in the build command.

Common frameworks

Framework Build command Publish path
Create React App npm ci && npm run build build
Vite (React/Vue/Svelte) npm ci && npm run build dist
Next.js (static export) npm ci && next build out
Nuxt (static) npm ci && nuxt generate .output/public
Hugo hugo --minify public
Gatsby npm ci && gatsby build public
Docusaurus npm ci && npm run build build
Jekyll bundle exec jekyll build _site
Astro npm ci && astro build dist

Read the full file on GitHub · 178 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 178 lines · 123 tokens per session scan A 6035932036a5

Subscribe to this mod's changes

bex-static-sites is a skill published in the GitHub repository bex-co/bex (577 stars, last pushed today), licensed Apache-2.0. It adds 123 tokens to every session and 1,806 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other skills, from other repositories

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a Kubernetes cluster, set up Kubeshark, configure Kubeshark helm values, generate a Kubeshark config file, customize Kubeshark deployment, troubleshoot Kubeshark installation, upgrade…

kubeshark/kubeshark · 257 tokens

argocd-expert

Expert-level ArgoCD GitOps deployment, application management, sync strategies, and production operations. Use when the user mentions GitOps, Kubernetes, continuous deployment, declarative, or automation, or when the task involves ArgoCD Architecture, Application CRD, AppProject, or ApplicationSet.

personamanagmentlayer/pcl · 65 tokens

sync-system-bus

Deploy the system-bus-worker to the joelclaw Kubernetes cluster from local machine. Use when syncing changes in packages/system-bus to k8s, especially because the GitHub Actions deploy job targets a non-existent self-hosted runner and cannot complete deploys automatically.

joelhooks/joelclaw · 60 tokens

argocd-deploy

GitOps continuous deployment for Kubernetes with ArgoCD.

bidewio/better-openclaw · 16 tokens

argocd

Argo CD GitOps continuous delivery reference for Kubernetes. Covers installation, application management, Helm/Kustomize sources, App-of-Apps pattern, ApplicationSet generators, sync waves, progressive delivery, RBAC, SSO, and secrets.

bytesagain/ai-skills · 52 tokens