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.
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-codeWhat 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_PERMISSIONSaccess 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-code2Manually: put the files in place
~/.claude/skills/resilience-hub-failure-mode-assessment/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/resilience-hub-failure-mode-assessment/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a codex2Manually: put the files in place
.agents/skills/resilience-hub-failure-mode-assessment/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a cursor2Manually: put the files in place
.cursor/skills/resilience-hub-failure-mode-assessment/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aws/agent-toolkit-for-aws resilience-hub-failure-mode-assessment2Manually: put the files in place
.github/skills/resilience-hub-failure-mode-assessment/SKILL.md1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a gemini-cli2Platform CLI
gemini skills install https://github.com/aws/agent-toolkit-for-aws --path skills/specialized-skills/resilience-skills/resilience-hub-failure-mode-assessmentManually: put the files in place
.devin/skills/resilience-hub-failure-mode-assessment/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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