Media Services Skills
Skill 104 of 156
Designs, deploys, reviews, evaluates, audits, and troubleshoots video streaming workflows across AWS media services (MediaConnect, MediaLive, MediaConvert, MediaPackage v2…
6 minutes · 1,257 words · 10 sections
Install
npx skills add aws/agent-toolkit-for-aws --skill aws-media-servicesnpx skills add aws/agent-toolkit-for-aws/plugin marketplace add aws/agent-toolkit-for-awsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Use this skill when the user is doing ANY of the following with AWS media services:
If the user mentions ANY AWS media service by name (MediaConnect, MediaLive, MediaConvert, MediaPackage, MediaTailor) or related concepts (HLS, DASH, CMAF, ABR ladder, SCTE-35, epoch locking, origin shield, CDI, SRT, RTMP, transcode, live streaming, VOD pipeline, ad insertion, SSAI), load this skill.
This file is the orchestrator. It tells you which reference files to load based on the user’s task. Do not load all files at once. Load on demand per the routing table below.
STOP. Before you make ANY API call, pull ANY resource configuration, write ANY code, or produce ANY recommendation, you MUST load the required rule files into context. No exceptions. This applies to every task type: building, modifying, evaluating, troubleshooting, or answering questions.
The rule content is split across:
references/service-rules-core.md — cross-service compatibility constraints,
common agent mistakes, and security considerations. ALWAYS loaded.references/service-rules-encoding.md — shared encoder settings (QVBR, GOP,
profiles, quality tuning, deinterlacing). Loaded for any encoding task.references/service-rules-mediaconnect.mdreferences/service-rules-medialive.mdreferences/service-rules-mediaconvert.mdreferences/service-rules-mediapackage.mdreferences/service-rules-mediatailor.mdreferences/service-rules-cloudfront.mdPer-service rule files are loaded conditionally based on which services the query involves. Without the relevant rules loaded, you will produce recommendations based on general knowledge that may contradict the documented rules, flag correct configurations as problems, or miss critical constraints entirely.
Sequence (every time):
references/service-rules-core.md — confirm it is in context before
proceeding. ALWAYS required.If you find yourself about to call aws medialive describe-channel or similar
and you have NOT yet read the core rules file plus the relevant per-service
rules, stop and go back to step 1.
Determine the workflow type. Load the matching workflow file AND the per-service rules listed in the right column (the core rules file is already loaded from the mandatory first step above).
| Workflow type | Workflow file | Service rules to co-load |
|---|---|---|
| Live event (ingest → encode → package → deliver) | references/workflow-live-event.md | mediaconnect + medialive + encoding + mediapackage + cloudfront (+ mediatailor if ads) |
| Linear channel (24/7 with schedule, ad insertion) | references/workflow-linear-channel.md | medialive + encoding + mediapackage + mediatailor + cloudfront |
| VOD pipeline (file-based transcode → package → deliver) | references/workflow-vod-pipeline.md | mediaconvert + encoding + mediapackage + cloudfront |
| Live-to-VOD (live + archive/harvest → VOD transcode) | references/workflow-live-event.md + references/workflow-vod-pipeline.md | union of live event + VOD pipeline |
| Ad insertion (SSAI/CSAI, MediaTailor scaling) | references/workflow-ad-insertion.md | medialive + encoding + mediapackage + mediatailor + cloudfront |
| Contribution transport (MediaConnect, SRT, DX, encoders) | references/workflow-contribution-distribution.md | mediaconnect + medialive + encoding |
| Router-based switching (master control, dynamic routing, playout) | references/workflow-contribution-distribution.md | mediaconnect + medialive + encoding |
| Resilience (dual-AZ, dual-region, epoch locking, multi-CDN, ops readiness) | references/workflow-resilience-patterns.md | ALL (cross-cutting) |
| Cost optimization (reserved vs on-demand, channel classes, right-sizing) | references/workflow-cost-optimization.md | ALL (cross-cutting) |
| Subtitles and accessibility (captions, multi-language, auto-captioning) | references/workflow-subtitles-accessibility.md | medialive + mediaconvert + encoding |
Load the relevant troubleshooting file(s) for the problem area AND the per-service rules listed in the right column. The core rules file is already loaded from the mandatory first step above. Load only the files needed.
| Problem area | Troubleshooting file | Service rules to co-load |
|---|---|---|
| MediaConnect flow issues, source connectivity, VPC interfaces, MediaConnect Router | references/troubleshooting-mediaconnect.md | mediaconnect |
| MediaLive channel errors, alerts, encoding, pipeline failover | references/troubleshooting-medialive.md | medialive + encoding |
| MediaPackage ingest failures, manifest issues, access denied, v1→v2 migration | references/troubleshooting-mediapackage.md | mediapackage |
| MediaConvert job failures, codec errors, output issues, automation | references/troubleshooting-mediaconvert.md | mediaconvert + encoding |
| MediaTailor ad insertion, ADS issues, SSAI scaling, session management | references/troubleshooting-mediatailor.md | mediatailor + medialive + mediapackage + cloudfront |
| CloudFront origin errors, cache behavior, multi-CDN, Embedded POPs (ePOP) | references/troubleshooting-cloudfront.md | cloudfront + mediapackage |
| Cross-service signal chain (no video, latency, sync, AZ alignment, IAM, failover) | references/troubleshooting-pipeline.md | ALL |
For a quick answer about a specific service’s constraints, valid parameter values, or compatibility rules:
references/service-rules-core.md is already loaded (mandatory first step).references/service-rules-medialive.md).service-rules-core.md.This includes the following topics:
Before creating ANY resources for a new workflow, gather requirements from the user in a fixed order (mode → cost/scale → approach → source → network → encoding → ad insertion → packaging → IAM → VOD-specific). Do not proceed until all required items are answered; later questions depend on earlier answers.
Load references/workflow-discovery-checklist.md for the full ordered question
set whenever building or modifying a workflow.
Before presenting a proposed configuration to the user, cross-check against the loaded service rules:
Do NOT make API calls during this step. This is a rules-based review of the proposed plan against constraints already in context.
Agents MUST NOT skip dependency steps to save time. All prerequisites (IAM, VPC, MediaPackage channel, etc.) MUST be created before resources that reference them. Skipping steps and fixing errors reactively leads to circular troubleshooting loops. Execute the plan in dependency order.
Respect dependency order — a resource must exist before anything that references it (live chain, VOD chain, live-to-VOD addition, and the common flow patterns table).
Load references/resource-creation-order.md for the full dependency chains and
flow-pattern table when creating resources.
Start upstream first and poll each resource to its ready state before proceeding
(STARTING ≠ running); shut down in reverse (STOPPING ≠ stopped). Poll on a
tight ~5s cadence.
Load references/startup-shutdown.md for the ordered start/stop tables and the
polling pattern (including MediaConnect Router lifecycle) when operating a live
workflow.
When available, the AWS MCP Server is recommended for sandboxed execution and audit logging:
aws-mcp-server): AWS API access, Agent SOPs
for guided multi-step workflows, and documentation search via
search_documentation and read_documentation.aws-iac-mcp-server): CloudFormation template validation,
CDK documentation search, CDK code samples, and IaC best practices.Large response warning: MediaLive describe-channel and MediaPackage list-*
calls return very large JSON. Always use --query (JMESPath) to extract only the
fields you need.
# Good — extract only what you need
aws medialive describe-channel --channel-id 12345 --query "{State:State,Name:Name,Id:Id}"
aws medialive list-channels --query "Channels[].{Name:Name,Id:Id,State:State}"
aws mediapackagev2 list-origin-endpoints --channel-group-name X --channel-name Y \
--query "Items[].{Name:OriginEndpointName,Url:HlsManifests[0].Url}"Designs, deploys, reviews, evaluates, audits, and troubleshoots video streaming workflows across AWS media services (MediaConnect, MediaLive, MediaConvert, MediaPackage v2, MediaTailor, CloudFront). Includes per-service validation rules, cross-service workflow patterns for live streaming, linear channels, VOD pipelines, and live-to-VOD, service-specific troubleshooting, best practices assessment, cost optimization, encoder settings, DRM, SCTE-35 ad insertion, epoch locking, and CDN cache configuration.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 7 November 2026.SKILL.md, not by matching a directory convention. 22 distinct layouts observed: plugins/aws-agents-for-devsecops/skills/*/SKILL.md, plugins/aws-agents/skills/*/SKILL.md, plugins/aws-core/skills/*/SKILL.md, plugins/aws-startup-advisor/skills/*/SKILL.md, skills/core-skills/*/SKILL.md, skills/specialized-skills/analytics-skills/*/SKILL.md, skills/specialized-skills/aws-marketplace-skills/*/SKILL.md, skills/specialized-skills/customer-communications-skills/*/SKILL.md, skills/specialized-skills/database-skills/*/SKILL.md, skills/specialized-skills/ec2-skills/*/SKILL.md, skills/specialized-skills/end-user-computing-skills/*/SKILL.md, skills/specialized-skills/media-services-skills/*/SKILL.md, skills/specialized-skills/migration-and-modernization-skills/*/SKILL.md, skills/specialized-skills/networking-and-content-delivery-skills/*/SKILL.md, skills/specialized-skills/operations-skills/*/SKILL.md, skills/specialized-skills/quantum-computing-skills/*/SKILL.md, skills/specialized-skills/resilience-skills/*/SKILL.md, skills/specialized-skills/security-and-identity-skills/*/SKILL.md, skills/specialized-skills/serverless-skills/*/SKILL.md, skills/specialized-skills/storage-skills/*/SKILL.md, skills/specialized-skills/system-table-skills/*/SKILL.md, skills/specialized-skills/web-and-mobile-development/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Amazon Web Services, declaring 5 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./aws/agent-toolkit-for-aws.md, and each skill at its own .md URL.26 files · 218 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 104.
Documentation the agent loads on demand, rather than up front.