Token导航 LogoToken导航TokenDH.com
运维和基础设施执行命令github未标认证来源可访问clear审计异常

aws-support-caseAWS support case 部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

832

周安装

35

GitHub Stars

3

下载量

291
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aws-support-case(AWS support case 部署)
来源仓库:https://github.com/oldwinter/skills
仓库路径:skills/aws-support-case
安装命令:
npx skills add https://github.com/oldwinter/skills --skill aws-support-case
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/oldwinter/skills --skill aws-support-case

简介

通过 CLI 管理 AWS Support 工单,自动翻译中英文内容便于理解。

  • 适合提交技术支持请求、跟踪问题进展或批量导出历史案例记录。
  • 支持按服务分类筛选近期工单,显示双语回复便于非英语母语者阅读。
  • 需 Business 或 Enterprise 支持计划才能使用 API 功能,默认区域为 us-east-1。
  • aws-support-case 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AWS Support Case Manager

Overview

Manage AWS Support cases through CLI with intelligent features: auto-detect service/category when creating cases, translate Chinese to English for submissions, and display case communications in bilingual format (English original followed by Chinese translation).

Prerequisites

  • AWS CLI configured with default profile
  • AWS Support API access (requires Business or Enterprise Support plan for some features)
  • All commands must use --region us-east-1 (Support API only available in this region)

Core Workflows

1. List Cases

List recent 2 weeks cases:

aws support describe-cases \
  --region us-east-1 \
  --after-time "$(date -u -v-14d '+%Y-%m-%dT%H:%M:%SZ' 2>/dev/null || date -u -d '14 days ago' '+%Y-%m-%dT%H:%M:%SZ')" \
  --include-resolved-cases \
  --output json

List unresolved cases only:

aws support describe-cases \
  --region us-east-1 \
  --no-include-resolved-cases \
  --output json

Display format: Present cases in a clear table with columns: Case ID | Subject | Status | Created | Severity

2. View Case Details (Bilingual Display)

To view a case with communications:

aws support describe-communications \
  --region us-east-1 \
  --case-id "case-XXXXXXXX" \
  --output json

Bilingual Display Format: When displaying case communications, format each message as follows:

---
[Sender] | [Timestamp]
---

> Original English text line 1
> 中文翻译第一行

> Original English text line 2
> 中文翻译第二行

---

Translation guidelines:

  • Translate each sentence/paragraph, placing English original first with > prefix
  • Chinese translation immediately follows on the next line with > prefix
  • Preserve technical terms (service names, error codes, ARNs) without translation
  • Maintain formatting (bullet points, numbered lists) in both languages

3. Create New Case

Step 1: Query available services and categories

aws support describe-services --region us-east-1 --output json

Step 2: Auto-detect service and category

Analyze the user's description (Chinese or English) to identify:

  • Service code: Match keywords to AWS services (e.g., "EC2实例" → amazon-ec2, "S3存储桶" → amazon-s3)
  • Category code: Match issue type (e.g., "性能慢" → performance, "无法连接" → connectivity, "配额提升" → limits)

Step 3: Translate and create

If user provides Chinese description:

  1. Translate to professional, native English
  2. Use technical AWS terminology appropriately
  3. Keep specific identifiers (account IDs, resource ARNs, error codes) unchanged
aws support create-case \
  --region us-east-1 \
  --subject "Translated English subject" \
  --communication-body "Translated English description with full details" \
  --service-code "detected-service" \
  --category-code "detected-category" \
  --severity-code "low|normal|high|urgent|critical" \
  --language "en"

Severity selection guide:

SeverityWhen to use
lowGeneral questions, non-urgent inquiries
normalProduction system has minor issues
highProduction system significantly impaired
urgentProduction system severely impaired
criticalProduction system down (Enterprise only)

4. Reply to Case

Step 1: Translate if needed

If user provides Chinese reply, translate to professional English while preserving:

  • Technical details and identifiers
  • Specific error messages or logs
  • Resource names and ARNs

Step 2: Send reply

aws support add-communication-to-case \
  --region us-east-1 \
  --case-id "case-XXXXXXXX" \
  --communication-body "Translated English reply"

5. Handle Attachments

Upload attachment:

# First, base64 encode the file
BASE64_DATA=$(base64 -i /path/to/file)

# Add to attachment set
aws support add-attachments-to-set \
  --region us-east-1 \
  --attachments fileName="filename.ext",data="$BASE64_DATA"

This returns an attachmentSetId to use when replying:

aws support add-communication-to-case \
  --region us-east-1 \
  --case-id "case-XXXXXXXX" \
  --communication-body "Please see the attached file" \
  --attachment-set-id "ATTACHMENT_SET_ID"

Download attachment:

aws support describe-attachment \
  --region us-east-1 \
  --attachment-id "attachment-id"

6. Close/Resolve Case

aws support resolve-case \
  --region us-east-1 \
  --case-id "case-XXXXXXXX"

Service Detection Keywords

Keywords (CN/EN)Service Code
EC2, 实例, 虚拟机amazon-ec2
S3, 存储桶, 对象存储amazon-s3
RDS, 数据库, MySQL, PostgreSQLamazon-rds
Lambda, 函数, 无服务器aws-lambda
VPC, 网络, 子网, 安全组amazon-vpc
ECS, 容器, Dockeramazon-ecs
EKS, Kubernetes, K8samazon-eks
CloudFront, CDN, 分发amazon-cloudfront
Route53, DNS, 域名amazon-route53
IAM, 权限, 角色, 策略aws-iam
账单, 费用, billingaws-billing
账户, 账号, accountaccount-management

Category Detection Keywords

Keywords (CN/EN)Category Code
咨询, 指导, 如何, how togeneral-guidance
慢, 性能, 延迟, performance, latencyperformance
连接, 访问, 超时, connect, timeoutconnectivity
安全, 漏洞, securitysecurity
配置, 设置, configurationconfiguration
限额, 配额, 提升, limit, quotalimits

Resources

Refer to references/aws-support-cli-reference.md for complete CLI command reference and additional options.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.09%
按下载量换算88

windsurf

24.09%
按下载量换算70

Antigravity

18.43%
按下载量换算54

trae

12.01%
按下载量换算35

OpenCode

7.56%
按下载量换算22

Gemini CLI

3.71%
按下载量换算11

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/oldwinter/skills --skill aws-support-case;npx skills add oldwinter/skills --skill "aws-support-case" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills