Skip to main content
skill CX Codex

resilience-hub-failure-mode-assessment — Claude Code skill

Runs and interprets AWS Resilience Hub v2 failure mode assessments. Use it to triage findings and work through remediation.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-code
Open on GitHub

What resilience-hub-failure-mode-assessment does

This skill runs AWS Resilience Hub v2 failure mode assessments and explains what they return. It covers finding severity, categories, recommendations, achievability triage, and remediation for a specific finding.

The workflow is kept in references/assessment-workflow.md. The skill also covers AI-generated service functions, including updates with aws resiliencehubv2 update-service-function and resource reassignment through create-service-function-resources. AWS MCP is recommended for AWS API calls, while the same operations can be run through the AWS CLI.

The invoker role needs access to describe resources in every configured region. If an assessment returns INVALID_PERMISSIONS, check invokerRoleName and any crossAccountRoles; that is the first place to look. This skill is for assessments and remediation, not initial Resilience Hub setup or FIS experiments.

What it helps with

  • run a Resilience Hub failure mode assessment
  • sort findings by severity and category
  • triage remediation by achievability
  • update AI-generated service functions
  • diagnose INVALID_PERMISSIONS access failures

Example prompts for the agent

  • Run an AWS Resilience Hub v2 failure mode assessment and explain the findings.
  • Triage the findings by severity and achievability, starting with HIGH.
  • I’m getting INVALID_PERMISSIONS. Check the invoker and cross-account role access.

How to install resilience-hub-failure-mode-assessment

1Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-code

2Manually: put the files in place

~/.claude/skills/resilience-hub-failure-mode-assessment/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/resilience-hub-failure-mode-assessment/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about resilience-hub-failure-mode-assessment

How do I install resilience-hub-failure-mode-assessment in Claude Code?

Run npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-code, run the same command again, then open ~/.claude/skills/resilience-hub-failure-mode-assessment/SKILL.md.

What does resilience-hub-failure-mode-assessment do?

It runs and interprets AWS Resilience Hub v2 failure mode assessments. It helps explain findings, set remediation priorities, and work through fixes.

Do I need the AWS MCP server to use this skill?

AWS MCP is recommended for executing the API calls, but the operations also work directly through the AWS CLI.

Source text

SKILL.md · Apache-2.0
---
name: resilience-hub-failure-mode-assessment
description: >
  Runs and interprets AWS Resilience Hub v2 failure mode assessments. Covers starting
  assessments, understanding findings (severity, categories, recommendations), triaging
  by achievability, working with AI-generated service functions, and resolving findings.
  Applies when the user wants to run an assessment, review findings, or understand failure modes,
  or has a specific finding and asks how to resolve, remediate, or fix it.
  Does not apply to initial setup (use resilience-hub-getting-started) or FIS experiments.
version: 1
---

# Failure Mode Assessment

## Overview

Domain expertise for running Resilience Hub v2 failure mode assessments, interpreting
findings, triaging by severity and achievability, and driving remediation.

> The AWS MCP server is recommended for executing this skill's AWS API calls, but it is not required — all operations also work with the AWS CLI directly.

## Guardrail — where this skill's own files live (MCP vs local install)

Before reading a reference file, determine how this skill was loaded:

- **Loaded via the AWS MCP `retrieve_skill` tool:** the skill's reference files are not on the local filesystem. Fetch each one through `retrieve_skill` with the `file` parameter (e.g. `file="references/assessment-workflow.md"`) — do NOT `file_read` these paths locally or search the filesystem for them.
- **Installed locally** (e.g. `.kiro/skills/resilience-hub-failure-mode-assessment/` or `~/.claude/skills/resilience-hub-failure-mode-assessment/`): read reference files from the local skill directory using the relative paths shown here.

This applies only to the skill's own reference files; always read and write user or session data in the working directory, never through `retrieve_skill`.

## Run and interpret assessments

To run assessments and triage findings, follow the procedure exactly.
See [references/assessment-workflow.md](references/assessment-workflow.md).

## Troubleshooting

### Assessment fails with INVALID_PERMISSIONS

The service's permission model (invokerRoleName / crossAccountRoles) doesn't have
access to the resources. Verify the invoker role (and any cross-account roles) can describe resources in all configured regions.

### Too many findings — where to start?

Prioritize by finding severity, highest first (HIGH, then MEDIUM, then LOW). For HIGH-severity
findings, check the service's achievability for the relevant policy component (from `get-service`
/ `list-failure-mode-assessments`): NOT_ACHIEVABLE means the architecture must change before
testing; ACHIEVABLE means validate the fix with an FIS experiment. MEDIUM findings: plan
remediation this sprint; LOW findings: track but don't block (see the priority matrix in
[references/assessment-workflow.md](references/assessment-workflow.md) Step 5).

### AI-generated service functions are wrong

Update them: `aws resiliencehubv2 update-service-function` to rename or change criticality
(there is no service-function "type" parameter). Reassign resources by calling `create-service-function-resources` with the desired resource set (see [references/assessment-workflow.md](references/assessment-workflow.md) for the service-function operations).

## Security Considerations

- **Least privilege:** the invoker role should be scoped to read-only discovery of only the resource types in the service's input sources; avoid granting access beyond what assessment needs.
- **Encryption & access control:** recommend that S3 buckets used for report output have server-side encryption (SSE-S3 or SSE-KMS) and block public access — assessment reports can contain sensitive architectural detail. If a bucket policy grants the Resilience Hub service principal write access, scope it with `aws:SourceArn` / `aws:SourceAccount` condition keys to prevent confused-deputy writes.
- **Further reading:** see [Security in AWS Resilience Hub](https://docs.aws.amazon.com/resilience-hub/latest/userguide/security.html) and the [AWS Well-Architected Security Pillar](https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/welcome.html) for securing assessment outputs and IAM configurations.

© aws · Apache-2.0 · aws/agent-toolkit-for-aws

Similar skills

Everything for Cloud: AWS, Azure, GCP →

From the same set133

arc-region-switch A skill that teaches your agent the ins and outs of Amazon Application Recovery Controller Region switch: plans, workflows, execution blocks, cross-Region failover. CX Codex +1 3,900installs shieldadvanced Configures AWS Shield Advanced to defend workloads against DDoS attacks and recover scaling costs. Useful for CloudFront, ALBs, or Route 53 resources. CX Codex +1 4,000installs recovery-controller-setup Sets up AWS Application Recovery Controller: routing controls with safety rules for cross-Region failover, plus zonal shift and zonal autoshift for AZ recovery. CX Codex +1 3,900installs resilience-hub-multi-account Configures AWS Resilience Hub v2 to assess workloads spanning multiple AWS accounts using a per-service IAM permission model. CX Codex +1 3,800installs aws-step-functions Authors and edits AWS Step Functions definitions in Amazon States Language: state types, JSONata, Retry/Catch, Distributed Map. CX Codex +1 3,900installs resilience-hub-getting-started Sets up AWS Resilience Hub v2 from scratch, creates resilience policies with RTO and RPO targets, and runs an initial failure mode assessment. CX Codex +1 3,900installs aws-ai-ml Guides model selection, fine-tuning, and deployment on Amazon SageMaker and Bedrock. Useful when configuring training jobs or debugging active endpoints. CX Codex +1 3,500installs amazon-ses Walks you from an empty AWS account to a delivered, authenticated email: domain identity, DKIM, MAIL FROM, then out of the sandbox. CX Codex +1 3,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor