ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

cdn-url-transfer

将模型配置中的外部示例 URL(fal.media、googleapis 等)转存到速推 CDN(cdn-video.51sux.com),并更新代码和校验 API 返回。当用户提到"转存 CDN"、"替换示例链接"、"转存链接"、"CDN 地址"、"示例 URL 替换"时使用此 skill。

Why use this skill?

Automate the transfer of external AI model media URLs to your custom CDN. Ensure stable resource access and standardized file management with this OpenClaw skill.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hexiaochun/cdn-url-transfer
Or

What This Skill Does

The cdn-url-transfer skill is a specialized utility designed to stabilize model resource management within the OpenClaw ecosystem. Many AI models rely on external media URLs (e.g., fal.media, googleapis) that are prone to latency, expiration, or intermittent accessibility issues. This skill automates the process of migrating these assets to our high-performance CDN (cdn-video.51sux.com). By centralizing storage, the skill ensures that model examples and input parameters remain consistently accessible. The process involves identifying external URLs within model_registry.py and executor files, downloading them securely using local curl commands to bypass proxy restrictions, and uploading them to the TOS (Tencent Object Storage) bucket using a standardized naming convention.

Installation

You can install this skill directly via the OpenClaw hub CLI:

clawhub install openclaw/skills/skills/hexiaochun/cdn-url-transfer

Use Cases

  • Production Stability: Migrating external demo content for public-facing AI models to ensure 100% uptime for documentation.
  • Asset Standardization: Converting messy, externally hosted media URLs into a structured naming format within our custom CDN architecture.
  • Deployment Readiness: Preparing model codebases for release by sanitizing references to third-party file hosters.
  • Troubleshooting Broken Examples: When user reports indicate that model output examples or input templates are failing to load due to 403 or 404 errors on external source servers.

Example Prompts

  1. "转存 CDN: 请将 omnihuman 模型 registry 中的所有外部示例链接迁移到速推 CDN,并更新对应的 Python 文件。"
  2. "帮我替换示例链接,这些 fal.media 的图片源不稳定,请按照规范转存到我们的 bucket 中。"
  3. "检测到模型输出报错,可能是因为外链失效,请执行 CDN 地址转存任务。"

Tips & Limitations

  • Base64 Constraint: While the skill supports upload_image, use it only for files smaller than 100KB. For all other media (video/audio/large images), strictly use the TOS Python SDK transmission method to prevent memory overflows or network timeouts.
  • Naming Conventions: Always adhere to the {模型简称}-{examples}/ folder structure. This is critical for automated auditing and future cleanup tasks.
  • Cleanup: If you use the catbox temporary storage method, ensure you delete the local temporary file in /tmp/ immediately after a successful TOS transfer to maintain environment cleanliness.
  • Content Type: Always explicitly define the content_type (e.g., video/mp4, image/png) when using the TOS SDK to ensure browsers render the assets correctly.

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hexiaochun-cdn-url-transfer": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#cdn#migration#asset-management#deployment#automation
Safety Score: 3/5

Flags: network-access, file-write, file-read, external-api, code-execution