About alicloud-media-live
A skill for managing ApsaraVideo Live resources through Alibaba Cloud OpenAPI, intended for operators handling live domains, ingest, and playback configuration. It emphasizes discovering API metadata and checking current state before changes, then saving operation evidence.
Key features
- 01Discover API operations through metadata
- 02Manage live domains
- 03Configure recording and transcoding templates
- 04Query online streams and traffic metrics
- 05Save results and evidence to a designated directory
Use cases
- 01Inventory available Live APIs
- 02Check state before changing a live domain
- 03Inspect online streams and domain traffic
- 04Record API parameters and operation results
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill alicloud-media-liveAfter installing, type/alicloud-media-livein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/sources.mdtemplates.mdscripts/list_openapi_meta_apis.pyDetails
From the project READMECategory: service
ApsaraVideo Live
Validation
mkdir -p output/alicloud-media-live
python -m py_compile skills/media/live/alicloud-media-live/scripts/list_openapi_meta_apis.py
echo "py_compile_ok" > output/alicloud-media-live/validate.txt
Pass criteria: command exits 0 and output/alicloud-media-live/validate.txt is generated.
Output And Evidence
- Save API inventory and operation evidence under
output/alicloud-media-live/. - Keep region, domain, app/stream, and request parameters in evidence files.
Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage Live resources. Prefer metadata-first API discovery before mutate operations.
Prerequisites
- Prepare least-privilege RAM AccessKey/STS credentials.
- Confirm target region and live domain scope before changes.
- Query current state with read-only APIs (
Describe*/List*) beforeAdd*/Set*/Delete*.
Workflow
- Confirm target live domain, app name/stream name, and desired operation.
- Discover API names and required parameters via metadata and API Explorer.
- Execute read-only validation calls.
- Apply change operations with rollback plan.
- Save results and context under
output/alicloud-media-live/.
AccessKey Priority
- Environment variables:
ALICLOUD_ACCESS_KEY_ID/ALICLOUD_ACCESS_KEY_SECRET/ALICLOUD_REGION_ID. - Shared config file:
~/.alibabacloud/credentials.
If region is ambiguous, ask before write operations.
API Discovery
- Product code:
live - Default API version:
2016-11-01 - Metadata source:
https://api.aliyun.com/meta/v1/products/live/versions/2016-11-01/api-docs.json
Minimal Executable Quickstart
python skills/media/live/alicloud-media-live/scripts/list_openapi_meta_apis.py
Optional overrides:
python skills/media/live/alicloud-media-live/scripts/list_openapi_meta_apis.py \
--product-code live \
--version 2016-11-01 \
--output-dir output/alicloud-media-live
Common Operation Mapping
- Domain management:
AddLiveDomain,DeleteLiveDomain,DescribeLiveDomains - Stream ingest/play auth:
AddLiveDomainMapping,SetLiveDomainStagingConfig - Record/transcode/template:
AddLiveRecordTemplate,AddLiveTranscodeTemplate,DescribeLiveRecordConfig - Monitor and metrics:
DescribeLiveStreamOnlineList,DescribeLiveDomainBpsData,DescribeLiveDomainTrafficData - Stream control:
ForbidLiveStream,ResumeLiveStream,AddLiveAppRecordConfig
Output Policy
Write all generated files and execution evidence under:
output/alicloud-media-live/
References
- Source list:
references/sources.md - Task templates:
references/templates.md