aliyun-cosyvoice-voice…
Use when creating cloned voices with Alibaba Cloud Model Studio CosyVoice customization models, especially cosyvoice-v3.5-plus or…
Use when managing Alibaba Cloud ESA — deploy HTML/static sites via Pages, manage Edge Routines (ER) for serverless edge functions, use Edge KV for distributed key-value storage, configure Origin Rules for CDN proxy and origin routing, handle site management, DNS records, cache
$ npx -y skills add cinience/alicloud-skills --skill aliyun-esa-manage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aliyun-esa-manageContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when managing Alibaba Cloud ESA — deploy HTML/static sites via Pages, manage Edge Routines (ER) for serverless edge functions, use Edge KV for distributed key-value storage, configure Origin Rules for CDN proxy and origin routing, handle site management, DNS records, cache
name: aliyun-esa-manage description: Use when managing Alibaba Cloud ESA — deploy HTML/static sites via Pages, manage Edge Routines (ER) for serverless edge functions, use Edge KV for distributed key-value storage, configure Origin Rules for CDN proxy and origin routing, handle site management, DNS records, cache rules, and query traffic analytics via OpenAPI/SDK. Use when working with ESA, edge deployment, edge functions, Pages, ER, KV storage, DNS, cache, origin rules, CDN proxy, site configuration, traffic analytics, bandwidth trends, or top-N rankings.
Category: service
Use Alibaba Cloud OpenAPI (RPC) with official Python SDK to manage all ESA capabilities.
Alibaba Cloud ESA provides five core capabilities:
Use Python SDK uniformly to call ESA OpenAPI.
from alibabacloud_esa20240910.client import Client as Esa20240910Client
from alibabacloud_esa20240910 import models as esa_models
from alibabacloud_tea_openapi import models as open_api_models
def create_client(region_id: str = "cn-hangzhou") -> Esa20240910Client:
config = open_api_models.Config(
region_id=region_id,
endpoint="esa.cn-hangzhou.aliyuncs.com",
)
return Esa20240910Client(config)Pages is a quick deployment flow based on Edge Routine, deploying HTML or static directories to the edge.
CreateRoutine → GetRoutineStagingCodeUploadInfo → Upload code to OSS → CommitRoutineStagingCode → PublishRoutineCodeVersion(staging) → PublishRoutineCodeVersion(production) → GetRoutine(get access URL)
CreateRoutine → CreateRoutineWithAssetsCodeVersion → Package zip and upload to OSS → Poll GetRoutineCodeVersionInfo(wait for available) → CreateRoutineCodeDeployment(staging) → CreateRoutineCodeDeployment(production) → GetRoutine(get access URL)
The zip package structure depends on `EDGE_ROUTINE_TYPE` (automatically determined by `checkEdgeRoutineType` based on whether entry file and assets directory exist):
The `assets/` path is relative to `assets.directory` in configuration. Configuration priority: CLI args > `esa.jsonc` / `esa.toml`.
For CNAME-access sites, binding a custom domain to a Pages/ER routine requires:
1. CreateRecord(A/AAAA, proxied=true) → Register domain in ESA CDN 2. CreateRoutineRoute(rule expression) → Route traffic to Edge Routine 3. External DNS: CNAME → record_cname → Point domain to ESA CDN 4. ApplyCertificate(lets_encrypt) → Provision SSL certificate
**Critical**: Do NOT use `CreateRoutineRelatedRecord` for CNAME-access sites — it doesn't create a visible DNS record, causing CDN to fall back to origin. Use A/AAAA record + Route instead.
**SDK note**: `CreateRoutineRoute` parameter is `rule` (ESA rule expression like `(http.host eq "domain")`), NOT `route`.
Detailed reference: `references/pages.md` (section: Bind Custom Domain)
Manage the complete lifecycle of serverless edge functions via Python SDK.
CreateRoutine → GetRoutineStagingCodeUploadInfo → Upload code to OSS → CommitRoutineStagingCode → PublishRoutineCodeVersion → (CreateRoutineRoute) → GetRoutine
export default {
async fetch(request) {
return new Response("Hello", {
headers: { "content-type": "text/html;charset=UTF-8" },
});
},
};Detailed reference: `references/er.md`
Distributed edge key-value storage, readable and writable in Edge Routine, also manageable via OpenAPI/SDK.
Use when creating cloned voices with Alibaba Cloud Model Studio CosyVoice customization models, especially cosyvoice-v3.5-plus or…
Use when designing custom voices with Alibaba Cloud Model Studio CosyVoice customization models, especially cosyvoice-v3.5-plus…
Use when low-latency realtime speech recognition is needed with Alibaba Cloud Model Studio Qwen ASR Realtime models, including…
Use when transcribing non-realtime speech with Alibaba Cloud Model Studio Qwen ASR models (`qwen3-asr-flash`, `qwen-audio-asr`,…
Use when live speech translation is needed with Alibaba Cloud Model Studio Qwen LiveTranslate models, including bilingual…
Use when real-time speech synthesis is needed with Alibaba Cloud Model Studio Qwen TTS Realtime models. Use when low-latency…