How to install table-generation
npx skills add https://github.com/lingzhi227/agent-research-skills --skill table-generationFull instructions (SKILL.md)
Source of truth, from lingzhi227/agent-research-skills.
name: table-generation description: Generate publication-quality LaTeX tables from experimental results. Convert JSON/CSV data to booktabs-styled tables with bold best results, multi-row layouts, and proper captions. Use when creating result tables, comparison tables, or ablation tables for papers. argument-hint: [data-source]
Table Generation
Convert experimental results into publication-ready LaTeX tables.
Input
$0— Table type:comparison,ablation,descriptive,custom$1— Data source: JSON file, CSV file, or inline data
Scripts
Generate LaTeX table from JSON/CSV
python ~/.claude/skills/table-generation/scripts/results_to_table.py \
--input results.json --type comparison \
--bold-best max --caption "Performance comparison" \
--label tab:main_results
Supports: comparison, ablation, descriptive, multi-dataset table types.
Additional flags: --type multi-dataset for methods x datasets x metrics layout, --significance for p-value stars, --underline-second for second-best results.
References
- LaTeX table templates and examples:
~/.claude/skills/table-generation/references/table-templates.md
Table Types
comparison — Main results table
- Rows = methods (baselines + ours), Columns = metrics/datasets
- Bold the best result in each column
- Include mean +/- std when available
- Use
\multirowfor method categories (Supervised, Self-supervised, etc.)
ablation — Ablation study table
- Rows = variants (full model, minus component A, minus component B, ...)
- Columns = metrics
- Bold the full model result
- Use checkmarks for component presence
descriptive — Dataset/statistics table
- Dataset characteristics, hyperparameters, or summary statistics
- Clean formatting with proper units
custom — Free-form table
- User specifies layout and content
Required Packages
\usepackage{booktabs} % \toprule, \midrule, \bottomrule
\usepackage{multirow} % \multirow
\usepackage{multicol} % multi-column layouts
\usepackage{threeparttable} % table notes
Output Format
Always generate tables with:
booktabsrules (\toprule,\midrule,\bottomrule)\caption{}and\label{tab:...}- Bold best results using
\textbf{} - Table notes via
threeparttablewhen needed - Proper alignment (
lfor text,corrfor numbers)
Rules
- Only include numbers from actual experimental logs — never hallucinate results
- All numbers must match the data source exactly
- Use
$\pm$for standard deviations - Use
\underline{}for second-best results when appropriate - Keep tables compact — avoid unnecessary columns
- Use
table*for wide tables spanning two columns - Add glossary/notes for abbreviated column headers
Related Skills
- Upstream: data-analysis, experiment-code
- Downstream: paper-writing-section, paper-compilation
- See also: figure-generation
Related skills
More from lingzhi227/agent-research-skills and the wider catalog.
literature-review
Conduct comprehensive literature reviews using multi-perspective dialogue simulation. Generate diverse expert personas, conduct grounded Q&A conversations, and synthesize findings into structured knowledge. Use when starting a new research project or writing a survey section.
literature-search
Search academic literature using Semantic Scholar, arXiv, and OpenAlex APIs. Returns structured JSONL with title, authors, year, venue, abstract, citations, and BibTeX. Use when the user needs to find papers, check related work, or build a bibliography.
figure-generation
Generate publication-quality scientific figures using matplotlib/seaborn with a three-phase pipeline (query expansion, code generation with execution, VLM visual feedback). Handles bar charts, line plots, heatmaps, training curves, ablation plots, and more. Use when the user needs figures, plots, or visualizations for a paper.
citation-management
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys against .bib files, deduplicate entries, and format bibliography. Use when working with references, BibTeX, or citations.
latex-formatting
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.
data-analysis
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce analysis reports with p-values, effect sizes, and confidence intervals. Use when analyzing experimental data for a paper.