clay-run/agent-plugins/tables-analyze
Claude Code and agent skill by clay-run/agent-plugins
- community
Checking that the SKILL.md file is still in the repository.
Clay tables — analyze what a table does: reconstruct the column DAG, stage it, and narrate the workflow encoded in its columns. Use when the user asks "what does this table do?", "explain the {table} workflow", "walk me through this table", or "what''s set up here?".
Install
npx vskill@latest install clay-run/agent-plugins/tables-analyzeSKILL.md
Analyze a table
Use when: "what does this table do?", "explain the {table} workflow", "walk me through this table", "what's set up here?" — a question about the table's structure and the workflow encoded in its columns, not about any single record.
A Clay table is a column DAG: source and input basic columns are roots; basic formula columns and action (enrichment) columns depend on the {{f_xxx}} tokens in their settings. Analyzing the table = reconstructing that graph, ordering it into stages, and narrating what it does. Cheap and read-only: ~3 commands (metadata + columns + a row sample).
Finding the table: resolve it as in the tables entry-point skill ("Finding a table").
1. Frame the table — clay tables get
(The output is discriminated on type — shape in clay tables get --help.) Read off the frame the workflow sits in:
type—"archive"means this is an archive companion (itsparentTableIdpoints at the regular table); analyze the parent instead, the archive has no workflow of its own.rowCount— current size.archive— non-null means processed rows flow out to an archive, indexed onarchive.searchableFieldFormula.
Where data enters and at what scale comes from the columns (step 2): source columns carry sources[] with each attached source's numSourceRecords.
2. Build the dependency catalog — clay tables columns get
This is where the graph lives. Run the token-extraction recipe in the tables entry-point skill's dependency-catalog.md over clay tables columns get <tableId>. It yields one entry per column — { id, name, type, role, integration, gate, dependsOn: [names] } — resolving every {{f_xxx}} edge (including those in formulaWaterfall and formulaMap keys) to a column name. dependsOn are the upstream columns; gate (when set) is the condition under which an action runs.
For a known bulk enrichment table, inspect the source entries to determine the origin. If a source includes audience, use its entityType, segments[].id, isGlobal, and entityIdOnly as the source configuration when rebuilding it as a workflow. isGlobal: true represents the global Audience and has no segment resource objects; otherwise use the ids from segments. Bulk enrichment tables can have non-Audiences origins, and an audience-source on its own does not prove the table is a bulk enrichment table.
3. Stage the graph
Order the catalog into stages by dependency depth — roots first, then columns whose deps are all already placed, and so on:
- Stage 0 (roots):
sourcecolumns andinputbasics (emptydependsOn). This is the raw data. - Each next stage: columns whose
dependsOnare all in earlier stages. {{f_xxx}}never crosses tables, so the whole graph is self-contained — every edge resolves within this column set. (A token that resolved to a baref_idrather than a name = a deleted/renamed column; note it.)
This left-to-right order ≈ the column order in the Clay UI and gives you the pipeline.
4. Light health read — sample rows
clay tables rows list … --limit 10 (no separate sample command) for a rough per-column status read — which columns mostly run vs sit idle or error:
Map col ids to names from the catalog. This is a sample of ≤10 rows, so treat it as indicative, not a true rate — say so. Statuses are lowercase (success, empty, error, queued/running/…). If a stage shows heavy error, offer to hand off to /tables-error-sweep; it performs a full scan for normal tables and a retained-row sample for bulk enrichment tables. On a query-enabled table, tables query group-bys can add exact value distributions to the narrative — statuses still come from the sample (they aren't queryable).
If rows list returns truncated: true, it is deliberately limited to one unfiltered, unordered sample of at most 20 currently retained passthrough rows. It neither accepts nor returns a cursor, and completed rows may already have been deleted. The sample can therefore be empty and must never be presented as the source dataset or a complete row listing; the source configuration from step 2 is authoritative for migration.
5. Report — narrative + ASCII DAG
Lead with the source(s), show the staged DAG with each column's integration and gate, then a one-paragraph plain-English summary. Append the sampled health read.
Keep the narrative honest to the graph: only claim an edge the tokens actually show, and describe a gate exactly as its conditionalRunFormulaText reads (don't invent the condition).
Hand-offs
- A specific value's origin / why one action didn't fire →
/tables-value-trace(uses the same token extraction, walking one column backward). - Heavy errors in a stage →
/tables-error-sweep(sample-only for bulk enrichment tables). - "Rows aren't being added" surfaced by metadata →
/tables-capacity.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclay/skills/tables-analyze/SKILL.md
Popularity
- Repository stars
- 141
- Repository forks
- 22
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/clay-run/agent-plugins/tables-analyze)