dele-deploy
БесплатноБез исполняемых скриптовНе проверенDeploy local HTML/frontend files to Dele (dele.fun) and get a live URL. Files must go through presign and direct storage PUT, never as one multipart POST to…
от del-zhenwu1 147 установок в других каталогахОб этом скилле
Dele Deploy Skill
Overview
This skill deploys a local HTML file or frontend folder to Dele (https://www.dele.fun) and returns a live URL.
Do not POST application files to /api/upload. dele.fun runs on Vercel. A request body over about 4.5MB is rejected with 413 FUNCTION_PAYLOAD_TOO_LARGE before Dele code runs. The working path is:
POST /api/upload/presignwith file metadata only (JSON, no file bytes)PUTeach file to itsuploadUrl(object storage, not Vercel)POST /api/upload/finalizewith the same metadata
If an older ClawHub install still uploads with requests.post(..., files=...), update it:
openclaw skills update @del-zhenwu/dele-deploy
Current instructions always live at https://www.dele.fun/skill.md
Required Environment Variables
| Variable | Description |
|---|---|
DELE_API_KEY |
Required. Dele API key. Get one at https://www.dele.fun/api-keys. POSTME_API_KEY is accepted as an alias. |
DELE_API_URL |
Optional. Dele origin, default https://www.dele.fun. POSTME_API_URL is accepted as an alias. |
Prerequisites
Dele API Key: Generate an API key at https://www.dele.fun/api-keys, then set it as an environment variable:
DELE_API_KEY="your-secret-agent-key"Python Dependencies: The skill requires the
requestslibrary.pip install requests
Usage Instructions for the Agent
When a user asks you to deploy, publish, or share a web application (like an HTML file or a frontend project folder) that you have just created, you should use this skill.
- Determine the absolute path to the generated folder or file (
target_path). - Invent a suitable, URL-friendly name for the application (
app_name). It must contain only lowercase letters, numbers, and hyphens. - Call the
dele_deployskill with these parameters. ReadDELE_API_KEYfrom the environment; do not paste the key into app files. - Present the resulting URL to the user.
Visibility Control
Apps default to public (visible on the Explore page). You can optionally set visibility:
| Value | Behavior |
|---|---|
public |
Listed on Explore, anyone can view |
unlisted |
Not listed, accessible via direct URL |
password |
Requires a 4-character access code (auto-generated, returned in response) |
hidden |
Only the owner can access |
If visibility is set to password, the response will include an accessCode (4 chars, 0-9a-z). Present this code to the user so they can share it with authorized visitors.
Example
If you generated a project in /tmp/workspace/my-app, you would call the skill with:
target_path:/tmp/workspace/my-appapp_name:my-app-v1visibility:password(optional)
The skill will return a success message containing the live URL, e.g., Deployment successful! URL: https://www.dele.fun/app/my-app-v1/
If password-protected: Access code: x7k2
Tool Definition
{
"name": "dele_deploy",
"description": "Deploy a local folder or HTML file to Dele. Uses presign, direct storage PUT, and finalize. Never multipart-posts app files to /api/upload.",
"parameters": {
"type": "object",
"properties": {
"target_path": {
"type": "string",
"description": "The local path to the folder or HTML file you want to deploy."
},
"app_name": {
"type": "string",
"description": "A unique, URL-friendly name for the application (lowercase letters, numbers, and hyphens only)."
},
"api_url": {
"type": "string",
"description": "Dele origin such as https://www.dele.fun. Optional."
},
"api_key": {
"type": "string",
"description": "The API key for authentication (DELE_API_KEY). Optional if the env var is set."
},
"app_desc": {
"type": "string",
"description": "A short description of what the application does."
},
"visibility": {
"type": "string",
"enum": ["public", "unlisted", "password", "hidden"],
"description": "App visibility level. Defaults to 'public'. If set to 'password', a 4-char access code will be auto-generated and returned."
}
},
"required": [
"target_path",
"app_name"
]
}
}
Python Implementation (dele_deploy.py)
import os
import requests
import re
import mimetypes
from typing import Optional
SKIP_DIR_NAMES = {".git", "node_modules", "__pycache__", ".venv", "venv", ".next", "coverage"}
SKIP_FILE_NAMES = {".ds_store", "thumbs.db"}
def _origin(api_url: Optional[str]) -> str:
raw = (
api_url
or os.environ.get("DELE_API_URL")
or os.environ.get("POSTME_API_URL")
or "https://www.dele.fun"
).strip().rstrip("/")
if raw.endswith("/api/upload"):
raw = raw[: -len("/api/upload")]
elif raw.endswith("/api"):
raw = raw[: -len("/api")]
return raw.rstrip("/") or "https://ww
Установить dele-deploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read(*)glob(*)FAQ
Что делает скилл dele-deploy?
Deploy local HTML/frontend files to Dele (dele.fun) and get a live URL. Files must go through presign and direct storage PUT, never as one multipart POST to /api/upload.
Как установить скилл dele-deploy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dele-deploy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic