微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Aliyun Cdn Manage

Aliyun Cdn Manage · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
安全 unknown 级 作者 cinience 公开目录收录
432 下载 0 安装 1k 收藏 2 浏览

简介

Aliyun Cdn Manage

原始描述

Use when managing Alibaba Cloud CDN via OpenAPI/SDK, including CDN domain onboarding and lifecycle operations, cache refresh/preload, HTTPS certificate updat...

通过你的 Agent 添加

安装目录:aliyun-cdn-manage/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/aliyun-cdn-manage/
Codex CLI~/.codex/skills/aliyun-cdn-manage/
DeepSeek Harness~/.agents/skills/aliyun-cdn-manage/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: aliyun-cdn-manage description: Use when managing Alibaba Cloud CDN via OpenAPI/SDK, including CDN domain onboarding and lifecycle operations, cache refresh/preload, HTTPS certificate updates, and log/monitoring data queries. version: 1.0.0

Category: service

Alibaba Cloud CDN

Purpose

Use Alibaba Cloud CDN OpenAPI (RPC) for common operations and integrations including:

  • accelerated domain lifecycle (create/configure/start-stop/delete)
  • cache refresh and preload (directory/file/domain)
  • HTTPS certificate configuration and updates
  • log and monitoring queries (real-time/offline)

Prerequisites

  • least-privilege RAM credentials are ready (STS temporary creds recommended).
  • domain ownership and acceleration scope policy are confirmed (mainland/global).
  • before mutating operations, validate current state using read-only APIs.

Workflow

  1. Define target resources: accelerated domains, business type, change window, and rollback criteria.
  2. Run API discovery and confirm target API names, required parameters, and version.
  3. Query current config/state with read-only APIs (Describe*) first.
  4. Execute mutating APIs (Add*/Set*/BatchSet*/Delete*) and record request context.
  5. Validate changes with monitoring/log APIs and save evidence in output/aliyun-cdn-manage/.

AccessKey Priority

  1. Environment variables:ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID
  2. Shared credentials file:~/.alibabacloud/credentials

If region/environment is unclear, confirm with user before mutating operations.

API Discovery

  • Product code: cdn
  • Default API version: 2018-05-10
  • Metadata source: https://api.aliyun.com/meta/v1/products/cdn/versions/2018-05-10/api-docs.json

Minimal Executable Quickstart

python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py

Optional arguments:

python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py \
  --product-code cdn \
  --version 2018-05-10 \
  --output-dir output/aliyun-cdn-manage

Common Operation Map

  • Domain management:AddCdnDomain、DescribeUserDomains、DescribeCdnDomainDetail、DeleteCdnDomain
  • Cache refresh/preload:RefreshObjectCaches(refresh)、PushObjectCache(preload)
  • HTTPS certificate: SetDomainServerCertificate, DescribeDomainCertificateInfo
  • Logs and monitoring:DescribeCdnDomainLogs、DescribeDomainRealTimeRequestStatData、DescribeDomainRealTimeBpsData

Output Policy

Write generated files and execution evidence to: output/aliyun-cdn-manage/

Validation

mkdir -p output/aliyun-cdn-manage
for f in skills/network/cdn/aliyun-cdn-manage/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-cdn-manage/validate.txt

Pass criteria: command exits 0 and output/aliyun-cdn-manage/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-cdn-manage/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables: ALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, optional ALICLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

References

  • Source list: references/sources.md

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill