omni-resilience
하는 일
이 스킬은 AI 제공자가 정상적으로 응답하는지 확인하는 방법을 보여 줍니다. 느리거나 실패하는 제공자와 예산 경고를 빨리 찾으려는 관리자를 위한 기능입니다.
사용하는 경우
- ✓사용자가 지금 제공자나 게이트웨이가 정상인지 물을 때.
- ✓사용자가 제공자의 지연 시간 수치를 보고 싶을 때.
- ✓사용자가 모델이나 연결이 왜 잠겼는지 확인하려는 경우.
스킬 링크
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-resilience/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금 느리거나 실패하는 제공자는 무엇이고, 잠긴 모델이 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 시스템 상태, 모델별 상태, 압축 통계, 복원력 데이터를 위한 모니터링 엔드포인트를 나열합니다. 회로 차단기, 쿨다운, 모델 잠금, p50, p95, p99 같은 지연 백분위수를 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Overview
Monitor provider health, circuit-breaker states, p50/p95/p99 latency metrics, and budget guard alerts. Inspect connection cooldowns and model lockouts in real time.
Authentication
All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.
Endpoints
GET /api/monitoring/health
System health check
Returns system health including uptime, memory, circuit breakers, rate limits
curl http://localhost:20128/api/monitoring/health \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/monitoring/model-health
Get per-model health states
Management-only report that classifies every synced model on every provider connection as HEALTHY, DEGRADED, RATE_LIMITED, AUTH_FAILED, PROVIDER_DOWN, CONNECTION_BLOCKED, MODEL_LOCKED or UNKNOWN, from the connection state, the provider circuit breaker and the per-model lockout. Includes connection ids and names, so it requires a management principal.
curl http://localhost:20128/api/monitoring/model-health \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/monitoring/compression
Get compression result-memo statistics
In-process compression result-memo observability snapshot — size, capacity, lifetime hits/misses/hitRate plus 1m/5m/15m/1h windowed rates. Lightweight (no DB, no provider reads) companion to GET /api/monitoring/health intended for frequent polling. Sent with Cache-Control: no-store, no-cache, must-revalidate. Counters reset on process restart.
curl http://localhost:20128/api/monitoring/compression \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/provider-metrics
GET provider metrics
curl http://localhost:20128/api/provider-metrics \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
Payloads
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
OmniRoute — Monitoring & Health
Requires OMNIROUTE_URL and OMNIROUTE_KEY. See entry-point SKILL for setup.
System health
curl $OMNIROUTE_URL/api/health \
-H "Authorization: Bearer $OMNIROUTE_KEY"
Returns: uptime, memory, active connections, circuit breaker states, rate limit status, cache stats.
Unauthenticated quick check:
curl $OMNIROUTE_URL/api/health
# → {"ok":true}
Provider circuit breakers
Circuit breakers prevent traffic from hitting failing providers.
States: CLOSED (normal), OPEN (blocked), HALF_OPEN (probe mode — auto-recovers).
curl $OMNIROUTE_URL/api/monitoring/health \
-H "Authorization: Bearer $OMNIROUTE_KEY"
Response includes circuitBreakers array with per-provider state and resetAt timestamp.
Per-provider metrics (p50/p95/p99)
curl $OMNIROUTE_URL/api/providers/metrics \
-H "Authorization: Bearer $OMNIROUTE_KEY"
Response shape per provider:
{
"provider": "anthropic",
"requests": 1247,
"successRate": 0.994,
"latency": { "p50": 820, "p95": 2100, "p99": 3800 },
"circuitState": "CLOSED",
"tokensUsed": 2847000
}
Via MCP (if OmniRoute is your MCP server)
omniroute_get_health → full system health snapshot
omniroute_get_provider_metrics → p50/p95/p99 + circuit state per provider
omniroute_get_session_snapshot → cost, tokens, errors for current session
omniroute_check_quota → quota balance + percent remaining + reset time
omniroute_db_health_check → diagnose + auto-repair database drift
Quota check
curl $OMNIROUTE_URL/api/quota \
-H "Authorization: Bearer $OMNIROUTE_KEY"
Returns used/total tokens and requests per provider/account, with resetAt timestamps.
Budget guard (spend limit)
Set a session spending limit that degrades or blocks requests when hit:
curl -X POST $OMNIROUTE_URL/api/budget/guard \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-H "Content-Type: application/json" \
-d '{
"limitUsd": 5.00,
"action": "degrade",
"degradeTo": "openai/gpt-4o-mini"
}'
action options:
degrade— switch to a cheaper model when limit is hit- `b
자주 묻는 질문
모델별 상태는 무엇을 뜻하나요?
모델 상태 보고서는 각 모델을 정상, 성능 저하, 속도 제한, 인증 실패, 제공자 중단 등으로 분류합니다.
모델 상태 보고서는 민감한가요?
네. 연결 ID와 이름이 포함되므로, 스킬은 관리 로그인이 필요하다고 밝힙니다.
예산 경고도 보여 주나요?
네. 스킬은 예산 보호 경고를 모니터링의 일부로 나열합니다.
상세 정보
작성자의 원본 설명
Monitor provider health, circuit-breaker states, p50/p95/p99 latency metrics, and budget guard alerts. Inspect connection cooldowns and model lockouts in real time.
인기도
- GitHub 스타
- 84k
- 순위
- #1434
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cli-a2a
84k에이전트 간 작업을 위한 OmniRoute 명령줄 도구를 실행해, 작업을 보내고 작업 이력을 확인하며 스킬을 테스트하게 합니다.
cli-backup-sync
84k스냅샷, 클라우드 동기화, 일정, 아카이브 복원을 포함해 명령줄에서 OmniRoute 데이터를 백업합니다.
cli-batches
84k명령줄에서 대량 AI 작업을 배치 작업으로 제출하고 진행 상황을 추적하며, CI 파이프라인을 위해 결과와 오류를 저장합니다.
cli-chat
84k스트리밍 응답, 시스템 프롬프트, 대화형 세션을 갖춘 채팅 요청을 명령줄에서 AI 모델에 보냅니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.