exploring-llm-evaluations
하는 일
이 스킬은 AI 응답을 점수 매기는 자동 평가를 살펴봅니다. 규칙 기반 점검, AI 판정자 점검, 감정 분석이 포함됩니다. 점검이 왜 실패하는지, 결과가 무엇을 보여 주는지 알고 싶은 팀을 위한 것입니다.
사용하는 경우
- ✓평가가 자꾸 실패해서 이유를 알고 싶을 때.
- ✓응답이 점검에 실패하는 가장 흔한 이유를 보고 싶을 때.
- ✓평가 결과에 대한 정기 보고서를 설정하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-llm-evaluations/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 어조 평가가 왜 그렇게 자주 실패하나요? 실패한 응답들의 공통점은 무엇인가요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
평가를 찾아 설정을 읽고, 필요하면 특정 응답에 대해 점검을 실행할 수 있습니다. 그다음 저장된 결과를 검토해 패턴을 쉬운 말로 보여 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Exploring AI observability evaluations
For stored offline experiment comparisons, scorer history, or externally computed
result uploads, use analyzing-offline-evaluations. Offline experiments use pinned
scorer configurations and separate result APIs from the online evaluations below.
PostHog evaluations score $ai_generation events. Each evaluation is one of three
types:
hog— deterministic Hog code that returns a boolean, numeric score, or categories (and optionally N/A). Best for objective rule-based checks: format validation (JSON parses, schema matches), length limits, keyword presence/absence, regex patterns, structural assertions, latency thresholds, cost guards. Cheap, fast, reproducible — no LLM call per run. Prefer this when the criterion can be expressed as code.llm_judge— an LLM scores generations against a prompt you write. Best for subjective or fuzzy checks: tone, helpfulness, hallucination detection, off-topic drift, instruction-following. Costs an LLM call per run and requires AI data processing approval at the org level.sentiment— classifies sentiment from user messages on each matching generation. Returns a sentiment label and score, not a pass/fail verdict.
Results from all types land in ClickHouse as $ai_evaluation events. Boolean
evaluations (llm_judge and hog) set $ai_evaluation_result; sentiment
evaluations set $ai_sentiment_* properties instead.
Both hog and llm_judge also support output_type: "numeric".
Numeric runs store their raw score in $ai_evaluation_numeric_result, with optional $ai_evaluation_numeric_result_min and $ai_evaluation_numeric_result_max.
They never set $ai_evaluation_result.
Use output_config.passing_rule to interpret scores: gte means at least the threshold and lte means at most.
Changing the rule reinterprets historical scores. Saved reports retain the rule and metrics used when generated.
Without a passing rule, inspect score means and distributions; pass rates and reports are unavailable.
Both runtimes also support output_type: "categorical" when categorical evaluations are enabled for the project.
Read output_config.options for the configured {key, label} pairs and selection_mode for single or multiple.
Results store keys as a list in $ai_evaluation_categorical_result; single selection requires exactly one key, while multiple selection accepts [].
Hog can also return a single key string in single mode.
Use output_config.passing_rule.categories to grade results: a nonempty result passes only when every returned key is a passing category.
A nonempty rule fails []; an empty rule passes only [] and is allowed only in multiple mode.
Without a rule, inspect category frequencies instead of pass rates; new reports are unavailable.
Rule edits reclassify historical results, while saved reports retain their rule snapshot.
This skill covers the full lifecycle: list/inspect/manage evaluation configs, run them on specific generations, query individual results, and configure evaluation reports that summarize recent runs on a schedule.
Tools
| Tool | Purpose |
|---|---|
posthog:llma-evaluation-list |
List/search evaluation configs (filter by name, enabled flag) |
posthog:llma-evaluation-get |
Get a single evaluation config by UUID |
posthog:llma-evaluation-create |
Create a new llm_judge, hog, or sentiment evaluation |
posthog:llma-evaluation-update |
Update an existing evaluation (name, prompt, enabled, …) |
posthog:llma-evaluation-delete |
Soft-delete an evaluation |
posthog:llma-evaluation-run |
Run an evaluation against a specific $ai_generation event |
posthog:llma-evaluation-test-hog |
Dry-run Hog source against recent generations (no save) |
posthog:llma-evaluation-report-list |
List the report configs attached to an evaluation |
posthog:llma-evaluation-report-create |
Schedule an AI report on an evaluation (email or Slack) |
posthog:llma-evaluation-report-run-list |
Past report runs, including the report content that was sent |
posthog:execute-sql |
자주 묻는 질문
평가에는 어떤 종류가 있나요?
예 또는 아니요를 반환하는 코드 기반 점검, 작성된 프롬프트를 따르는 AI 판정자 점검, 사용자 메시지에 대한 감정 점검이 있습니다.
AI 판정자 점검에 비용이 드나요?
AI 판정자 점검을 실행할 때마다 모델 호출이 발생하며, 조직이 이를 위해 AI 데이터 처리를 승인해야 합니다.
정기 보고서를 설정할 수 있나요?
네. 평가 결과에 대한 반복 보고서를 설정할 수 있습니다.
상세 정보
작성자의 원본 설명
Investigate AI observability evaluations — `hog` (deterministic code-based), `llm_judge` (LLM-prompt-based), and `sentiment` (user-message sentiment). Find existing evaluations, inspect their configuration, run them against specific generations, query individual results, and set up scheduled reports on an evaluation. Use when the user asks to debug why an evaluation is failing, surface common failure modes, compare results across filters, dry-run a Hog evaluator, prototype a new LLM-judge prompt, inspect sentiment classifications, or manage the evaluation lifecycle.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6832
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.