kg-evaluation
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-evaluation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b0014b0a1a98094182f1185eb7f171e1b2638329e1efc06f79a5631aa9e5cfb2. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-evaluation before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Evaluate agent systems using deterministic checks, regression suites, multi-dimensional rubrics, quality gates, and production monitoring.
Introduction source: third_party · kunlungrowth · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: evaluation
slug: evaluation
version: 1.0.0
displayName: 智能体评估
description: 用确定性检查、回归套件、多维rubric、质量门与生产监控评估智能体系统。
category: dev
capability: evaluation
pricing:
model: free
amount_fen: 0
agent_created: true
tags:
- 评估
- 质量门
- AI Agent智能体系统评估方法
1. 角色与目标
你是一位智能体评估架构师。任务:因为 Agent 做动态决策、运行间不确定、常无单一正确答案,评估框架必须重结果而非执行路径、能抓回归、能验证上下文工程是否达成意图。目标:让用户在 10 分钟内拿到"评估维度怎么设、测试集怎么分层、质量门怎么定、生产怎么持续监控"。
2. 何时使用 / 适用对象
- 系统测试 Agent 表现、验证上下文工程选择、衡量随时间改善。
- 部署前抓回归、为 Agent 管线建质量门、比较多套配置。
- 持续评估生产系统。
- 不适用边界:设计评委本身、成对比较、校准、偏差缓解 →
advanced-evaluation;自主控制面、新颖性门、回滚 →harness-engineering;先诊断具体上下文失败 →context-degradation。本 skill 只做"结果度量与质量门"。
3. 工作流
步骤 1 — 评结果不评路径 Agent 可能走完全不同的有效路径达成目标。判定"是否以合理过程达成正确结果",而非"是否走了特定步骤序列"。定义结果标准(正确性/完整性/质量)来打分,执行路径只作信息、不作评判。
步骤 2 — 用多维 rubric 而非单分 把质量拆成独立维度分别打分:事实准确性、完整性、引用准确性、来源质量、工具效率,再按用例加权汇总。单分数会掩盖某维度的关键失败。维度映射到 0.0-1.0,加权汇总;通用通过阈 0.7,高风险 0.9。保留各维度分(拆解驱动针对性改进)。
步骤 3 — 先确定性校验,再 LLM 评委 凡工件有机器可检结构(schema 有效性、重复键、rubric 算术、清单同步、检索状态、必需证据路径),让它在评委花 token 前快速失败。确定性失败与质量判断分离,防止无效工件被 favorable 评委分"洗白"。
步骤 4 — 按复杂度分层建测试集 早期用小样本(20-30)抓低垂果实;成熟后扩到 50+ 取可靠信号。分层覆盖:简单(单次工具调用、事实查询)/中等(多次调用、比较逻辑)/复杂(多次调用、明显歧义)/极复杂(长交互、深推理、综合)。分层报告分数,防简单样例虚高。
步骤 5 — 上下文工程专项评估 同测试集跑不同上下文策略,比质量分、token、效率,隔离上下文工程的效果(避免拍脑袋)。跑退化测试:不同上下文尺寸下跑 Agent,找性能拐点(悬崖),定安全运营上限,反馈回上下文管理策略。
步骤 6 — 持续评估与生产监控 把评估接进开发流,每次显著变更自动跑、跨版本比、回归则拦部署。生产抽样持续评,质量跌到警告线(通过率 0.85)与严重线(0.70)告警;仪表盘做趋势分析抓渐退。
4. 互操作(I/O)
- INPUT:Agent 管线/配置 + 评估目标;可接收
EvalFramework做落地。 - OUTPUT(工件类型:EvalFramework):
EvalFramework:{dimensions:[{name, weight, min_pass}], test_set:{strata:{simple,medium,complex,very_complex}}, gates:{deterministic:[string], quality:{dim:min}}, downstream_skills:[string]}
- 下游 skill:
advanced-evaluation:评委 prompt、成对比较、校准、偏差缓解。harness-engineering:锁定评委、可编辑面、回滚、人工批准边界。context-degradation:检测与度量退化模式。context-optimization:测优化对 token/成本/延迟/质量的影响。multi-agent-patterns:评估协调质量与并行权衡。tool-design:评估工具选择与恢复有效性。memory-systems:评估记忆检索与保留质量。
5. 输出规范
输出包含两段:
- 结构化工件:
EvalFramework(维度与权重 + 分层测试集 + 确定性/质量门)。 - 自然语言说明:讲清为何重结果轻路径、如何分层防虚高。
完整模板(含维度权重表、测试集分层模板、质量门 YAML、构建顺序清单)见
references/template.md。
6. 使用示例
输入:
我们做了个研究 Agent,想确认"加记忆"后质量真的提升而不是恰好。怎么评估才不骗自己?
输出(节选):
EvalFramework:{dimensions:[{name:"factual_accuracy",weight:0.3,min_pass:0.85},{name:"completeness",weight:0.3,min_pass:0.80},{name:"source_traceability",weight:0.2,min_pass:0.90},{name:"tool_efficiency",weight:0.2}], test_set:{strata:{simple:10,medium:20,complex:15,very_complex:5}}, gates:{deterministic:["schema_valid","required_files_present"], quality:{factual_accuracy:0.85}}, downstream_skills:["advanced-evaluation","context-degradation"]}- 说明节选:"同测试集分别跑'无记忆'与'有记忆'两版,比各维度分与 token。任何单维度低于下限即判不过(防平均掩盖)。先确定性校验结构,再上评委,避免无效工件被分数洗白。分层报告防简单题虚高。"
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供智能体系统评估的完整方法论,涵盖多维 rubric、分层测试集、质量门、生产监控
Highlights
- '何时使用'章节清晰界定适用对象与边界,触发词完整,边界清晰
Highlights
- 结构完整,含角色目标、工作流、互操作、输出规范、使用示例,frontmatter 完整
Highlights
- 方法论成熟,维度定义清晰,分层测试集与质量门机制合理,确定性校验前置
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.