tables-error-sweep
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "tables-error-sweep":https://skillpi.com/zh/skills/deepskill-3dd7750628945ebf0c5f60d7b05dd1b175e935ddb4defbed7149a1ac4927d603。安装前核对上游来源和版本:https://github.com/clay-run/agent-plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Clay 表格 — 扫描表格中的错误行,并按根本原因(而非具体记录)进行分组报告。适用于用户询问“{表格}中有什么错误?”、“显示失败的行”或“{操作}是否失败?”等情况。
介绍来源: third_party · clay-run · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: tables-error-sweep
description: Clay tables — sweep a table for errored rows and report grouped by root cause (not a specific record). Use when the user asks "what's erroring in {table}?", "show failed rows", or "is {action} failing?".
allowed-tools: Bash(clay *), Bash(jq *), ReadError sweep
Use when: "what's erroring in {table}?", "show failed rows", "is {action} failing?" — a table-level question with no specific record in hand. Goal: find the errored rows, read their messages, and report grouped by root cause, not row by row.
Only action columns can be in error. basic and source columns don't error (a formula-backed basic can, rarely), so the sweep is about action columns.
1. Understand the table first
Before sweeping, learn what can error.
- Resolve the table as in the tables entry-point skill ("Finding a table").
- Run
clay tables get <tableId>and note itstypeandrowCount. clay tables columns get <tableId>(shape in the command's--help). Build the picture:- Which columns are
type: "action"— these are the ones that fail. Keep af_id → namemap for readable reporting. - For each action column, note
authAccountId(auth-related failures),conditionalRunFormulaText(a gate — a skipped action usually shows asempty, not a failure), andinputsBinding(what feeds it — needed if a failure turns out to be a bad/missing input).
- Which columns are
- If the table has no action columns, errors are unlikely — say so, and confirm with a one-page scan (step 3) before concluding.
2. Settle the scope: one column or general
- User named a specific action ("is Enrich Company failing?") → map that name to its
f_idfrom step 1 and scope the client-side filter (step 3) to that column. - User asked generally ("what's erroring?") → sweep across any column in
error. - Ambiguous name / multiple action columns match → show the action columns and let the user pick, or default to the general sweep and break the results down by column.
3. Find the errored rows
Cell status isn't filterable server-side on either path, so a sweep pages through the rows and picks out the errored cells client-side. Choose the scan by table type, then whether a normal table is query-enabled:
Bulk enrichment table → inspect one retained-row sample. Do not use the query-enabled path or attempt a full sweep. These tables return truncated: true with one unfiltered, cursorless sample of at most 20 currently retained rows, and completed rows may already have been deleted:
clay tables rows list <tableId> --limit 20 | jq '{truncated, errored: [ .data[] | { id, cols: (.cells | to_entries | map(select(.value.status == "error")) | map(.key)) } | select(.cols | length != 0) ]}'
Continue to step 4 for those row ids. Report the number of retained rows inspected and call the result sample-only; never claim a full-table error count. If the sample is empty, say that no retained rows were available to inspect, not that the table has no errors.
Query-enabled normal table → scan with tables query. Each cell comes back with its status and, on an error, its error message — so one pass finds the failures and their messages (skip step 4). Paginate via the top-level cursor:
echo '{"tables":[{"id":"t_abc123"}]}' | clay tables query --query - --limit 100 | jq '{next: .cursor, errored: [ .data[] | [ to_entries[] | select(.value.status == "error") | { col: .key, msg: .value.error } ] | select(length != 0) ]}'
Not query-enabled → walk clay tables rows list pages and filter client-side on cell status (list output carries every cell's status); the full messages then come from rows get (step 4). Don't enable sync just for a sweep — it's an escalation that costs a limited slot.
# One page: errored rows and which columns errored (add more pages via .cursor)
clay tables rows list <tableId> --limit 100 | jq '{next: .cursor, errored: [ .data[] | { id, cols: (.cells | to_entries | map(select(.value.status == "error")) | map(.key)) } | select(.cols | length != 0) ]}'
Paginate via the top-level cursor (pass it back with --cursor) until it's absent. A listing covers the rows that existed when its first page was fetched, so the walk terminates even on an actively-importing table. Use rowCount from clay tables get to budget: a full sweep of a big table is rowCount / limit calls under the rate limit — for very large tables, sample pages first and say you sampled.
4. Read the error messages
Only needed for the rows list path — if you swept via tables query, the messages are already in that result, so skip to step 5. The rows list scan tells you which rows and columns erred, but its error strings are abbreviated labels; the full messages live on clay tables rows get:
clay tables rows get <tableId> <rowId> | jq '.cells | to_entries | map(select(.value.status == "error")) | map({col: .key, msg: .value.error})'
Respect the rate limits — batch rows get calls in small groups (≈3) and back off on exit 4 (rate_limited, honor details.retryAfter).
Don't silently cap. If there are many errored rows, you usually don't need to fetch all of them to characterize the failure — fetch until the set of distinct messages stabilizes (new rows stop introducing new messages), then state how many rows you sampled out of the total (rowCount from clay tables get, and the ids you collected). Never imply full coverage when you sampled.
A single row can have multiple errored action cells (general sweep). Capture each errored cell, and map col back to the column name from step 1.
5. Diagnose — group by root cause
Aggregate the {col, msg} pairs across rows. Group by message (normalize near-identical messages — strip row-specific values like emails or ids so "No email for john@x" and "No email for jane@y" collapse to one cause). For each group, infer the cause using what step 1 told you:
| Message pattern | Likely root cause | Direction |
|---|---|---|
| "rate limit", "429", "quota", "throttled" | Provider throttling on this action | Usually transient — retriable; check customRateLimitRules / batchRunSettings |
| "invalid api key", "unauthorized", "auth", "credential" | The action's connected account (authAccountId) is bad/expired |
Reconnect the integration account |
| "no {x} found", "no input", "missing", empty-input | An upstream column produced nothing, so this action had no usable input | Trace the input (inputsBinding → upstream column) — hand to /tables-value-trace |
| "run condition not met" / conditional gate | Not a real failure — conditionalRunFormulaText evaluated falsy and the action was intentionally skipped |
Usually expected; note a gated skip more often shows as empty than as an errored cell |
| provider-specific error text | The downstream provider rejected the request | Read the message literally; often a data-quality issue in the input |
Separate genuine failures from expected gating. Don't let conditional skips inflate the failure count — call them out separately.
6. Report
Lead with the count and the breakdown by cause; put the analysis, not the raw rows, front and center.
Lead Enrichment — 37 rows with errored action cells (all 1,543 rows scanned; 12 fetched for messages).
By cause:
• 28 — Enrich Company: "Rate limit exceeded for Clearbit API"
→ provider throttling. Transient/retriable; consider a rate-limit rule or smaller batches.
• 6 — Enrich Person: "No email found for input"
→ upstream "Find Email" returned nothing, so Enrich Person had no email to use.
Root cause is upstream, not this action. (/tables-value-trace Find Email to confirm.)
• 3 — Enrich Person: "Invalid API key"
→ the connected account for this action is expired. Reconnect it.
Root cause: the dominant failure (28/37) is Clearbit throttling on Enrich Company —
retriable and not a data problem. A secondary cluster traces back to Find Email
producing no email upstream.
If a normal-table sweep found no errored cells, report that nothing is currently erroring — and if the underlying complaint was "rows aren't appearing," redirect to /tables-capacity (a full table looks like a failure but produces no errored cells). For a bulk enrichment sample, report only that no errors appeared in the retained rows inspected; an empty sample proves neither that the table has no errors nor that it has a capacity problem.
Hand-offs
- A specific errored row the user wants to understand end-to-end →
/tables-trace. - An error that traces to a bad/missing input →
/tables-value-trace(walkinputsBindingupstream). - "Rows aren't appearing" with no errors found →
/tables-capacity.
版本历史
-
clay-cli-v1.22.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.22.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay ad-syncs trigger <adSyncId>` starts an export of an ad sync’s audience to its destinations: a draft’s first trigger starts the sync, later triggers run it again, and a paused sync resumes. - When a command fails because of a plan limit, the agent shows the upgrade link from the error and offers a way to continue without the gated feature. - Various bug fixes and stability improvements.
-
clay-cli-v1.21.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.21.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay knowledge-hub skills create` saves agent skills to the workspace and resolves duplicate names without overwriting existing skills. - Various bug fixes and stability improvements.
-
clay-cli-v1.20.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.20.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs bulk pause`, `resume`, and `stop` control many runs; `clay workflows triggers list` lists assignments and schedules, and `update --resume-paused-runs` resumes paused runs with a trigger. - `clay workflows groups publish-as-function` creates reusable functions; the Workflows and Enhanced Match skills guide Classify routing and hashed-email enrichment, and `clay workflows runs get` shows waterfall provider names. - `clay audiences activities` reads and summarizes record activities, retrieves Gong transcripts, and searches call content; `clay audiences records get` includes related-record references. - `clay searches query-mode reference --sections` retrieves selected reference sections. - Various bug fixes and stability improvements.
-
clay-cli-v1.19.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.19.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows nodes insert --help` describes the Classify step: a Use AI step that sorts each record into one of a fixed set of categories with GPT 6 Luna or Jev, ready to branch on the chosen category. - `clay ad-syncs destinations delete` removes a destination from a paused or failed ad sync, not only a draft. - `clay searches preview` output includes `preview.isCurrent`, which says whether the stored preview still matches the search's current configuration. - Various bug fixes and stability improvements.
-
clay-cli-v1.18.0
GitHub ↗
原版更新说明
Standalone Clay CLI 1.18.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs steps` accepts `--omit-payloads` to list steps without their input and output data, and `--step-ids s1,s2` to fetch selected steps using comma-separated IDs, up to 50 per request. - Various bug fixes and stability improvements.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 Clay 表格错误行的扫描与根因分析,解决用户在数据集成、自动化任务中常见的错误排查痛点
- 提供分组报告机制,按根本原因而非具体记录归类,显著提升问题诊断效率
- 覆盖多种表格类型(普通表、批量富化表)和查询模式,适用场景广泛
待提升项
-
缺少 When to Use 显式章节标题 原报告严重程度:轻微
文档中已有实质性的使用场景描述(Use when),但未使用标准章节标题格式
改进建议:建议添加显式的 'When to Use' 章节标题以提升规范性
亮点
- 触发词覆盖多种自然语言变体(what's erroring/show failed rows/is {action} failing)
- 边界清晰,明确区分表格级问题与具体记录问题
- 适用场景描述具体且可操作
亮点
- 6个阶段划分清晰(理解表格→确定范围→查找错误行→读取消息→诊断分组→报告)
- 每个阶段包含具体命令示例和异常处理说明
- 提供完整的端到端报告模板和 hand-off 指引
亮点
- 工具来源明确(clay tables 系列命令),参数使用正确
- 覆盖主要异常场景:分页处理、rate limit 处理、采样策略说明
- 对不可靠操作有明确警示(如不静默截断、区分采样与全量扫描)
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 78, 98 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。