Logo Uig

Uig

Tổ chức
Calibre-Labs
uig

Tạo Lưới đầu vào người dùng (User Input Grid, UIG) cho một sản phẩm hoặc tính năng AI, đánh giá các bộ dữ liệu eval hiện có dựa trên lưới này và đề xuất đầu vào mới để lấp các khoảng trống về độ bao phủ. Dùng kỹ năng này khi có người yêu cầu thiết kế khung eval, kiểm tra bộ dữ liệu kiểm thử, xây dựng “lưới đầu vào người dùng”, “ma trận truy vấn tổng hợp” hoặc “SQM”, cải thiện độ bao phủ của bộ dữ liệu, hay đánh giá xem các bài eval offline có phản ánh đúng những gì người dùng thực tế sẽ gửi hay không. Cũng kích hoạt khi họ chia sẻ lĩnh vực sản phẩm cùng bộ dữ liệu mẫu và muốn biết bộ dữ liệu còn thiếu gì, hoặc đang thiết lập eval từ đầu cho một tính năng AI mới. Kết quả là một tệp Markdown (khung UIG + đánh giá bộ dữ liệu + đề xuất), được lưu trong thư mục dự án hiện tại.

Add to TypingMind

Tổng quan

Nhà phát hànhCalibre-Labs
Kho mãreforge-ai-evals
Tên kỹ nănguig
Sao
94
Bản fork
9
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Calibre-Labs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Uig trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/uig
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Calibre-Labs/reforge-ai-evals.git /tmp/reforge-ai-evals
mkdir -p .claude/skills
cp -r /tmp/reforge-ai-evals/skills/uig .claude/skills/uig
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Uig trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Uig ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Uig với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

User Input Grid Skill

A User Input Grid (UIG) — also called a Synthetic Query Matrix (SQM) — is a structured framework for ensuring eval coverage of an AI product reflects the real diversity of users, content domains, input types, and input styles the system will face in production. It comes from the Reforge AI Evals curriculum and a few teams at Amplitude, Linear, and Notion have published versions of it.

The core idea: pick 3–5 dimensions that drive meaningful diversity in your product, define 4–7 values per dimension, and treat the cartesian product (pruned for plausibility) as your eval sourcing matrix. A 4-dimension grid with average ~5 values per dimension gives ~625 theoretical combinations — practical eval sets land at 30–80 high-coverage inputs after pruning.

The reason this matters: most AI eval datasets are built from one of three weak sources — engineer intuition (overfits to features the engineer knows about), real-user logs (overfits to common easy cases users actually try), or synthetic generation without a framework (random uneven coverage). A UIG forces you to be deliberate about what you're testing, makes gaps visible, and gives you a shared vocabulary with the product team for talking about coverage.

When to use this skill

This skill triggers in three modes — be explicit about which one you're in before starting:

  1. Greenfield UIG — designing a UIG for a new AI product/feature with no existing dataset. Workflow ends at "framework + example inputs to seed the dataset."

  2. Audit existing dataset(s) — there are one or more eval datasets and you want to know what they're missing. Workflow includes evaluating each dataset against the UIG with STRONG/PARTIAL/WEAK coverage ratings, surfacing gaps, and recommending additions.

  3. Both — design the UIG informed by patterns in the existing dataset, then audit the dataset against the UIG. This is the most common case when a team has been building evals ad-hoc and wants to put structure around them.

If the mode isn't specified, ask in one short question, then proceed.

Workflow

Step 1 — Understand the product

Before designing dimensions, you need to know: what does this AI product do, who uses it, what data does it have access to, what tools does it call, and what does success look like? Don't skip this — a UIG built without product understanding produces generic dimensions that don't catch real failure modes.

If the user has shared product docs, sample inputs, system prompts, or tool definitions, read them first. If you don't have enough context, ask 2–3 specific questions — not a generic interview. Examples: "What actions can the AI take? Are there topics it explicitly can't handle? What are the most common user goals?"

Step 2 — Read the dataset(s) if any exist

If there are existing datasets, read them before designing the UIG. Real input data is the best signal you have. Look for:

  • Persona signals — are there user-type labels in metadata? Do inputs imply different user contexts (new user, power user, admin, customer vs. employee)?
  • Domain coverage — what topic areas do inputs touch? What's missing from the inputs that the product clearly supports?
  • Input type distribution — how many action instructions vs. information requests vs. multi-step tasks vs. ambiguous inputs?
  • Style patterns — are inputs well-specified, vague, count-only, edge cases?
  • Scoring criteria quality — are pass/fail criteria deterministic, or vague LLM-judge prompts? Watch for OR conditions ("X or asks for clarification") that make the test always pass.

This "dataset-first reading" surfaces dimensions you'd never invent from first principles.

Step 3 — Design the dimensions

Pick 3–5 dimensions. Fewer than 3 and the grid doesn't drive enough diversity; more than 5 and the cartesian product explodes and the dimensions start overlapping conceptually.

Two dimensions are nearly universal for any AI product. Use these as defaults, adapted to context:

Input Type — what the user is asking the AI to do
ValueDefinitionExample
Action instructionDirect the AI to perform an operation"Update the Nike opportunity to Closed Won"
Information requestAsk the AI to retrieve or explain something"What's the status of case #12345?"
AggregationCompute or summarize across a set"How many open P1 cases do I have this week?"
Multi-stepChain of operations in one input"Find at-risk accounts and draft outreach emails"
Clarification / follow-upContinue or refine a prior turn"Actually, make the tone more formal"
Ambiguous / under-specifiedIntent unclear, AI must resolve"Handle this" with no supporting context
Edge / out-of-scopeOutside the AI's topics or capabilitiesA request the system is not designed to fulfill

For products with workflow-triggered inputs (no user text — an automated record or event fires the AI): add Automated trigger as a value and ensure your eval dataset includes both human-initiated and system-initiated inputs.

For AI products with traditional search/query interfaces, "Action instruction" may be rare and "Lookup" a better fit — adapt the values to what users actually send.

Input Style — how well-formed or specified the input is
ValueDefinitionExample
Well-specifiedComplete, unambiguous, all context presentClear intent, named entities, no missing fields
Under-specifiedMissing context or intent the AI must inferVague instruction, implied subject, no record ID
Multi-constraintMultiple conditions that must all be satisfied"Empathetic but firm, under 100 words, no jargon"
Jargon-heavyDomain- or org-specific terminologyInternal product codes, CRM field names, acronyms
Edge / out-of-scopeImpossible, self-contradicting, or out of boundsRequest the AI cannot or should not fulfill

Two dimensions are always domain-specific and need to be derived from the product:

  • User Persona — different user types whose context changes what a good response looks like. Don't fall back to "novice / intermediate / expert" — that's a smell. Real personas are defined by their goals and context (e.g. "sales rep closing deals" vs. "service agent handling escalations" vs. "customer self-serving on a portal").
  • Data/Content Domain — the distinct topic areas, capability surfaces, or data categories the product covers. This is the dimension you most need the dataset to inform — first-principles drafts almost always miss something.

For agent products, consider a fifth dimension: Action/Output Type — what the AI produces (drafted email, updated record, routing decision, summary, action refusal). This catches output format and action correctness bugs that input-diversity dimensions alone won't surface.

For each dimension, define 4–7 values. Each value needs a short justification (one sentence on why it's distinct from the others) and a characteristic example input showing what it generates.

Step 4 — Write the UIG markdown file

Ask the user where to save the output. Default: <product-name>-uig.md in the current working directory.

Structure the file as follows:

# [Product Name] User Input Grid
Brief intro paragraph — what product, what the UIG covers, target dataset size.

## Dimensions Overview
Summary table: Dimension | Values | Notes

## [Dimension 1] — [Name]
Table: Value | Definition | Example Input | Why distinct
Notes on judgment calls made.

## [Dimension 2] — [Name]
...

## Example Input Combinations
Table of 8–12 rows sampling the grid: one row per combination, with a concrete example input.
This forces you to verify each combination produces a sensible, testable input.

## Dataset Evaluation  ← only in modes 2 and 3
Per-dataset coverage tables and overall summary.

## Recommendations
Prioritized gap list with example inputs.

The example inputs section is important — it makes the abstract grid concrete and forces you to verify that each combination produces a sensible input. If a combination feels nonsensical when you try to write an input for it, that's a signal the grid has an implausible region you can prune.

Step 5 — Evaluate datasets against the UIG (if mode 2 or 3)

For each dataset, rate coverage on each dimension as STRONG / PARTIAL / WEAK:

  • STRONG — most values represented, with clear examples
  • PARTIAL — some values present, others noticeably missing
  • WEAK — only one or two values covered

For each (dataset × dimension) cell, write a one-paragraph note covering: what's present, what's missing, and the practical implication of the gap. The implication matters more than the gap itself — "no multi-step inputs" is a fact; "the AI could score 95% on this dataset and still be broken when users chain two operations in a single message" is the point.

Seven common failure patterns to watch for:

  1. Persona collapse — all inputs written from one user type's perspective; the dataset silently assumes a single user context even though the product serves multiple roles.
  2. Instruction skew — too many freeform instructions, missing information requests, aggregations, or structured/triggered inputs that the product clearly handles.
  3. Advice-without-criteria — eval rows that test for "good response" but provide no falsifiable scoring criterion. If two evaluators would disagree on pass/fail, the criterion isn't ready.
  4. OR-condition trap — scoring criteria phrased as "output contains X or asks for clarification." This always passes because a confused AI can always ask for clarification. Split into two separate eval rows.
  5. Real-input feedback loop — dataset built entirely from real user logs, which overfit to the common easy cases actual users send. Rare but high-stakes inputs never appear.
  6. Missing comparison/trend — time-period and multi-entity inputs are consistently absent because they're harder to write; they're also where AI products frequently fail.
  7. Output-quality vs. input-diversity confusion — hallucination tests (output quality checks) mixed into a coverage dataset (input diversity checks). These need separate eval strategies.

After per-dataset tables, write an overall coverage summary combining all datasets, then a recommendations section prioritized by impact:

  1. Input types that are entirely absent — highest-priority gaps; nothing in the eval suite catches these failure modes.
  2. Cross-dimension combinations that span two gap areas — catch coordination bugs.
  3. Persona-differentiated inputs where the persona context meaningfully shapes the right response.
  4. Out-of-scope and edge-case inputs that test graceful decline or scope clarification.
  5. Output-quality / hallucination tests for high-stakes domains.

For each recommendation, give 3–6 example inputs with dimension labels and what the test should verify. Don't just say "add multi-step inputs" — write the actual inputs.

Step 6 — Expand the dataset (if requested)

If asked to "expand the dataset" or "fill the gaps", generate a fresh markdown file with 30–80 new inputs organized by the gap they fill, each tagged with persona / domain / input type / style. For every input, include an evaluable scoring criterion.

The OR-condition trap: Never write a scoring criterion as "output does X or asks for clarification." That criterion always passes — any AI can deflect with a clarifying question. Instead, split into two rows: one where input is clear and the AI must act, one where input is genuinely ambiguous and graceful clarification is the right response.

Don't generate from random combinations. Walk through the gaps in priority order and write inputs deliberately. Aim for inputs that look like what a real user would actually send — including partial information, casual phrasing, frustration, and incomplete context when that's how real users communicate.

Output Format

Default to markdown. Ask the user where to save; if unspecified, save to <product-name>-uig.md in the current working directory.

For UIGs with rich tables that benefit from visual layout, an HTML file is also acceptable as a secondary format. Markdown is the default.

Working Notes

  • Don't skip the dataset reading step. First-principles UIGs miss things real data would surface. Even 15 minutes reading a sample of real inputs will reshape the grid.

  • Resist the urge to make dimensions orthogonal at all costs. Some overlap is fine if it produces meaningful coverage. "Input Type" and "Input Style" partially overlap (an ambiguous input is often also under-specified) but they catch different failure modes — ambiguous tests whether the AI resolves intent correctly, while under-specified tests whether it asks the right clarifying question.

  • A UIG with 4 dimensions averaging 5 values gives 625 combinations. You don't need eval coverage of all 625 — you need coverage of the dimensions, not the full cartesian product. 30–80 deliberately chosen inputs that hit each dimension value at least 3 times is much more valuable than 500 random combinations.

  • Tables of dimension values should be readable on their own. Someone glancing at the UIG summary table without reading the body should immediately understand the framework. Use short value names (1–3 words) and put the longer descriptions in the per-dimension sections.

  • The goal isn't "coverage of every value" — it's catching failure modes the team didn't anticipate. When you write the recommendations section, lead with what would have been caught if these inputs had been in the eval set. That framing turns abstract coverage gaps into concrete reasons to invest.

  • For conversational / multi-turn agents, include at least a few multi-turn sequences in the dataset — not just isolated inputs. A clarification / follow-up row is only testable in context of the prior turn. Flag these explicitly in the dataset with a multi_turn: true tag.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Uig làm được gì?

Tạo Lưới đầu vào người dùng (User Input Grid, UIG) cho một sản phẩm hoặc tính năng AI, đánh giá các bộ dữ liệu eval hiện có dựa trên lưới này và đề xuất đầu vào mới để lấp các khoảng trống về độ bao phủ. Dùng kỹ năng này khi có người yêu cầu thiết kế khung eval, kiểm tra bộ dữ liệu kiểm thử, xây dựng “lưới đầu vào người dùng”, “ma trận truy vấn tổng hợp” hoặc “SQM”, cải thiện độ bao phủ của bộ dữ liệu, hay đánh giá xem các bài eval offline có phản ánh đúng những gì người dùng thực tế sẽ gửi hay không. Cũng kích hoạt khi họ chia sẻ lĩnh vực sản phẩm cùng bộ dữ liệu mẫu và muốn biết bộ dữ liệ...

Vì sao nên dùng Uig trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Uig là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Uig trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/uig. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Uig?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Uig với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Uig với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Uig có miễn phí không?

Có. Kỹ năng này được Calibre-Labs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇