resilience-hub-failure-mode-assessment — скилл для Claude Code
Скилл запускает и разбирает оценки режимов отказа в AWS Resilience Hub v2. Помогает расставить приоритеты находок и подготовить исправления.
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-codeЧто делает resilience-hub-failure-mode-assessment
Скилл работает с оценками режимов отказа в AWS Resilience Hub v2: запускает проверку, объясняет серьёзность и категории находок, разбирает рекомендации и помогает распределить работу по достижимости исправления. Он подходит для разбора конкретной находки и поиска способа её устранить.
Внутри есть процедура из references/assessment-workflow.md, а также правила для AI-сгенерированных функций сервисов. Для них описаны обновление через aws resiliencehubv2 update-service-function и переназначение ресурсов через create-service-function-resources. AWS MCP-сервер рекомендуют для вызовов API, но операции также выполняются через AWS CLI.
Для оценки нужны права роли invokerRoleName и доступ к ресурсам в настроенных регионах; при ошибке INVALID_PERMISSIONS это повод проверить роли и cross-account доступ. Скилл не предназначен для первоначальной настройки Resilience Hub или FIS-экспериментов.
Какие задачи решает
- запустить оценку режимов отказа в Resilience Hub
- разобрать находки по серьёзности и категории
- расставить приоритеты по достижимости исправлений
- исправить AI-сгенерированные функции сервисов
- проверить причины ошибки
INVALID_PERMISSIONS
Примеры запросов агенту
- Запусти оценку режимов отказа AWS Resilience Hub v2 и разберись с находками.
- Разбери находки по серьёзности и достижимости, начиная с HIGH.
- У меня ошибка
INVALID_PERMISSIONS. Проверь, какие роли и ресурсы нужно исправить.
Как установить resilience-hub-failure-mode-assessment
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-code2Вручную: положить файлы
~/.claude/skills/resilience-hub-failure-mode-assessment/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/resilience-hub-failure-mode-assessment/
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a codex2Вручную: положить файлы
.agents/skills/resilience-hub-failure-mode-assessment/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a cursor2Вручную: положить файлы
.cursor/skills/resilience-hub-failure-mode-assessment/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aws/agent-toolkit-for-aws resilience-hub-failure-mode-assessment2Вручную: положить файлы
.github/skills/resilience-hub-failure-mode-assessment/SKILL.md1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a gemini-cli2Командой платформы
gemini skills install https://github.com/aws/agent-toolkit-for-aws --path skills/specialized-skills/resilience-skills/resilience-hub-failure-mode-assessmentВручную: положить файлы
.devin/skills/resilience-hub-failure-mode-assessment/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора133
Похожие
Рядом в теме «Облака: AWS, Azure, GCP»
Всё по теме «Облака: AWS, Azure, GCP» →Вопросы о resilience-hub-failure-mode-assessment
Как установить resilience-hub-failure-mode-assessment в Claude Code?
Выполните npx skills add aws/agent-toolkit-for-aws --skill resilience-hub-failure-mode-assessment -a claude-code, повторите эту команду ещё раз, затем откройте ~/.claude/skills/resilience-hub-failure-mode-assessment/SKILL.md.
Что делает resilience-hub-failure-mode-assessment?
Скилл запускает и интерпретирует оценки режимов отказа AWS Resilience Hub v2. Он помогает понять находки, расставить приоритеты и разобрать исправления.
Нужен ли AWS MCP-сервер для работы с этим скиллом?
AWS MCP-сервер рекомендуют для вызовов API, но операции также можно выполнять напрямую через AWS CLI.
Исходный текст
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