table-grounding
Skill444 starsChanged 7 months agoMITView on GitHub
Convert an xlsx or csv table into a structured table-grounding bundle for downstream research and summary.
In this repository15 other files it gives its agents.
- archive-groundingSkill
- audio_structuringSkill
- document-groundingSkill
- grounded-research-litSkill
- grounded-reviewSkill
- grounded-summarySkill
- input-routerSkill
- meeting-audio-groundingSkill
- meeting-groundingSkill
- meeting-video-groundingSkill
- one-reportSkill
- pptx-groundingSkill
- remote-inputSkill
- report-exportSkill
- skill-evolveSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 26 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 17
Use this skill when:
- Distinctive: line 24
Do not use this skill when:
- Distinctive: line 38
If a specific sheet is provided, use that sheet instead.
- Distinctive: line 39
Do not silently merge multiple sheets in the first version.
- Distinctive: line 58
If a specific xlsx sheet is selected, the bundle directory may include a sheet suffix.
- Distinctive: line 93
When using this skill, you must follow this workflow:
- Distinctive: line 101
Do not manually reimplement schema extraction, summary statistics, preview generation, or chart generation if the existing script can …
- Distinctive: line 103
After the bundle is generated, read:
- Very specific: line 121
After the bundle is generated, write grounded.md in the same bundle directory.
- Distinctive: line 164
Do not write a polished final report.
- Distinctive: line 165
Do not invent business context, causal claims, owners, deadlines, or metadata not supported by the table.
- Distinctive: line 166
Do not turn weak correlations into strong conclusions.
- Distinctive: line 167
Do not ignore missing values, duplicates, or unclear schema.
- Distinctive: line 169
Do not replace the existing extraction / statistics / chart pipeline with ad hoc analysis unless a minimal necessary fix is required.
- Distinctive: line 172
Use the generated bundle as evidence:
- Very specific: line 180
If AssetRef blocks appear in extracted.md, inspect those referenced assets before writing grounded.md.
- Distinctive: line 181
Keep the output concise and structured.
- Distinctive: line 187
Only include signals strongly supported by the data or auto-generated previews / charts.
- Distinctive: line 188
Do not overstate weak patterns.
- Distinctive: line 192
Only include anomalies that are clearly visible in the table, statistics, or charts.
- Distinctive: line 214
Only include issues that belong to the table or dataset itself, such as:
- Distinctive: line 225
Do not put routine pipeline or execution notes here by default.
- Distinctive: line 229
no charts were generated
- Very specific: line 234
Only mention a pipeline / execution issue in grounded.md if it materially limits interpretation of a specific conclusion.
- Very specific: line 235
If needed, mention it briefly under Suggested Next Checks rather than treating it as a data-quality defect.
- Distinctive: line 239
Only include follow-up checks grounded in the current table, such as:
- Distinctive: line 244
verify units or schema
- Distinctive: line 245
run a more specific downstream search
- Distinctive: line 250
Use specific noun phrases that are useful for later search.
- Distinctive: line 251
Avoid generic terms such as:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Table Grounding
Convert a table file into a structured table-grounding bundle.
This skill is for table grounding, not a polished final report. It should produce a stable intermediate bundle that is easy for downstream skills and agents to use.
When to Use
Use this skill when:
- the input is a
.xlsxor.csvfile - the file mainly contains tabular data
- you need a structured grounding note before downstream follow-up work
- you want schema, preview rows, summary statistics, and simple charts before writing conclusions
Do not use this skill when:
- the input is a PDF, DOCX, Markdown, or plain text document
- the goal is a polished final report
- the input is not primarily tabular
Input
A single table file:
.xlsx.csv
For .xlsx, the default behavior is to use the first sheet.
If a specific sheet is provided, use that sheet instead.
Do not silently merge multiple sheets in the first version.
The table may contain:
- numeric columns
- categorical columns
- date/time columns
- missing values
- duplicated rows
- messy column names
- mixed types
- derived or computed columns
Output Bundle
Write outputs under:
data/grounded_notes/<type>-<table_id>/
If a specific xlsx sheet is selected, the bundle directory may include a sheet suffix.
Examples:
data/grounded_notes/xlsx-sales_q1/data/grounded_notes/xlsx-sales_q1-sheet-Summary/data/grounded_notes/csv-benchmark_results/
The bundle should contain:
<bundle_dir>/
├─ extracted.md
├─ extracted_meta.json
├─ schema.json
├─ summary_stats.json
├─ asset_index.json
└─ assets/
├─ previews/
│ ├─ head.csv
│ ├─ sampled_rows.csv
│ └─ column_summary.md
└─ charts/
├─ chart_001.png
├─ chart_002.png
└─ ...Important:
- The script stage must not generate a placeholder
grounded.md. - The agent must read the bundle and then write a real
grounded.md.
Required Workflow
When using this skill, you must follow this workflow:
First run the existing script entrypoint:
bash .cursor/skills/table-grounding/scripts/run.sh <input_path> <output_root> [sheet_selector]- Do not manually reimplement schema extraction, summary statistics, preview generation, or chart generation if the existing script can already do it.
After the bundle is generated, read:
extracted.mdextracted_meta.jsonschema.jsonsummary_stats.jsonasset_index.jsonassets/previews/*assets/charts/*
- Then write a real
grounded.mdinto the same bundle directory. - The task is not complete if only the bundle files exist but
grounded.mdhas not been written. - The task is also not complete if
grounded.mdis written without first generating and using the bundle evidence.
Grounded Output
After the bundle is generated, write grounded.md in the same bundle directory.
Return markdown with exactly these sections:
# Table Grounding
## 1. Main Topic / Purpose
[2–4 sentence statement of what this table or dataset appears to describe.]
## 2. Main Fields
- [One bullet per major field or field group]
## 3. Key Signals
- [Important trends, contrasts, distributions, or clusters strongly supported by the table]
## 4. Anomalies / Outliers
- [Only clearly unusual values, missing patterns, inconsistent rows, sharp jumps, duplicates, or suspicious records]
## 5. Possible Supported Conclusions
- [Only cautious conclusions supported by the data]
- [Do not turn correlation into causality]
## 6. Risks / Data Quality Issues
- [Missing values, sparse columns, duplicated rows, unclear schema, inconsistent units, tiny sample size, etc.]
## 7. Suggested Next Checks
- [Concrete next-step analyses or validation directions grounded in the table]
## 8. Search Keywords
### Problem Keywords
- ...
### Method / Solution Keywords
- ...
### Domain / Constraint Keywords
- ...Instructions
- Do not write a polished final report.
- Do not invent business context, causal claims, owners, deadlines, or metadata not supported by the table.
- Do not turn weak correlations into strong conclusions.
- Do not ignore missing values, duplicates, or unclear schema.
- You must reuse the existing
scripts/run.shandscripts/ground_table.pyworkflow directly. - Do not replace the existing extraction / statistics / chart pipeline with ad hoc analysis unless a minimal necessary fix is required.
- The script stage is the required evidence-building stage.
grounded.mdmust be based on the generated bundle rather than on direct free-form inspection alone.- Use the generated bundle as evidence:
extracted.mdextracted_meta.jsonschema.jsonsummary_stats.jsonasset_index.jsonassets/previews/*assets/charts/*
- If
AssetRefblocks appear inextracted.md, inspect those referenced assets before writinggrounded.md. - Keep the output concise and structured.
Special Rules
Key Signals
Only include signals strongly supported by the data or auto-generated previews / charts. Do not overstate weak patterns.
Anomalies / Outliers
Only include anomalies that are clearly visible in the table, statistics, or charts.
Possible Supported Conclusions
Use cautious wording. Prefer:
- suggests
- is consistent with
- may indicate
- appears associated with
Avoid:
- proves
- establishes causality
- confirms
unless the evidence is unusually strong.
Risks / Data Quality Issues
Only include issues that belong to the table or dataset itself, such as:
- missing values
- sparse columns
- duplicated rows
- unclear schema
- inconsistent units
- tiny sample size
- unusually wide or fragmented schema
- strong evidence of data incompleteness
Do not put routine pipeline or execution notes here by default.
Examples that should not automatically appear under Risks / Data Quality Issues:
- no charts were generated
- numeric/date parsing was imperfect
- a column type may have been misclassified by the current pipeline
- a preview or chart was not especially informative
Only mention a pipeline / execution issue in grounded.md if it materially limits interpretation of a specific conclusion.
If needed, mention it briefly under Suggested Next Checks rather than treating it as a data-quality defect.
Suggested Next Checks
Only include follow-up checks grounded in the current table, such as:
- validate missing data
- inspect a suspicious subgroup
- compare another sheet or source
- verify units or schema
- run a more specific downstream search
- re-check a conclusion if current parsing or chart generation materially limited interpretation
Search Keywords
Use specific noun phrases that are useful for later search. Avoid generic terms such as:
- table
- spreadsheet
- data
- results
- analysis
- issue
Example Invocation
/.cursor/skills/table-grounding
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

