
Table Generation
Drop publication-ready LaTeX comparison and grouped result tables into papers or technical write-ups without hand-rolling booktabs every time.
Install
npx skills add https://github.com/lingzhi227/agent-research-skills --skill table-generationWhat is this skill?
- Simple booktabs comparison table template with mean ± std rows
- Grouped multirow template for supervised vs self-supervised result blocks
- Uses threeparttable, multirow, and underline patterns common in ML papers
- Caption, label, and htbp placement conventions included
- Copy-paste LaTeX starters instead of ad-hoc tabular markup
Adoption & trust: 700 installs on skills.sh; 114 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Lark Doclarksuite/cli
Lark Wikilarksuite/cli
Opensource Guide Coachxixu-me/skills
Readme I18nxixu-me/skills
Doc Coauthoringanthropics/skills
Obsidian Markdownkepano/obsidian-skills
Journey fit
Primary fit
Research and product documentation during Build is where formatted tables for benchmarks and experiments are produced. Docs subphase covers manuscripts, README-adjacent artifacts, and formal write-ups that need consistent tabular presentation.
Common Questions / FAQ
Is Table Generation safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Table Generation
# LaTeX Table Templates Reference ## Template 1: Simple Comparison Table (booktabs) ```latex \begin{table}[htbp] \centering \caption{Performance comparison on benchmark datasets.} \label{tab:main_results} \begin{tabular}{lccc} \toprule Method & Dataset 1 & Dataset 2 & Dataset 3 \\ \midrule Baseline 1 & 82.3$\pm$0.6 & 71.8$\pm$0.7 & 76.8$\pm$0.6 \\ Baseline 2 & 83.5$\pm$0.4 & 73.3$\pm$0.5 & 80.1$\pm$0.7 \\ Baseline 3 & 84.0$\pm$0.4 & 73.1$\pm$0.3 & 81.0$\pm$0.4 \\ \midrule \textbf{Ours} & \textbf{84.2$\pm$0.4} & \textbf{73.4$\pm$0.4} & \textbf{81.1$\pm$0.4} \\ \bottomrule \end{tabular} \end{table} ``` ## Template 2: Grouped Comparison with multirow ```latex \begin{table}[htbp] \centering \caption{Experiment results for node classification. Accuracy (\%) reported.} \label{tab:node_clf} \begin{threeparttable} \renewcommand\tabcolsep{10pt} \renewcommand\arraystretch{1.05} \begin{tabular}{c|c|ccc} \toprule & Method & Cora & CiteSeer & PubMed \\ \midrule \multirow{2}{*}{Supervised} & GCN & 81.5 & 70.3 & 79.0 \\ & GAT & 83.0$\pm$0.7 & 72.5$\pm$0.7 & 79.0$\pm$0.3 \\ \midrule \multirow{4}{*}{Self-supervised} & DGI & 82.3$\pm$0.6 & 71.8$\pm$0.7 & 76.8$\pm$0.6 \\ & MVGRL & 83.5$\pm$0.4 & 73.3$\pm$0.5 & 80.1$\pm$0.7 \\ & CCA-SSG & \underline{84.0$\pm$0.4} & 73.1$\pm$0.3 & \underline{81.0$\pm$0.4} \\ & \textbf{Ours} & \textbf{84.2$\pm$0.4} & \textbf{73.4$\pm$0.4} & \textbf{81.1$\pm$0.4} \\ \bottomrule \end{tabular} \begin{tablenotes} \footnotesize \item Best results in \textbf{bold}, second best \underline{underlined}. \end{tablenotes} \end{threeparttable} \end{table} ``` ## Template 3: Ablation Study ```latex \begin{table}[htbp] \centering \caption{Ablation study on model components.} \label{tab:ablation} \begin{tabular}{lccc} \toprule Variant & Acc. (\%) & F1 (\%) & Params (M) \\ \midrule Full model & \textbf{84.2} & \textbf{83.7} & 12.3 \\ \quad w/o Component A & 82.1 & 81.5 & 10.1 \\ \quad w/o Component B & 83.0 & 82.3 & 11.8 \\ \quad w/o Component C & 81.5 & 80.9 & 9.5 \\ \quad w/o A + B & 80.2 & 79.6 & 8.7 \\ \bottomrule \end{tabular} \end{table} ``` ## Template 4: Ablation with Checkmarks ```latex \begin{table}[htbp] \centering \caption{Component ablation analysis.} \label{tab:component_ablation} \begin{tabular}{ccc|cc} \toprule Comp. A & Comp. B & Comp. C & Accuracy & F1 \\ \midrule \checkmark & \checkmark & \checkmark & \textbf{84.2} & \textbf{83.7} \\ & \checkmark & \checkmark & 82.1 & 81.5 \\ \checkmark & & \checkmark & 83.0 & 82.3 \\ \checkmark & \checkmark & & 81.5 & 80.9 \\ & & & 78.3 & 77.1 \\ \bottomrule \end{tabular} \end{table} ``` ## Template 5: Wide Table (two-column, table*) ```latex \begin{table*}[htbp] \centering \caption{Performance comparison across 4 datasets with multiple metrics.} \label{tab:full_results} \scriptsize \begin{tabular}{l|cc|cc|cc|cc} \toprule & \multicolumn{2}{c|}{Dataset 1} & \multicolumn{2}{c|}{Dataset 2} & \multicolumn{2}{c|}{Dataset 3} & \multicolumn{2}{c}{Dataset 4} \\ Method & R@20 & N@20 & R@20 & N@20 & R@20 & N@20 & R@20 & N@20 \\ \midrule Baseline 1 & 0.0466 & 0.0395 & 0.0944 & 0.0522 & 0.1763 & 0.2101 & 0.0211 & 0.0154 \\ Baseline 2 & 0.0526 & 0.0444 & 0.1030 & 0.0623 & 0.1833 & 0.2205 & 0.0327 & 0.0249 \\ \textbf{Ours} & \textbf{0.0793} & \textbf{0.0668} & \textbf{0.1578} & \textbf{0.0935} & \textbf{0.2613} & \textbf{0.3106} & \textbf{0.0585} & \textbf{0.0436} \\ \bottomrule \end{tabular} \end{table*} ``` ## Template 6: Table with Notes (threeparttable) ```latex \begin{table}[htbp] \centering \begin{threeparttable} \caption{Statistical analysis of treatment effects.} \label{tab:stats} \begin{tabular}{lcccc} \toprule Variable & Coef. & SE & 95\% CI & $p$-value \\ \midrule Treatment & 0.42 & 0.08 & (0.26, 0.58) & $<$0.001*** \\ Age & $-$0.03 & 0.01 & ($-$0.05, $