latex-empirical-tables
>-
Supply asset profile
Research and knowledge work
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Document processing
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tables
Maintenance
fresh
Pushed today
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
47
64/100 Quality · 73/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Human review before install
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
47 GitHub stars
Repo activity
47 stars, 0 forks
Maintenance
Pushed today
License
MIT
Install
npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tables
Install safety
standard package or runtime install path
Permission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Review before production
- Financial research output is not financial advice; require human review before any live investment decision.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, filesystem or document access
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- Document processing workflows
- Claude Code teams
- builders willing to evaluate younger projects
- Read uploaded files
Suited agents
Install decision
- Command
- npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tables
- Policy
- review
- Human review
- yes
Trust and risk
- Trust
- 65/100
- Audit
- 78/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tablesDo not use when
- teams that need a vendor-supported SLA
- production agents without a repository review
- Low GitHub adoption signal
- No OpenAgentSkill engagement data yet
- High-risk permission hints: Secrets or environment access
Agent safety v2
50/100 · Avoid automatic install
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Filesystem access
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- High-risk permission hints: Secrets or environment access
- Permission surface may require sandboxing
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install kennethkhoocy-latex-empirical-tablesAgent resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20latex-empirical-tables%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20latex-empirical-tables%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/kennethkhoocy-latex-empirical-tables/install
Agent should check
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copy prompt
Task: Use latex-empirical-tables in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20latex-empirical-tables%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/kennethkhoocy-latex-empirical-tables/install
Install command: npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tables
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/kennethkhoocy-latex-empirical-tables/install
LLM text format
/api/skills/kennethkhoocy-latex-empirical-tables/install?format=text
Find alternatives
/api/skills/search?q=latex-empirical-tables&limit=3
Agent prompt
Use latex-empirical-tables for this task. Review https://www.openagentskill.com/api/skills/kennethkhoocy-latex-empirical-tables/install, then install with: npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tablesRegistry metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/kennethkhoocy-latex-empirical-tables
LLM text
/api/registry/manifest/kennethkhoocy-latex-empirical-tables?format=text
Install alias
/api/registry/install/kennethkhoocy-latex-empirical-tables
Recommend
/api/registry/recommend?task=Use%20latex-empirical-tables%20in%20an%20agent%20workflow&limit=3
Agent fit
Document processing
Platforms
Claude Code
Audit report
Needs review · 78/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Fallback candidate for Document processing
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Document processing
Trust label
Prototype first
Install path
Command ready
Use when
- Document processing workflows
- Claude Code teams
- builders willing to evaluate younger projects
Evidence
- recent repository activity
- install command or GitHub repo available
- 64/100 quality profile
review first
- Low GitHub adoption signal
- No OpenAgentSkill engagement data yet
Implementation path
- 1Install it in a sandbox agent and run one Document processing task end to end.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Trust profile
Sandbox only
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
CHECK47 GitHub stars
Stars/forks activity
CHECK47 stars, 0 forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSMIT
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- Financial research output is not financial advice; require human review before any live investment decision.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, filesystem or document access
- GitHub adoption: 47 GitHub stars
- Stars/forks activity: 47 stars, 0 forks; issue activity unavailable in current metadata
- Permission surface: secrets or environment access, filesystem or document access
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Promising candidate for agent workflows
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Use this skill in these scenarios
Parse messy files
Document processing
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Search private knowledge
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Add it to a complete workflow
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Ingest, retrieve, and cite
RAG knowledge base
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Compare before you install
Similar skills that may fit this task.
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
MoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
Overview
--- name: latex-empirical-tables description: >- Set up, format, fix, and clean up LaTeX regression and estimation tables in empirical economics or finance papers. Use when (a) creating a .tex, results.tex, main.tex, or preamble to display regression or estimation output from Python (pyfixest), Stata, or R — including any mention of estout, esttab, estauto, estwide, or table fragments; (b) formatting or repairing estout-style regression tables that overflow the right margin, have cramped or boxed notes, misaligned columns, or poor significance stars, or when asked to match a reference paper, make the note fill the table width, or choose among \estwide, \estauto, and landscape layouts; (c) diagnosing "Misplaced \omit" errors from \input-ed table fragments inside tabular environments. Covers \@@input, \estwide, \estauto, \estautoLT, \specialcell, \sym, minipage notes below tabulars, and the convert-and-verify workflow. Do NOT trigger for general LaTeX documents like beamer presentations, problem sets, letters, or CVs. metadata: author: Claude Code version: 1.1.0 date: 2026-07-20 consolidates: Merges estout-table-formatting, latex-results-preamble, and latex-input-multicolumn-omit-fix into one skill. ---
# LaTeX Empirical Tables
Empirical economics and finance papers export regression and estimation output as estout/esttab "body fragments" — rows of `\multicolumn` headers, coefficients with `\sym` stars, and parenthesised p-values or SEs, with no `\toprule`/`\bottomrule` — pulled into the manuscript through a wrapper macro (`\estauto`/`\estwide`/`\estautoLT`). Done well this reads like a top-journal table. Done naively it looks broken: wide tables spill past the right margin, the note legend is jammed inside the tabular as a boxed cell, columns sit at uneven widths, and `\input`-ed fragments throw "Misplaced \omit". This skill sets a results `.tex` up from scratch, converts ugly estout tables to the gold-standard pattern, and diagnoses the `\omit` error. The reasoning behind each choice is given so you can adapt rather than copy blindly.
## Routing
| You want to... | Go to | |----------------|-------| | Set up `results.tex`/`main.tex` and its preamble from scratch | Section A | | Fix or reformat existing estout tables (overflow, cramped notes, stars, alignment) | Section B | | Diagnose a "Misplaced `\omit`" error from an `\input`-ed fragment | Section C | | Merge several self-compiling block `results.tex` files into one master document | Section D | | Fix skipped table numbers (Table 1, Table 3, ...) when `\captionof` + `longtable` are combined | Section D |
---
# Section A — Build a results document from scratch
When producing regression or estimation tables, follow this workflow to create a compilable LaTeX document with a standard empirical-economics preamble and estout macros.
## Directory structure
All output lives under `outline/` relative to the project root:
``` outline/ ├── preamble/ │ └── preamble.tex ← LaTeX preamble (no \begin{document}) ├── Tables/ │ ├── table_01.tex ← table fragments (auto-increment) │ ├── table_02.tex │ └── ... ├── Figures/ │ └── ... ← figures (.pdf, .png, etc.) └── results.tex ← master document (created on first table) ```
## Step-by-step workflow
### 1. Ensure directories exist
Create `outline/preamble/` and `outline/Tables/` if they don't already exist. Also create `outline/Figures/` if figures will be produced.
### 2. Save the preamble
Copy `references/preamble.tex` from this skill's directory to `outline/preamble/preamble.tex`. This file contains everything up to but NOT including `\begin{document}` — the document class, all packages, and the estout macro definitions (`\estauto`, `\estwide`, `\estautoLT`, `\sym`, `\specialcell`). The macros are defined there in full; Section B lists a minimal subset if you only need to graft them onto an existing preamble.
Do NOT create `outline/results.tex` yet — it gets created automatically when the first table is generated.
### 3. When producing a table
Each time a regression or summary table is generated:
1. Save the table fragment to `outline/Tables/table_XX.tex` with auto-incrementing numbering (01, 02, 03, ...).
2. If `outline/results.tex` does **not** exist, create it: ```latex \input{preamble/preamble}
\begin{document}
\section{Tables}
\subsection{Descriptive Title} \begin{table}[H] \caption{Descriptive Title} \centering \estauto{Tables/table_01.tex}{N}{D{.}{.}{-1}} \end{table} \FloatBarrier
\end{document} ```
3. If `outline/results.tex` **already exists**, insert the following block BEFORE `\end{document}`: ```latex \subsection{Descriptive Title} \begin{table}[H] \caption{Descriptive Title} \centering \estauto{Tables/table_XX.tex}{N}{D{.}{.}{-1}} \end{table} \FloatBarrier ```
Where `N` = number of data columns in the fragment (excluding the label column).
## Estout table macros
Three macros are defined in the preamble for including table fragments generated by any tool (pyfixest, esttab, R, etc.). All use the TeX primitive `\@@input` to avoid `\multicolumn`/`\omit` errors (Section C explains why this matters).
| Macro | Use case | Environment | |-------|----------|-------------| | `\estauto{file}{ncols}{colspec}` | Standard-width tables | `tabular` | | `\estwide{file}{ncols}{colspec}` | Full-page-width tables | `tabular*` | | `\estautoLT{file}{ncols}{colspec}` | Multi-page tables | `longtable` |
The default column spec is `D{.}{.}{-1}` (decimal-aligned via `dcolumn`). Use `c` only when columns contain non-numeric content.
## Table fragment format
Fragments must follow these conventions — the wrapper macros add `\toprule` and `\bottomrule`, so fragments should NOT include them.
### Structure: - Column headers: `\multicolumn{1}{c}{(1)}` style - Group headers: `\multicolumn{N}{c}{Group Name}` with `\cmidrule(lr){start-end}` - Coefficients right-aligned, p-values in parentheses on the next line - Significance: `\sym{*}` p<0.10, `\sym{**}` p<0.05, `\sym{***}` p<0.01 - Multi-line variable names: `\specialcell{Line1 \\ Line2}` - `\addlinespace` between variable blocks - `\midrule` before summary statistics - Yes/No rows: `\multicolumn{1}{c}{Yes}` - Numeric summary stats: raw numbers, no `\multicolumn` wrapper - Do NOT end with a trailing `\\` (the macro appends `\\ \bottomrule`)
Because the wrapper expands the TeX primitive `\@@input` rather than `\input`, a fragment may begin with `\multicolumn` spanning all columns without error; Section C explains why that matters and what to do if a house preamble expands plain `\input` instead.
### Example fragment:
```latex &\multicolumn{2}{c}{OLS} &\multicolumn{2}{c}{IV} \\\cmidrule(lr){2-3}\cmidrule(lr){4-5} &\multicolumn{1}{c}{(1)} &\multicolumn{1}{c}{(2)} &\multicolumn{1}{c}{(3)} &\multicolumn{1}{c}{(4)} \\ \midrule Treatment & 0.245\sym{**} & 0.312\sym{***}& 0.198\sym{*} & 0.267\sym{**} \\ & (0.024) & (0.003) & (0.087) & (0.041) \\ \addlinespace Control Variable & -0.031 & -0.045 & -0.028 & -0.039 \\ & (0.542) & (0.388) & (0.601) & (0.452) \\ \midrule Observations & 1500 & 1500 & 1500 & 1500 \\ Firm FE &\multicolumn{1}{c}{Yes} &\multicolumn{1}{c}{No} &\multicolumn{1}{c}{Yes} &\multicolumn{1}{c}{No} \\ Year FE &\multicolumn{1}{c}{Yes} &\multicolumn{1}{c}{Yes} &\multicolumn{1}{c}{Yes} &\multicolumn{1}{c}{Yes} \\ Adjusted R-Sq & 0.342 & 0.215 & & \\ F Statistic & 12.450 & 8.320 & & \\ ```
## Optional: Bibliography support
If the document needs references, add this to `outline/preamble/preamble.tex` (before the end of the file):
```latex % --- References (biblatex + biber, APA) --- \usepackage[numbib]{tocbibind} \usepackage[ backend=biber, style=apa, backref=true, ]{biblatex} \addbibresource{references.bib} \renewcommand*{\bibfont}{\setstretch{1.2}} \setlength\bibitemsep{1em} ```
---
# Section B — Fix or reformat existing tables
The gold-standard pattern and the procedure to convert an ugly set of estout tables to it. Read `references/conversion-example.md` for a full before/after.
## What good looks like (the four practices)
1. **Wrapper macros use the TeX primitive `\@@input`, not `\input`.** estout fragments typically start with `\multicolumn{...}`, whose internal `\omit` must be the first token in the cell; LaTeX's `\input` wraps the file read in non-expandable file-existence checks that execute *in that first cell*, so the fragment throws **"Misplaced \omit"**. The primitive `\@@input` (inside `\makeatletter … \makeatother`) does not, so the fragment renders. Section C gives the full root cause and the before/after fix.
2. **Wide tables fill `\textwidth` via `\estwide` (a `tabular*`).** A plain `\begin{tabular}` sizes to its natural content width — fine for 2–3 narrow columns, but a 5–6 column regression table overflows the margin (you see `Overfull \hbox` on the table rows and the right edge runs off the page). `\estwide` uses `\begin{tabular*}{\textwidth}{@{\hskip\tabcolsep\extracolsep\fill}l*{N}{c}}` so the inter-column glue (`\extracolsep\fill`) spreads the columns to exactly `\textwidth`. The table now fits and the columns are evenly distributed.
3. **Notes live OUTSIDE the tabular, in a `\minipage` below it.** This is the single most common defect. Putting the legend inside the fragment as a `\multicolumn{N}{l}{\footnotesize ...}` row makes the note part of the ruled box, clamps it to the table's width, and breaks awkwardly. Instead, strip those rows out of the fragment and place the note in a `\begin{minipage}{\textwidth}\footnotesize{Note: ...}\end{minipage}` *below* the `\estwide`/`\estauto` call. The note then spans the text block, wraps cleanly, and reads like a journal table note. If the float wraps the table in `\resizebox{..\textwidth}{!}{...}`, the `\minipage` note goes *outside* that box — a note left inside is scaled with the table to a tiny font and clamped to the table width (the "the note doesn't fill the page" complaint). See "Special case" below.
4. **Each table float is consistent:** `\begin{table}[!htbp]` (or `[H]`), `\caption{...}`, `\label{...}`, `\centering`, the `\estwide`/`\estauto` call, then the `\minipage` note, then `\end{table}`. Multi-line column headers use `\specialcell{...}`; grouped columns get `\cmidrule(lr){a-b}`.
## The macros (minimal block to add to an existing preamble)
Add these once to an existing preamble. They require `booktabs` (for `\toprule`/`\midrule`/`\bottomrule`/`\cmidrule`). `\estwide` and `\estauto` are siblings; keep BOTH so you can pick per table. (Section A's `references/preamble.tex` already contains these plus `\estautoLT`.)
```latex \makeatletter % Natural-width estout table. \@@input (TeX primitive) lets a fragment that % starts with \multicolumn render without a "Misplaced \omit" error. \newcommand{\estauto}[3]{% \vspace{.75ex}{% \begin{tabular}{l*{#2}{#3}}\toprule\@@input #1 % \\ \bottomrule \addlinespace[.75ex] \end{tabular}% }% } % Full-\textwidth estout table: a tabular* whose \extracolsep\fill spreads the % columns to fill the page, so a wide table stops overflowing the margin. \newcommand{\estwide}[3]{% \vspace{.75ex}{% \begin{tabular*}{\textwidth}{@{\hskip\tabcolsep\extracolsep\fill}l*{#2}{#3}}\toprule\@@input #1 % \\ \bottomrule
Technical details
- Version
- 1.0.0
- License
- MIT
- Last updated
- Aug 24, 2026
- Published
- Aug 24, 2026
Decision snapshot
Fallback candidate
recent repository activity
Audit
Install review
Install and adoption review
- Security
- 81/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for latex-empirical-tables, ready for a manual X post.
For a repeatable workflow, this is a skill worth shortlisting before another blank prompt. latex-empirical-tables: >- 47 stars https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables?ref=x
Optional reply with install command
Listing + install path for latex-empirical-tables: https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables?ref=x Install: npx skills add kennethkhoocy/applied-micro-skills --skill latex-empirical-tables
Listing source
Registry indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- kennethkhoocy
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Registry indexed listing is attributed to kennethkhoocy but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables)
[](https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables)
[](https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables/audit)
[](https://www.openagentskill.com/skills/kennethkhoocy-latex-empirical-tables)Author
kennethkhoocy
@kennethkhoocy
Tags
Platform fit
Health signals
- GitHub stars
- 47
- Quality score
- 35/100
- Last GitHub push
- Aug 24, 2026
- Framework hints
- Unknown
- OpenAgentSkill views
- 0
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Sandbox only
- GitHub adoption47 GitHub starsCHECK
- Stars/forks activity47 stars, 0 forks; issue activity unavailable in current metadataCHECK
- Recent maintenancePushed todayPASS
- License clarityMITPASS
- README/SKILL.md completenessPublic metadata needs stronger README/SKILL.md contextINFO
- Dependency/runtime riskcredential or environment accessINFO
Related skills
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsCua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
21.4K Stars