insert-tables

Insert LaTeX \input commands linking generated table files into Overleaf sections.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/naj2r/claude-econ-paper-template --skill insert-tables
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: insert-tables
Source: https://github.com/naj2r/claude-econ-paper-template/tree/main/.claude/skills/insert-tables
Command: npx skills add https://github.com/naj2r/claude-econ-paper-template --skill insert-tables

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically inserts the correct \input commands to wire newly generated TeX tables into the appropriate Overleaf sections, reducing manual editing and errors.

Core Features & Use Cases

  • Identify unlinked table files under files/tab/ subfolders
  • Insert \input{files/tab/{{subfolder}}/table.tex} into the correct section (7-figuresAndTables.tex, 8-appendix.tex, or presentation.tex)
  • Validate that the target .tex file exists and the input is well-formed
  • Support "scan" mode to find all unlinked tables and link them in one pass

Quick Start

Run the target table filename (for example table5.tex) or use scan to automatically link all unlinked tables.

Frequently Asked Questions about insert-tables

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically insert LaTeX \input commands for tables into Overleaf sections?

To insert LaTeX \input commands into Overleaf sections, you can run the target table filename or use a scan mode to automatically find and link all unlinked table files into their correct sections.

How do I link multiple Stata or R generated tables into Overleaf at once?

You can link multiple Stata or R generated tables at once by using the scan mode, which identifies all unlinked table files under the files/tab/ subfolders and wires them into the appropriate Overleaf sections in one pass.

Does linking new TeX table files into Overleaf preserve existing section structure?

Linking new TeX table files into Overleaf preserves existing section structure by validating that the target .tex file exists, inserting the input at the correct location, and ensuring there are no duplicate entries.

What is the best way to wire generated LaTeX tables into Overleaf appendix files?

The best way to wire generated LaTeX tables into Overleaf appendix files is to use an automated insertion tool that targets the correct section file, such as 8-appendix.tex, and validates the input command format.

Can I use automated TeX table insertion for Overleaf presentation slides?

Yes, you can use automated TeX table insertion for Overleaf presentation slides by targeting the presentation.tex file, which ensures the newly generated table files are correctly linked into your slide deck.