Support Cases 标志

Support Cases

组织
aws
support-cases

ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting. This skill retrieves and analyzes AWS Support cases (open and resolved) to find historical incidents with similar symptoms, error patterns, or affected services. Activate this skill when investigating an issue and you observe service degradation, elevated error rates, latency spikes, connection failures, throttling, capacity issues, deployment-related failures, alarms, or any operational event or issue. This skill searches past support cases by service, time window, severity, and error keywords to surface prior root causes, proven remediations, and recurring patterns that inform the current investigation.

概览

发布者aws
代码仓库tools-for-devops-agent
技能名称support-cases
星标数
120
复刻数
97
附带文件
8
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aws 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Support Cases AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aws/tools-for-devops-agent/tree/main/skills/support-cases
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws/tools-for-devops-agent.git /tmp/tools-for-devops-agent
mkdir -p .claude/skills
cp -r /tmp/tools-for-devops-agent/skills/support-cases .claude/skills/support-cases
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Support Cases,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Support Cases。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Support Cases 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Support Case Review

Use this skill when investigating an incident and you need to review AWS Support cases — either the current case associated with the incident or historical cases that may contain relevant context, similar symptoms, or proven remediation steps.

When to Use This Skill

  • An active incident shares symptoms with previously resolved issues.
  • You need to check if a similar support case was filed in the past 24 months.
  • You want to correlate the current incident with known AWS service events.
  • You need to retrieve communications and resolution details from a prior case.
  • You want to identify recurring patterns across multiple support cases.

Prerequisites

  • The AWS account must have a Business Support+, Enterprise Support, or Unified Operations plan (required for the AWS Support API).
  • The agent must have permissions to call support:DescribeCases and support:DescribeCommunications in the target account.
  • Support case data is available for 24 months after creation. Cases older than 24 months cannot be retrieved via the API.

Step 1: Identify the Current Incident Context

Before searching support cases, gather key details from the current incident:

  1. Affected AWS services (e.g., EC2, RDS, Lambda, ELB).
  2. Error messages or error codes observed in logs or alarms.
  3. Timeframe of the incident (start time, duration).
  4. Affected resources (instance IDs, ARNs, endpoint names).
  5. Symptoms (latency spikes, 5xx errors, connection timeouts, throttling).

Use these details as search criteria when filtering support cases.


Step 2: Search for Related Support Cases

Use the AWS Support API to retrieve cases that may be relevant.

Retrieve all recent cases (open and resolved)

aws support describe-cases \
  --include-resolved-cases \
  --include-communications \
  --after-time "<ISO-8601-start>" \
  --before-time "<ISO-8601-end>" \
  --language "en"

Filter by specific case IDs (if known)

aws support describe-cases \
  --case-id-list "case-123456789010-muen-2024" \
  --include-communications

Key filtering strategies

StrategyHow to Apply
By time windowUse --after-time and --before-time to scope cases to the relevant period (e.g., past 30 days, or around a previous incident date), because recent cases are more likely to reflect current infrastructure state.
By serviceReview the serviceCode field in returned cases to match the affected service (e.g., amazon-elastic-compute-cloud, amazon-rds), because the same service often exhibits recurring failure patterns.
By severityCheck the severityCode field — focus on urgent and critical cases for major incidents, because higher-severity cases tend to have more detailed root cause analysis from AWS Support.
By statusUse --include-resolved-cases to include closed cases, because resolved cases contain the root cause and remediation steps that are most valuable for correlating with the current incident.
By subject keywordsScan the subject field of returned cases for keywords matching the current incident symptoms, because similar symptoms often share underlying causes.

Step 3: Review Case Communications

The describe-cases response with includeCommunications: true returns the most recent communications for each case in the recentCommunications field (up to 5 messages). Since root cause analysis and resolution steps are typically in the final messages of a resolved case, this is usually sufficient.

If the recentCommunications field includes a nextToken, the case has additional older messages. Only paginate using describe-communications if the recent messages do not contain a clear root cause or resolution — for example, if the last messages are follow-up questions rather than a final answer.

aws support describe-communications \
  --case-id "case-123456789010-muen-2024" \
  --max-results 10 \
  --next-token "<nextToken-from-recentCommunications>"

When reviewing communications, look for:

  1. Root cause statements — AWS Support engineers often summarize the root cause in their final response.
  2. Remediation steps — Specific actions taken to resolve the issue (e.g., "increased max_connections", "applied security group rule", "scaled up instance type").
  3. Configuration recommendations — Best practices or tuning suggestions provided by AWS.
  4. Escalation notes — If the case was escalated, check for deeper technical analysis from specialized teams.

Step 4: Correlate Findings with Current Incident

After reviewing relevant cases, correlate the findings:

Pattern matching checklist

  • Do past cases share the same affected service and resource type?
  • Are the error messages or codes identical or similar?
  • Did past incidents occur at a similar time of day or day of week (indicating load patterns)?
  • Was the root cause a configuration issue that may still be present?
  • Was the resolution a temporary workaround that has since expired or been reverted?
  • Did AWS identify a service-side issue that may be recurring?

Relevance scoring

Rate each historical case on relevance to the current incident:

ScoreCriteria
HighSame service, same error, same resource type, similar timeframe
MediumSame service, different error but related symptoms
LowDifferent service but similar architectural pattern or failure mode

Step 5: Summarize Findings

Provide a structured summary including:

  1. Number of related cases found — How many past cases matched the search criteria.
  2. Most relevant case(s) — Case ID, subject, status, and creation date of the top matches.
  3. Historical root causes — What caused similar issues in the past.
  4. Past resolutions — What remediation steps were applied and whether they were permanent fixes or temporary workarounds.
  5. Recommendations — Based on historical patterns, suggest investigation paths or remediation steps for the current incident.
  6. Recurring pattern alert — If the same issue has occurred multiple times, flag it as a recurring problem requiring a permanent fix or architectural change.

Decision Tree: Case Search Strategy

Is there a known case ID associated with the current incident?
├── YES → Retrieve that specific case and its communications (Step 2, filter by case ID)
└── NO → Continue below

Is the affected AWS service known?
├── YES → Search cases in the past 90 days for that service, then expand to 12 months if needed
└── NO → Search all cases in the past 30 days and filter by error keywords

Were relevant historical cases found?
├── YES → Review communications (Step 3), correlate findings (Step 4), summarize (Step 5)
└── NO → Broaden search criteria:
         - Expand time window
         - Search by related services (e.g., if ELB is affected, also check EC2 and Target Group cases)
         - Search by error code or symptom keywords in case subjects

Tips for Effective Case Review

  • Start narrow, then broaden: Begin with specific filters (service + time window) and expand only if no relevant cases are found.
  • Check resolved cases: The most valuable information often comes from resolved cases where root cause and fix are documented.
  • Note case severity patterns: If past cases for the same issue were filed at critical severity, the current incident may warrant similar urgency.
  • Cross-reference with deployments: If a past case was caused by a deployment, check if a similar deployment occurred before the current incident.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Support Cases AI 技能有什么作用?

ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting. This skill retrieves and analyzes AWS Support cases (open and resolved) to find historical incidents with similar symptoms, error patterns, or affected services. Activate this skill when investigating an issue and you observe service degradation, elevated error rates, latency spikes, connection failures, throttling, capacity issues, deployment-related failures, alarms, or any operational event or issue. This skill searches past support cases by service, time window, sev...

为什么在 TypingMind 中使用 Support Cases?

因为您只需安装一次,就能搭配任何模型使用。Support Cases 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Support Cases?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aws/tools-for-devops-agent/tree/main/skills/support-cases。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Support Cases?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Support Cases 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Support Cases 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Support Cases AI 技能免费吗?

是的。aws 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇