haandol

Rca Agent — Data skill for Claude Code

Data community

Automated Root Cause Analysis agent — CloudWatch alarm-driven 9-step pipeline with dual execution engines (Strands Agents SDK & Claude Code headless).

How to install Rca Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open haandol/rca-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rca Agent does

Automated Root Cause Analysis agent — CloudWatch alarm-driven 9-step pipeline with dual execution engines (Strands Agents SDK & Claude Code headless).

Alternatives in Data

  • Osint Employees — Gather employee names + email patterns for password spray prep 4.5k ★
  • HTML Video — Programmatic video for coding agents — HTML to video on your laptop 4.5k ★
  • Claude Deep Research Skill — Enterprise-grade deep research skill for Claude Code with 8-phase pipeline, source credibility scoring, and au 1k ★

README

RCA Agent — AWS 기반 자동 RCA 분석 에이전트

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

AWS 환경에서 CloudWatch 알람 발생 시 자동 RCA(근본원인분석)를 수행하는 closed-loop 에이전트 시스템입니다. 두 가지 실행 엔진(Strands Agents SDK 9단계 파이프라인 / Codex on Bedrock Runtime headless 전문 서브 에이전트 오케스트레이션)을 지원하며, MCP 서버를 통해 CloudWatch, CloudTrail, GitHub 데이터 소스를 자동 분석합니다.

패키지 구성

Package Description Tech
`packages/agent` Strands Agents SDK 기반 RCA 에이전트 — 9단계 파이프라인 (단일 Sonnet 모델 + Planning/Execution 행동 분리) Python, Strands Agents SDK, Amazon Bedrock
`packages/headless-codex` Codex on Bedrock Runtime headless 오케스트레이터 — 읽기 전용 RCA → Report와 승인 기반 실행 → 회고 Python, Codex CLI, ECS Fargate
`packages/infra` AWS CDK 인프라 — ECS Fargate, SNS/SQS, S3, S3 Vectors, DynamoDB, VPC, Cloud Map TypeScript, CDK
`packages/healthcare-sensor-app` Vital 센서 이벤트 수용·조회 — 전역 1Hz, PostgreSQL 내구 inbox·재시도, 단일 SQL 컬럼 오류 검증 Python, FastAPI, PostgreSQL
`packages/dashboard` RCA 대시보드 — DynamoDB 세션 상태, S3 보고서/플레이북/증거 조회, 파이프라인 트레이스 그래프 (로컬 전용) TypeScript, Nuxt.js 4, Vue Flow

주요 기능

Dual-Stack RCA 실행

  • Fargate Stack (Strands): CloudWatch Alarm → SNS → SQS → ECS Fargate, 9단계 closed-loop 파이프라인 (Scoping → Hypothesis → Prioritization → Beam Selection → Evidence → Validation → Branching → Report → Playbook → Notification)
  • Fargate Stack (Headless Codex): CloudWatch Alarm → SNS → SQS → ECS Fargate, 역할별 전문 서브 에이전트 오케스트레이션
  • 동일 SNS 토픽을 독립 구독하여 A/B 비교 가능
  • DynamoDB engine 필드로 실행 엔진 구분, IDEMP# 키로 멱등성 보장

Strands Agent Stack

  • 단일 모델(Sonnet 5) + Planning/Execution 행동 분리 (Planning은 adaptive thinking, Execution은 thinking 없음)
  • 가설별 독립 Agent 인스턴스로 증거 수집 세션 격리 (컨텍스트 오버플로우 방지)
  • 계층적 부모 요약 주입으로 하위 가설 증거 수집 컨텍스트 강화
  • Beam Search 탐색: 우선순위 상위 N개(기본 3) 가설만 선택적 검증
  • 신뢰도/시간/깊이/루프 기반 종료 조건으로 운영 통제
  • 전체 기각 시 자동