config-evals

使用 eval-config 在工作流中构建和维护基于配置的评估:当用户要求设置、添加、查看、更改或移除评估、评分或等级,或判断工作流输出质量,或根据测试数据集衡量答案质量时使用。此为 Instance AI 唯一处理的评估形式,不涉及画布上的评估节点。推荐工具:eval-config、data-tables;平台:daytona。

仓库最近推送
GitHub Stars
212,639
Forks
61,711
Issues / PRs
308

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "config-evals":https://skillpi.com/zh/skills/deepskill-e2faf175fa6fce857320511d5c5c91262174bbe909cd6d004b95a00a84287c2b。安装前核对上游来源和版本:https://github.com/n8n-io/n8n。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 eval-config 在工作流中构建和维护基于配置的评估:当用户要求设置、添加、查看、更改或移除评估、评分或等级,或判断工作流输出质量,或根据测试数据集衡量答案质量时使用。此为 Instance AI 唯一处理的评估形式,不涉及画布上的评估节点。推荐工具:eval-config、data-tables;平台:daytona。

0 下载

介绍来源: third_party · n8n-io · 1.0.0 参考来源

SkillPi 解读

能完成的任务
来源文档未说明。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: config-evals
description: >-
  Builds and maintains configuration-based evaluations on a workflow with the
  eval-config tool. Use when the user asks to set up, add, view, change, or
  remove an evaluation, score, grade, or judge a workflow's output, or measure
  answer quality against a test dataset. This is the only eval form Instance AI
  handles — it does not touch on-canvas evaluation nodes.
recommended_tools:
  - eval-config
  - data-tables
platforms:
  - daytona

Config-based Evaluations

Use this skill to attach a configuration-based evaluation to a workflow with the eval-config tool. A config eval pairs a workflow with a name, a start node, an end node, one or more judged metrics, and a Data Table dataset. Nothing is added to the canvas — the config lives off-canvas via the evaluation-config API.

Config evals are the only evaluation form you work with. Do not add, read, rewire, or reason about on-canvas evaluation nodes (EvaluationTrigger, Evaluation/checkIfEvaluating/setOutputs/setMetrics). If the user asks for those, build a config eval instead and briefly say that is how you set up evaluations.

What a Config Eval Needs

  • name — a human-readable evaluation name.
  • startNodeName — the node where a run begins; it is fed one test-input row. Must be a node with an incoming connection — never a trigger (see step 2).
  • endNodeName — the node whose output is judged.
  • dataTableId — a Data Table holding the test dataset. Create and populate it with the data-tables tool first, then link it here by id.
  • metrics — one or more judged metrics (see below).

Default Procedure

  1. Identify the target workflow and read it. Trace the main path from trigger to the node that produces the answer.
  2. Pick the nodes:
    • startNodeName is the first node after the trigger — the node that receives the input the dataset varies. Never use the trigger itself: an eval run swaps the trigger for a dataset-driven one, so the start node must have an incoming connection or the run fails to compile. For a chat/agent workflow this is usually the agent node (often the same as endNodeName).
    • endNodeName is the node whose output you want scored (usually the AI agent or the final response node).
  3. Resolve the dataset. Call data-tables(action="list") to find an existing dataset, or create and seed one with data-tables before creating the config. Never invent a dataTableId; use one returned by data-tables.
  4. Choose metrics and build the actualAnswer / expectedAnswer / userQuery expressions (see Metrics).
  5. Call eval-config (action="create"), or update when changing an existing config. The tool shows an approval card automatically — call it and respect the result; do not ask for chat approval first.
  6. Close with facts: evaluation name, workflow, start/end nodes, dataset name and id, and the metrics configured.

Metrics

Each metric is LLM-judged and needs a judge model: a credentialId, a model, and an outputType (numeric, the default, or boolean). Reuse an LLM credential the workflow already uses when one fits.

Do not set provider unless you know the exact chat-model node type — it is derived automatically from the credential you pass (each credential type maps to one provider). Just pick the credential and the model.

Two presets are available:

  • correctness — compares the produced answer to a ground-truth answer. Requires expectedAnswer (an n8n expression resolving to the ground-truth value, typically a dataset column, e.g. ={{ $json.expected_output }}).
  • helpfulness — judges the produced answer against the user's query. Requires userQuery (an n8n expression for the input the user asked, e.g. ={{ $json.input }}).

Every metric also needs actualAnswer: an n8n expression resolving to the workflow's produced answer at the end node, e.g. ={{ $json.output }}.

userQuery and expectedAnswer name dataset columns (the input the user asked; the ground-truth answer). actualAnswer names a field of the workflow's produced output. Write all of them as ={{ $json.<name> }} — the evaluation reads dataset columns from the dataset row and actualAnswer from the end node automatically. Do not reference the trigger or any node by name.

Expression fields must begin with =

actualAnswer, userQuery, and expectedAnswer are n8n expressions — they read a value out of each test row at runtime. The leading = is what tells n8n to evaluate the {{ … }} template. Without it the string is stored as literal text: the field shows {{ $json.output }} verbatim and the judge scores that raw string instead of the resolved value.

  • Correct: ={{ $json.output }}, ={{ $json.expected_output }}
  • Wrong: {{ $json.output }} (no = → treated as fixed text)

Only add = when the value references workflow data via {{ … }}. A genuinely fixed constant (rare for these fields) is written as plain text without =.

Pick correctness when the dataset has a known right answer to compare against; pick helpfulness when there is no single ground truth and quality is judged relative to the request. Use prompt only to override the default judge prompt.

Dataset Boundary

  • Build the dataset with the data-tables tool: one column for each input the evaluation varies, plus a ground-truth column when using correctness.
  • The config only references the dataset by dataTableId; the eval-config tool does not create or populate rows. If no suitable dataset exists, create one first, then create the config.
  • Do not weaken the evaluation to fit a thin dataset — seed the dataset to match the metrics, or ask the user for the expected answers.

More Detail

Use references/config-eval-playbook.md for tool-call recipes, worked examples, and output shapes.

版本历史

  1. [email protected] GitHub ↗
    原版更新说明

    ## [1.123.100](https://github.com/n8n-io/n8n/compare/[email protected]@1.123.100) (2026-11-20) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/n8n-io/n8n/pull/44590?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/n8n-io/n8n/44590?returnTo=https%3A%2F%2Fgithub.com%2Fn8n-io%2Fn8n%2Fpull%2F44590&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->

  2. stable GitHub ↗
    原版更新说明

    ## [2.48.7](https://github.com/n8n-io/n8n/compare/[email protected]@2.48.7) (2026-11-20) ### Bug Fixes * **core:** End memory guard hold when hold-limit stop frees no memory ([#44463](https://github.com/n8n-io/n8n/issues/44463)) ([22643e1](https://github.com/n8n-io/n8n/commit/22643e170e5ae7ddc86bb61b7d1d5d9e1aab1486)) * **core:** Store plain input data in the error output of scripting nodes ([#44530](https://github.com/n8n-io/n8n/issues/44530)) ([c26c923](https://github.com/n8n-io/n8n/commit/c26c923b248d33e80aad51a7abc80aa07eb6c595)) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/n8n-io/n8n/pull/44594?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/n8n-io/n8n/44594?returnTo=https%3A%2F%2Fgithub.com%2Fn8n-io%2Fn8n%2Fpull%2F44594&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->

  3. [email protected] GitHub ↗
    原版更新说明

    ## [2.48.7](https://github.com/n8n-io/n8n/compare/[email protected]@2.48.7) (2026-11-20) ### Bug Fixes * **core:** End memory guard hold when hold-limit stop frees no memory ([#44463](https://github.com/n8n-io/n8n/issues/44463)) ([22643e1](https://github.com/n8n-io/n8n/commit/22643e170e5ae7ddc86bb61b7d1d5d9e1aab1486)) * **core:** Store plain input data in the error output of scripting nodes ([#44530](https://github.com/n8n-io/n8n/issues/44530)) ([c26c923](https://github.com/n8n-io/n8n/commit/c26c923b248d33e80aad51a7abc80aa07eb6c595)) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/n8n-io/n8n/pull/44594?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/n8n-io/n8n/44594?returnTo=https%3A%2F%2Fgithub.com%2Fn8n-io%2Fn8n%2Fpull%2F44594&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->

  4. [email protected] GitHub ↗
    原版更新说明

    ## [1.123.99](https://github.com/n8n-io/n8n/compare/[email protected]@1.123.99) (2026-11-19) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/n8n-io/n8n/pull/44433?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/n8n-io/n8n/44433?returnTo=https%3A%2F%2Fgithub.com%2Fn8n-io%2Fn8n%2Fpull%2F44433&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->

  5. [email protected] GitHub ↗
    原版更新说明

    ## [2.48.6](https://github.com/n8n-io/n8n/compare/[email protected]@2.48.6) (2026-11-19) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/n8n-io/n8n/pull/44436?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/n8n-io/n8n/44436?returnTo=https%3A%2F%2Fgithub.com%2Fn8n-io%2Fn8n%2Fpull%2F44436&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 提供在工作流中构建和维护基于配置的评估能力,解决用户设置、查看、更改评估等明确需求
  • 属于 Instance AI 平台内的高频刚需功能,直接提升工作流质量衡量效率
触发精准95/100

亮点

  • description 明确列出适用场景(设置、添加、查看、更改或移除评估等),覆盖多种变体,边界清晰
结构规范94/100

亮点

  • 文档结构清晰,分章节说明 What a Config Eval Needs、Default Procedure、Metrics、Dataset Boundary 等
  • 步骤完整,含端到端示例和表达式说明,frontmatter 完整,单文件未超 500 行
执行可靠93/100

亮点

  • 推荐工具 eval-config 和 data-tables 来源明确,参数说明详细(如 action="create")
  • 覆盖主要异常(如表达式必须以 = 开头),不可逆操作通过工具自动显示 approval card 实现确认机制
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 65, 68, 69 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。