Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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-zhenwuот 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:

  1. POST /api/upload/presign with file metadata only (JSON, no file bytes)
  2. PUT each file to its uploadUrl (object storage, not Vercel)
  3. POST /api/upload/finalize with 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

  1. 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"
    
  2. Python Dependencies: The skill requires the requests library.

    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.

  1. Determine the absolute path to the generated folder or file (target_path).
  2. Invent a suitable, URL-friendly name for the application (app_name). It must contain only lowercase letters, numbers, and hyphens.
  3. Call the dele_deploy skill with these parameters. Read DELE_API_KEY from the environment; do not paste the key into app files.
  4. 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-app
  • app_name: my-app-v1
  • visibility: 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
Полный SKILL.md на ClawHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить dele-deploy с