evaluation
Skill này làm gì
Skill này giải thích cách đo xem agent AI có đạt kết quả đúng hay không, dùng kiểm tra, rubric chấm điểm, kiểm thử hồi quy và giám sát khi chạy thật. Nó dành cho các nhóm đưa agent AI vào sử dụng và cần bằng chứng chúng hoạt động.
Khi nào nên dùng
- ✓Khi bạn muốn kiểm thử một hệ thống agent theo cách lặp lại được.
- ✓Khi bạn cần xác nhận một thay đổi không làm agent tệ đi.
- ✓Khi bạn định so sánh hai thiết lập agent hoặc thêm kiểm tra chất lượng trước khi phát hành.
Liên kết skill
https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/evaluation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi lập một kế hoạch kiểm thử cho thấy agent AI của tôi có còn hoàn thành đúng tác vụ sau mỗi thay đổi hay không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tập trung vào kết quả thay vì các bước chính xác, và gợi ý kết hợp kiểm tra tự động đơn giản với rubric chấm điểm và một mốc cơ sở để so sánh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Evaluation Methods for Agent Systems
Evaluate agent systems differently from traditional software because agents make dynamic decisions, are non-deterministic between runs, and often lack single correct answers. Build evaluation frameworks that account for these characteristics, provide actionable feedback, catch regressions, and validate that context engineering choices achieve intended effects.
When to Activate
Activate this skill when:
- Testing agent performance systematically
- Validating context engineering choices
- Measuring improvements over time
- Catching regressions before deployment
- Building quality gates for agent pipelines
- Comparing different agent configurations
- Evaluating production systems continuously
Do not activate this skill for adjacent work owned by other skills:
- Designing the LLM judge itself, pairwise comparison, judge calibration, or bias mitigation:
advanced-evaluation. - Designing autonomous control surfaces, novelty gates, rollback, or PR approval boundaries:
harness-engineering. - Debugging a specific context failure mode before measuring it:
context-degradation.
Core Concepts
Focus evaluation on outcomes rather than execution paths, because agents may find alternative valid routes to goals. Judge whether the agent achieves the right outcome via a reasonable process, not whether it followed a specific sequence of steps.
Use multi-dimensional rubrics instead of single scores because one number hides critical failures in specific dimensions. Capture factual accuracy, completeness, citation accuracy, source quality, and tool efficiency as separate dimensions, then weight them for the use case.
Use model-judged evaluation only after deterministic checks and rubrics are stable. When the work centers on judge prompts, pairwise comparison, calibration, or bias mitigation, switch to Advanced Evaluation.
Run deterministic validation before LLM judgment whenever the artifact has machine-checkable structure. Schema validity, duplicate keys, rubric math, manifest sync, retrieval status, and required evidence paths should fail fast before an evaluator spends tokens or returns a subjective score.
Performance Drivers
Apply browsing-agent research when designing evaluation budgets: token usage, tool calls, and model choice can dominate measured performance variance (claim-evaluation-browsecomp-variance).
| Factor | Variance Explained | Implication |
|---|---|---|
| Token usage | Primary driver | More exploration can improve performance until cost or context quality collapses |
| Number of tool calls | Secondary driver | More tool use helps only when calls retrieve useful evidence |
| Model choice | Secondary but multiplicative | Better models often use tokens and tools more efficiently |
Act on these implications when designing evaluations:
- Set realistic token budgets: Evaluate agents with production-realistic token limits, not unlimited resources.
- Compare model upgrades against token increases: Better models may use tokens more efficiently than weaker models with larger budgets.
- Validate multi-agent architectures: Extra agents add tokens and tool calls; evaluate them against single-agent baselines.
Detailed Topics
Evaluation Challenges
Handle Non-Determinism and Multiple Valid Paths
Design evaluations that tolerate path variation because agents may take completely different valid paths to reach goals. One agent might search three sources while another searches ten; both may produce correct answers. Avoid checking for specific steps. Instead, define outcome criteria (correctness, completeness, quality) and score against those, treating the execution path as informational rather than evaluative.
Test Context-Dependent Failures
Evaluate across a range of complexity levels and interaction lengths because agent failures often depend on context in subtle ways. An agent might succeed on simple queries but fail on complex ones, work well with one tool set but fail with another, or degrade after extended interaction as context accumulates. Include simple, medium, complex, and very complex test cases to surface these patterns.
Score Composite Quality Dimensions Separately
Break agent quality into separate dimensions (factual accuracy, completeness, coherence, tool efficiency, process quality) and score each independently because an agent might score high on accuracy but low on efficiency, or vice v
Câu hỏi thường gặp
Agent có phải luôn làm theo cùng các bước không?
Không. Skill đánh giá kết quả có đúng không, vì nhiều đường đi có thể đạt được kết quả tốt.
Mốc cơ sở là gì?
Đó là kết quả trước đó để so sánh kết quả mới, xem mọi thứ tốt lên hay tệ đi.
Ai đánh giá các câu trả lời?
Skill kết hợp kiểm tra tự động với rubric và chỉ đến một hướng dẫn riêng về thiết kế AI judge.
Chi tiết
Mô tả gốc của tác giả
This skill should be used when building agent evaluation systems: deterministic checks, regression suites, multi-dimensional rubrics, quality gates, production monitoring, baseline comparison, and outcome measurement for agent pipelines.
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10641
- Giấy phép
- MIT
- Cập nhật
- 11/10/2026
Bình luận
- …
Thêm skill từ kho mã này
context-engineering-collection
18kGiúp agent của bạn quản lý những gì đưa vào cửa sổ ngữ cảnh của model AI, từ bộ nhớ và công cụ đến thiết lập nhiều agent và đánh giá.
advanced-evaluation
18kDạy agent của bạn cách đánh giá câu trả lời AI bằng một AI khác, với chấm điểm, so sánh cạnh nhau và kiểm tra thiên lệch.
bdi-mental-states
18kDạy agent của bạn mô hình hóa niềm tin, mục tiêu và kế hoạch bằng cách tiếp cận BDI, để các quyết định của nó có thể được truy vết và giải thích.
context-compression
18kGiúp agent của bạn rút gọn các phiên AI dài thành bản tóm tắt giữ lại quyết định, file, rủi ro và bước tiếp theo.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.