Build a custom browser-based annotation interface tailored to your data for reviewing LLM traces and collecting structured feedback. Use when you need to build an annotation tool, review traces, or collect human labels.
中文简介正在准备中。当前显示原文说明。
Run error analysis on a dataset. Build a review UI, select diverse samples, monitor annotations, and organize failure modes.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
You are running an interactive error analysis session. The user has a dataset (JSONL, CSV, JSON, etc.) of LLM outputs or traces and wants to discover failure modes by reviewing samples.
This skill is meant for interactive sessions only.
This skill has two parts:
Read this file first to build everything. Once the app is running and the human starts reviewing, follow review-loop.md.
Each phase takes time, especially building the interface. Tell the user what you are doing at each step. Before starting a phase, say what you are about to do and why. When a step finishes, say what you did and what comes next. For example: "Reading 10 sample records to understand the data shape", "Building the HTML app with three views: article, map, and progress", "Clustering on 5 features to select diverse samples." Do not go silent for long stretches.
Before building anything, study the dataset thoroughly.
Load the file. Examine 5 to 10 records across the distribution. For each record, identify:
The data could take many forms. Determine which pattern fits:
For multi-turn traces specifically, identify:
Think about what differs between data points and within each data point. You will use these dimensions to decide the visual design.
Between data points (vary across records):
Within each data point (vary across parts of one record):
Think of a few plausible failure categories in this domain. Expect the human to discover most of them during review.
Before writing any code, design how every dimension of variation maps to a visual property. Use Gestalt principles and information visualization fundamentals.
Map each dimension of variation to exactly one visual channel. Do not use the same channel for two different things.
Color hue. Use for the categorical dimension with the most important distinction.
Opacity / saturation. Use to show whether the human needs to read this content carefully.
Spacing. Use for hierarchical structure.
Typography. Use for content type.
Border / container. Use for grouping related parts.
Structural outlier flags. Show in the header only, not inline.
http.server, no dependencies):
GET / serves the HTML appGET /api/samples returns the current sample setPOST /api/samples lets the agent push new samplesGET /api/annotations returns the current annotationsPOST /api/annotations lets the app save annotations on every changeGET /api/graph returns the 2D projection of all records for the cluster mapGET /api/patterns returns the agent's current failure mode taxonomyPOST /api/patterns lets the agent push the updated taxonomyGET /api/suggestions returns agent-suggested annotationsPOST /api/suggestions lets the agent push suggestionserror_discovery_data/ directory:
samples.json, annotations.json, graph.json, patterns.json, suggestions.jsonThree views, toggled from the top bar:
Content view design. Apply the visual encoding from Phase 2:
Header: title + label + topic. Keep it minimal. Add structural outlier flags (from Phase 2) only when the record is a genuine outlier.
Body: render the primary content using the appropriate treatment per content type.
For multi-turn traces (agent logs, conversations, chat):
For single text content (articles, summaries, etc.):
For code / diffs:
For input/output pairs:
Inline annotation: the reviewer selects text, a floating popover appears with a text input, they press Enter to save, and the span is highlighted. When the popover appears and the input is focused, the browser clears the native text selection. To prevent this, wrap the selected range in a temporary highlight span (e.g., class "pending-highlight" with a visible background) BEFORE focusing the input. Remove the temporary highlight when the annotation is saved, cancelled, or the popover is dismissed by clicking outside. This way the reviewer always sees what text they are annotating.
Margin notes: annotations and suggestions must appear as side notes in a right margin column, aligned vertically with their corresponding highlighted text. Use a two-column layout: the article body on the left (flex: 1, max-width ~720px) and a margin-notes column on the right (width ~240px). Each margin note is position: absolute inside the margin column, with its top offset calculated from the highlight element's position relative to the margin container (use getBoundingClientRect on both the highlight and the margin container, take the difference — do NOT add scrollTop, as that double-counts the scroll offset). Stack notes with a minimum gap so they do not overlap. Include hover linking: hovering a margin note outlines its highlight, and hovering a highlight outlines its margin note. Each margin note shows the quoted text, the reviewer's note, and edit/delete buttons (visible on hover). Do NOT use hover tooltips as the primary way to show annotation content — margin notes replace tooltips.
Agent suggestions: visually distinct from human annotations in both the inline highlight (dashed border, muted tint) and the margin note (different left-border color, an "agent suggestion" tag). The margin note shows accept/dismiss buttons (always visible, not hover-gated). The reviewer can accept (which promotes it to an annotation) or dismiss.
No quality labels, no dropdowns, no structured forms. Free-text notes only.
Auto-save to server on every change. Keep a localStorage backup.
Poll for new samples and suggestions periodically. Show a banner or toast when new ones arrive.
Map view:
Once the app is running and the human starts reviewing, follow review-loop.md for the ongoing interactive session, including how to monitor annotations as they arrive.
If the session ends before a human can review (a non-interactive run, for example codex exec or claude -p), build and smoke-test the app, then stop the server and give the command to launch it later; never claim the review loop ran or that anything is still running.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Build a custom browser-based annotation interface tailored to your data for reviewing LLM traces and collecting structured feedback. Use when you need to build an annotation tool, review traces, or collect human labels.
中文简介正在准备中。当前显示原文说明。
Audit an LLM eval pipeline and surface problems: missing error analysis, unvalidated judges, vanity metrics, etc. Use when inheriting an eval system, when unsure whether evals are trustworthy, or as a starting point when no eval infrastructure exists. Do NOT use when the goal is to build a new evaluator from scratch (use error-discovery, write-judge-prompt, or validate-evaluator instead).
中文简介正在准备中。当前显示原文说明。
Entry point for evals. Use when the user asks for help with evals, does not know where to begin, or asks for something no other skill in this plugin matches. Do NOT use when a more specific skill in this plugin already matches; load that skill directly.
中文简介正在准备中。当前显示原文说明。
Guides evaluation of RAG pipeline retrieval and generation quality. Use when evaluating a retrieval-augmented generation system, measuring retrieval quality, assessing generation faithfulness or relevance, generating synthetic QA pairs for retrieval testing, or optimizing chunking strategies.
中文简介正在准备中。当前显示原文说明。
Create diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. Use when bootstrapping an eval dataset, when real user data is sparse, or when stress-testing specific failure hypotheses. Do NOT use when you already have 100+ representative real traces (use stratified sampling instead), or when the task is collecting production logs.
中文简介正在准备中。当前显示原文说明。
Calibrate an LLM judge against human labels using data splits, TPR/TNR, and bias correction. Use after writing a judge prompt (write-judge-prompt) when you need to verify alignment before trusting its outputs. Do NOT use for code-based evaluators (those are deterministic; test with unit tests per `write-code-eval`).
中文简介正在准备中。当前显示原文说明。