HuggingFace router의 모델 목록과 chat-ui 설정을 비교해 미등록 모델을 조사합니다. 짧은 영어 설명을 작성하고 운영용·개발용 설정에 함께 추가합니다.
- 라우터의 새 모델을 추가할 때
- 모델 특징을 짧은 설명으로 정리할 때
- 운영용·개발용 모델 정보를 함께 갱신할 때
예산 초과, 일일 비용 증가, 비용이 비정상적으로 높은 세션, 예산 소진 시점을 병렬로 확인하고 결과와 공통 종료 코드를 모아 CI의 진행 여부를 판단합니다.
Composite CI gate — runs cost-budget-check + cost-burn + cost-anomaly + cost-projection in parallel and surfaces a single combined health status with max exit code. The operationally-useful entry point — one shell-out covers all four alert ladders.
cost-health는 비용 상태를 네 가지 관점에서 병렬로 확인합니다. 설정된 예산 초과 여부, 지난주 평균 대비 일일 비용 증가, 비용이 비정상적으로 높은 세션, 예산 소진까지의 예상 일수를 검사합니다. 각 검사 결과의 요약과 전체 상태를 표시합니다.
변경 발생 시 등에 자동 작업을 실행하는 체계인 CI에 비용 감시 판단을 한 단계로 추가할 때 적합합니다. 개별 검사의 종료 코드 중 최댓값을 전체 종료 코드로 사용하므로, 어느 한 검사에서 발생한 경고나 설정 오류도 CI에 전달됩니다. 기준값을 변경하거나 일부 검사를 생략할 수도 있습니다.
cost health로 네 항목을 검사하고 전체 상태를 표시해 주세요.”burn을 생략해 실행해 주세요.”셸에서 명령과 함께 제공되는 scripts/health.mjs, 개별 검사 스크립트를 실행하는 구성입니다. 예산이 설정되지 않으면 예산 소진 예측은 생략합니다. 종료 코드 0은 정상, 1은 경고, 2는 설정 또는 사용 오류, 127은 실행 시작 실패를 뜻합니다.
이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.
AI가 SKILL.md의 내용만을 근거로 4가지 관점에서 판정했습니다. 스타 수나 인기도는 판정에 넣지 않았습니다.
총점은 각 항목을 A=25점, B=15점, C=5점으로 더한 값입니다. 2026년 10월 21일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
The four CI-gate skills (budget / burn / anomaly / projection) each answer
a different question. This skill composes them — runs all four IN PARALLEL,
returns max(exit_codes), prints a one-line summary per check.
| Subcheck | Question | Default threshold |
|---|---|---|
budget | "Have we crossed the configured budget?" | HARD_STOP at 100% |
burn | "Is daily burn accelerating?" | +100% vs prior-week mean |
anomaly | "Is any specific session a >3.5σ outlier?" | ≥1 outlier |
projection | "When will we hit 100% of budget?" | <14 days |
Implementation: scripts/health.mjs.
Promise.all over child_process.spawn).--format json; parse and capture exit code.daysUntilReached[100%] < --alert-days-to-exhaust.max(subcheck exits). Any single failure fails the gate.- name: Cost health gate
run: cost health --alert-acceleration 100 --alert-outliers 1
A single step covers four alert ladders. Before this skill you'd wire four separate gates that each duplicated the npx + memory-list overhead; now it's one shell-out (and the four subcheck npx calls run in parallel internally).
# Quarterly review — stricter thresholds
cost health --alert-acceleration 50 --alert-outliers 1 --alert-days-to-exhaust 30
# Production drift gate — only fire on egregious changes
cost health --alert-acceleration 200 --alert-outliers 3 --alert-days-to-exhaust 7
# Skip the slow burn check during a smoke run
cost health --skip burn
# Healthy
Overall: ✓ HEALTHY (max exit code 0)
| Check | Status | Detail |
| budget | ✓ | unknown — no budget configured |
| burn | ✓ | delta within ±100% |
| anomaly | ✓ | 0 outliers — under threshold ≥1 |
| projection | ✓ | no budget configured — skipping |
# After adding $5 outlier (vs $0.10 baseline)
Overall: ⚠ UNHEALTHY (max exit code 1)
| burn | ⚠ | ALERT 5163.2% acceleration: latest bucket $5.00 is 5163.2% above prior mean $0.095 |
| anomaly | ⚠ | ALERT 1 outlier (|z|>3.5) |
cost health --skip burn,projection # only budget + anomaly
Useful when:
| Exit | Meaning |
|---|---|
| 0 | All subchecks OK |
| 1 | At least one subcheck fired an alert (budget HARD_STOP, burn drift, anomaly outlier, projection imminent-exhaust) |
| 2 | A subcheck had a config/usage error (e.g. invalid CLI args propagated to a subscript) |
| 127 | A subcheck failed to launch (script missing, etc.) |
max() means the worst signal wins — exit 2 (config error) always dominates
exit 1 (alert), so you spot misconfigured pipelines before they masquerade
as healthy.
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
HuggingFace router의 모델 목록과 chat-ui 설정을 비교해 미등록 모델을 조사합니다. 짧은 영어 설명을 작성하고 운영용·개발용 설정에 함께 추가합니다.
기술 선택과 설계 판단을 기록하는 ADR을 기존 파일에 이어지는 번호로 만듭니다. 템플릿 생성, AgentDB 등록과 관련된 과거 결정의 연결을 처리합니다.
설계 결정과 이유를 기록한 ADR을 읽어 검색 색인과 의존 관계 그래프를 만들고 갱신합니다. 두 문서 형식을 지원하며 참조와 상태의 불일치도 집계합니다.
삭제한 ADR 설계 결정 기록이나 관계 정보가 색인에 남았을 때 전체 삭제 후 재구축합니다. 현재 파일 수와 등록 수를 대조하며, 변경 없이 작업 내용을 미리 확인할 수 있습니다.
코드 변경 사항을 채택된 설계 결정을 기록한 ADR과 대조합니다. 결정 위반, 오래된 기록 참조, 관련 기록이 없는 변경을 정리하고 코드 수정이나 결정 재검토를 제안합니다.
저장된 아키텍처 결정 기록인 ADR의 관계를 검증해 끊어진 참조, 대체 관계의 순환, 상태 불일치를 보고합니다. 가져오기 후나 출시 전 점검에 활용합니다.