← 返回列表
全部 Skill›工具 Tools›n8n-create-instance-ai-eval

n8n-create-instance-ai-eval

作者 @n8n-io · 语言 en
Authors a new Instance AI workflow or Agent eval case — written locally as JSON, calibrated against a real build, then pushed to the LangTracer suite CI runs — build cases, behaviour/process cases, credential cases, and seeded (mid-conversation) cases — with intent-driven expectations. Use when adding or changing an Instance AI eval, or debugging why one is flaky.
工具 Tools调试工具通用访问网络读写文件待翻译
存储库
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
210,427
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Create an Instance AI eval

Each eval is one JSON case. Author workflow cases in

packages/@n8n/instance-ai/evaluations/data/workflows/. Author standalone Agent

cases in packages/@n8n/instance-ai/evaluations/data/agents/ and follow the

create-agent-builder-eval skill.

The disk loader auto-discovers *.json in both directories. A LangTracer suite

is the durable home. Cases validate against

harness/schema.ts

(.strict() — unknown keys fail at load). The eval

README is the

exhaustive field reference; this skill is the opinionated *how*.

**Committing new case JSONs into the repo is no longer the recommended
approach.** Author the file locally (uncommitted), calibrate it against a real
build, then push it to a lang-tracer suite with eval:langtracer-push
(see Push to a lang-tracer suite) —
the suite the driver chose (see
Ask for the target suite first) —
baseline for the consolidated corpus n8n CI runs, or a dedicated
capability suite like agents.
The suite is the home for the case; the eval CLI reads it back via
--source langtracer. You still write the JSON file — it's just the input to
the push, not a committed artifact.
Seeded cases. An inline seed pushes with the case — the case-write API
stores it verbatim, so the suite is its home like any other case. Only a
seed.mode: "replay" case is refused (listed under skipped:): it's
reconstructed from a LangSmith trace at run time, so it dies when that trace is
pruned and has no durable home. Don't commit a replay case either — derive a
synthetic case from it. See case-shapes.md.

Ask for the target suite first

**Before you source, draft, or run anything, ask the driver which LangTracer

suite receives every eval you create in this session.** Ask this in both

autonomy levels, including autonomous mode. Never pick the suite yourself and

never default silently. A case pushed to the wrong suite runs in the wrong CI

lane and alerts the wrong team.

Ask the suite question and the autonomy question together, in one message.

Recommend baseline:

  • baseline (recommended): the general corpus. The Instance AI (INS) team

monitors it, and it runs nightly.

  • Any other suite, such as agents or node-gauntlet: call list_suites and

offer the live list. Do not use a hardcoded list, because suites are added

and retired.

Rules:

  • The driver's answer applies to all cases in the session. Do not ask again per

case.

  • If the driver already named a suite in the request, state it back in one line

and continue. Do not ask again.

  • Check that the suite kind matches the case. Push a case with a wrong build

(capability_gap) only into a suite that allows that kind. If the suite does

not allow it, tell the driver and ask again.

  • Put the chosen suite slug in the final decision log, as a link.

Set the autonomy level first

**Before you source, draft, or run anything, decide how hands-on the driver

wants to be — and say it back.** This skill runs at one of two autonomy levels.

If the request makes the level clear ("just author and calibrate it yourself" vs.

"stop me at each step", or an explicit mode), adopt it, state it in one line, and

note how to override (e.g. "say 'stop me at calibration' to add a checkpoint").

If it's not clear, ask the driver one question offering the two levels

*before* doing any work.

The skill has four natural decision gates — selection (which real

failure to encode), shape + expectations (archetype, must-haves, scope

trim), calibration (classify each red and resolve keep/loosen/drop), and

push (kind + tier). The level decides what happens at each gate:

| Level | Who decides when to stop | Behaviour |

|---|---|---|

| autonomous | agent | Runs all four gates start-to-finish; reports a decision log at the end for the driver to review — with the pushed case, its suite, and the source thread as links (Share links, never bare ids); includes the observation id when the driver opted to record one; and includes a Linear ticket proposal for any kept capability-gap red (Capability gap → propose a Linear ticket). |

| checkpoint | driver, per gate | Stops at each gate with a compact proposal + recommendation; driver says "go" or redirects. At the calibration gate, hands the driver a link to the just-built thread on the live instance plus login credentials so they can review the real conversation and workflow themselves before confirming (below). |

Calibration is special-cased at both levels. A calibration verdict that

flips a case's *meaning* — a real capability-gap red vs. a harness-caused red, or

any loosening that would let a known-bad build pass — is surfaced explicitly

(interactively in checkpoint; in the decision log in autonomous), never silently

committed. It's the one call where a quiet mistake corrupts the suite, so it

never fully auto-commits.

Recording a source observation is optional, not a fifth gate. After a real

thread passes selection, offer to save why it was selected and what the developer

observed with LangTracer's create_observation tool (see

[sourcing-cases.md](sourcing-cases.md#optional-record-the-selection-as-an-

评论
Nn8n-io
n8n-io
n8n-io/n8n
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@n8n-io
所属大类工具 Tools / 调试工具
国内可用性通用
最近源活动—
风险提示访问网络、读写文件
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。