static-website-hosting-staticapp
Deploy static websites to Static.app hosting. Use when the user wants to deploy, upload, or host a static site on Static.app. Triggers on phrases like "deploy to static.app", "upload to static", "host on static.app", "static.app deploy", or when working with the Static.app hosting service.
Install
mkdir -p .claude/skills/static-website-hosting-staticapp && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7875" && unzip -o skill.zip -d .claude/skills/static-website-hosting-staticapp && rm skill.zipInstalls to .claude/skills/static-website-hosting-staticapp
About this skill
Static.app Deployment Skill
Deploy static websites and applications to Static.app hosting directly from OpenClaw.
Workspace Structure
All Static.app operations in your workspace use a dedicated folder structure:
workspace/
└── staticapp/ # Main folder for all Static.app operations
├── new-site/ # New sites created locally
└── {pid}/ # Downloaded existing sites (by PID)
- New sites: Created in
staticapp/subfolders before deployment - Downloaded sites: Extracted to
staticapp/{pid}/for editing
How Static.app Handles Files
Static.app automatically creates clean URLs from your filenames:
| File | URL |
|---|---|
index.html | / (homepage) |
about.html | /about |
portfolio.html | /portfolio |
contact.html | /contact |
No subdirectories needed! Just create .html files in the root folder.
Project Structure
Simple Multi-Page Site
my-site/
├── index.html # Homepage → /
├── about.html # About page → /about
├── portfolio.html # Portfolio → /portfolio
├── contact.html # Contact → /contact
├── style.css # Stylesheet
├── js/ # JavaScript files
│ ├── main.js
│ └── utils.js
└── images/ # Images folder
├── logo.png
└── photo.jpg
JavaScript App (React, Vue, etc.)
For JS apps, build first, then deploy the dist (or build) folder:
# Build your app
npm run build
# Deploy the dist folder
node scripts/deploy.js ./dist
Prerequisites
- Get API Key: Go to https://static.app/account/api and create an API key (starts with
sk_) - Set Environment Variable: Store the API key in
STATIC_APP_API_KEYenv var
Usage
Deploy Multi-Page Site
# Create your pages
echo '<h1>Home</h1>' > index.html
echo '<h1>About</h1>' > about.html
echo '<h1>Portfolio</h1>' > portfolio.html
# Deploy
node scripts/deploy.js
Deploy Specific Directory
node scripts/deploy.js ./my-site
Update Existing Site
node scripts/deploy.js . --pid olhdscieyr
List All Sites
node scripts/list.js
List Site Files
node scripts/files.js YOUR_PID
Options:
--raw— Output raw JSON-k <key>— Specify API key
Delete Site
node scripts/delete.js YOUR_PID
Options:
-f, --force— Skip confirmation prompt-k <key>— Specify API key
Download Site
Download an existing site to your workspace for editing:
node scripts/download.js YOUR_PID
This will:
- Fetch the download URL from Static.app API
- Download the site archive
- Extract it to
staticapp/{pid}/
Options:
-p, --pid— Site PID to download-o, --output— Custom output directory (default:./staticapp/{pid})-k <key>— Specify API key--raw— Output raw JSON response
Example:
# Download site to default location
node scripts/download.js abc123
# Download to custom folder
node scripts/download.js abc123 -o ./my-site
Script Options
node scripts/deploy.js [SOURCE_DIR] [OPTIONS]
Arguments:
SOURCE_DIR Directory to deploy (default: current directory)
Options:
-k, --api-key API key (or set STATIC_APP_API_KEY env var)
-p, --pid Project PID to update existing site
-e, --exclude Comma-separated exclude patterns
--keep-zip Keep zip archive after deployment
Default Exclusions
The following are automatically excluded from deployment:
node_modules.git,.github*.mdpackage*.json.env.openclaw
Important Notes
✅ What Works
- Static HTML sites — Any number of
.htmlpages - CSS & JavaScript — Frontend frameworks, vanilla JS
- Images & Assets — Place in
images/folder or root - JavaScript files — Place in
js/folder or root - Built JS Apps — Deploy
dist/orbuild/folder afternpm run build
❌ What Doesn't Work
- Node.js Server Apps — No server-side rendering, no Express.js, no API routes
- PHP, Python, Ruby — Static.app only serves static files
- Databases — Use client-side storage or external APIs
JavaScript Apps Workflow
# 1. Build your React/Vue/Angular app
npm run build
# 2. Deploy the build output
node scripts/deploy.js ./dist --pid YOUR_PID
API Reference
Deploy Site
- Endpoint:
POST https://api.static.app/v1/sites/zip - Auth: Bearer token (API key)
- Body: Multipart form with
archive(zip file) and optionalpid
List Sites
- Endpoint:
GET https://api.static.app/v1/sites - Auth: Bearer token (API key)
- Headers:
Accept: application/json
List Site Files
- Endpoint:
GET https://api.static.app/v1/sites/files/{pid} - Auth: Bearer token (API key)
- Headers:
Accept: application/json
Delete Site
- Endpoint:
DELETE https://api.static.app/v1/sites/{pid} - Auth: Bearer token (API key)
- Headers:
Accept: application/json
Download Site
- Endpoint:
GET https://api.static.app/v1/sites/download/{pid} - Auth: Bearer token (API key)
- Headers:
Accept: application/json - Response: Returns download URL for the site archive
Dependencies
archiver— Zip archive creationform-data— Multipart form encodingnode-fetch— HTTP requestsadm-zip— Zip extraction
Install with: cd scripts && npm install
Response
On success, the script outputs:
✅ Deployment successful!
🌐 Site URL: https://xyz.static.app
📋 PID: abc123
STATIC_APP_URL=https://xyz.static.app
STATIC_APP_PID=abc123
Workflow
- Check for
STATIC_APP_API_KEYenv var or--api-key - Create zip archive from source directory (with exclusions)
- Upload to Static.app API
- Parse response and output URLs
- Clean up temporary zip file
Error Handling
- Missing API key → Clear error with instructions
- Network issues → HTTP error details
- Invalid PID → API error message
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversEffortlessly deploy static sites with EdgeOne Pages—an easy, scalable alternative to Amazon website hosting for fast, re
Deploy, monitor, and manage cloud based DBMS and cloud database management tasks on Tencent CloudBase with AI-powered to
Deploy, monitor, and manage full-stack apps on Tencent CloudBase—tools for cloud environments, databases, functions, hos
Automate GitHub Pages documentation with top static site generators like MkDocs. Generate, structure, and publish your d
Pipedream — Access hosted MCP servers or deploy your own for 2,500+ APIs (Slack, GitHub, Notion, Google Drive) with buil
Integrate FireCrawl for advanced web scraping to extract clean, structured data from complex websites—fast, scalable, an
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.