Skip to main content
skill CX Codex

resilience-hub-getting-started — Claude Code skill

Sets up AWS Resilience Hub v2 from scratch, creates resilience policies with RTO and RPO targets, and runs an initial failure mode assessment.

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

What resilience-hub-getting-started does

This skill guides you through the initial configuration of Resilience Hub v2. It defines RTO and RPO targets for resilience policies, onboards application services, and connects input sources such as CloudFormation stacks or Terraform state files. Once mapped, it triggers a baseline failure mode assessment.

Operations execute through either the AWS MCP server or the AWS CLI directly. The workflow does not configure FIS experiments or ARC routing controls. If the assessment reports NOT_ACHIEVABLE, running chaos experiments makes no sense until the underlying infrastructure is corrected.

Security setup requires scoping the invoker role to read-only access for discovered resources. Adding an aws:SourceAccount condition to the trust policy prevents cross-service confused-deputy issues.

What it helps with

  • configure RTO and RPO targets for resilience policies
  • connect Terraform state or CloudFormation stacks to Resilience Hub
  • run an initial failure mode assessment for a single service
  • diagnose assessments stuck in IN_PROGRESS due to permissions

Example prompts for the agent

  • Help me set up AWS Resilience Hub v2 from scratch for this service
  • Create a resilience policy with RTO and RPO goals and assess our stack
  • Check why the Resilience Hub assessment is stuck in IN_PROGRESS

How to install resilience-hub-getting-started

1Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-getting-started -a claude-code

2Manually: put the files in place

~/.claude/skills/resilience-hub-getting-started/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/resilience-hub-getting-started/

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

Questions about resilience-hub-getting-started

How do I install resilience-hub-getting-started in Claude Code?

Run npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-getting-started -a claude-code. This installs the skill files into ~/.claude/skills/resilience-hub-getting-started/.

What does resilience-hub-getting-started do?

It handles initial Resilience Hub v2 setup, configures SLO policies, registers service resources, and executes a baseline failure mode assessment.

Is the AWS MCP server required?

No, the AWS MCP server is recommended for API calls, but all operations work directly with the AWS CLI.

Source text

SKILL.md · Apache-2.0
---
name: resilience-hub-getting-started
description: >
  Sets up AWS Resilience Hub v2 from scratch: creates resilience policies with SLO targets,
  registers systems and user journeys, onboards services with input sources, and runs a
  first failure mode assessment. Applies when the user wants to get started with Resilience Hub v2,
  create a policy, onboard a service, or run an assessment — including creating one concrete
  policy with specific availability/RTO/RPO targets and a DR approach for a single service
  (even a tier-1 one). Does not apply to FIS experiments or ARC routing controls.
version: 1
---

# Getting Started with AWS Resilience Hub v2

## Overview

Domain expertise for first-time Resilience Hub v2 setup: policies, systems, user journeys,
services, input sources, and failure mode assessments.

> 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/setup-procedure.md"`) — do NOT `file_read` these paths locally or search the filesystem for them.
- **Installed locally** (e.g. `.kiro/skills/resilience-hub-getting-started/` or `~/.claude/skills/resilience-hub-getting-started/`): 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`.

## Set up Resilience Hub v2

To configure Resilience Hub v2 from scratch, follow the procedure exactly.
See [references/setup-procedure.md](references/setup-procedure.md).

## Troubleshooting

### Assessment stuck in IN_PROGRESS

Poll with `aws resiliencehubv2 list-failure-mode-assessments`. If stuck >30 min, check
the `errorCode` field — common causes are INVALID_PERMISSIONS or CMK_ACCESS_DENIED on
cross-account roles.

### Achievability shows NOT_ACHIEVABLE

Your architecture cannot meet the policy targets. Fix infrastructure before running
FIS experiments — testing won't help if the architecture is fundamentally insufficient.

### No resources discovered

Verify input sources are correct: CFN stack ARN exists, Terraform state file is accessible,
EKS cluster is in the specified regions, or resource tags match actual resources.

## Security Considerations

- **Least privilege:** scope the invoker role to read-only discovery of only the resource types in your input sources; attach the AWS managed `AWSResilienceHubAsssessmentExecutionPolicy` (AWS spells it with three s's) or a tighter custom policy.
- **Encryption at rest / in transit:** recommend S3 buckets for Terraform state and assessment reports use server-side encryption (SSE-KMS) and a bucket policy enforcing TLS via `aws:SecureTransport`.
- **Condition keys (confused-deputy):** add an `aws:SourceAccount` (and ideally `aws:SourceArn` scoped to the specific Resilience Hub service ARN) condition to the invoker role's trust policy so only your account's Resilience Hub can assume it.
- **Limit assessment exposure:** restrict who can call `start-failure-mode-assessment` (it reads infrastructure state) and who can read assessment findings and reports — these can contain sensitive architecture detail.
- **Further reading:** see [Security in AWS Resilience Hub](https://docs.aws.amazon.com/resilience-hub/latest/userguide/security.html) and [IAM Best Practices](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html) (including cross-service confused-deputy prevention).

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

Similar skills

Everything for Cloud: AWS, Azure, GCP →

From the same set133

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 resilience-hub-failure-mode-assessment Runs and interprets AWS Resilience Hub v2 failure mode assessments. Use it to triage findings and work through remediation. CX Codex +1 3,900installs 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 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 redshift-guide This skill keeps AI coding help grounded in Amazon Redshift rather than PostgreSQL assumptions. Use it for SQL, metadata, access, connectivity, and performance issues. CX Codex +1 3,200installs aws-social-messaging This skill manages WhatsApp messaging through AWS End User Messaging Social, including templates, media, delivery events, and troubleshooting. Use it when building messaging flows. CX Codex +1 3,000installs

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