agentleFS
zirui-songzirui-song/claude-skills/skills/table/SKILL.md

table

Skill17 starsChanged 4 months agoMITView on GitHub

Regenerate a Stata table and verify it in the compiled PDF

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check which edition is actually installed rather than assuming MP.

    line 9
  2. Distinctive:

    Check the .log for r(###) errors.

    line 13
  3. Very specific:

    If latexmk/pdflatex aren't installed, tectonic compiles the same documents.

    line 19
  4. Distinctive:

    Only then commit and sync to Overleaf, with a message naming the table.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Given a table number:

  1. Locate the do-file that produces it in the project's script directory and run it with the Stata console binary — on macOS that is the lowercase stata-se / stata-mp inside the app bundle, e.g. /Applications/Stata/StataSE.app/Contents/MacOS/stata-se -b do <file>. Check which edition is actually installed rather than assuming MP. Gotcha: Mac batch Stata chokes on spaces in the -b do path. If any project directory has a space in its name, run through a wrapper do-file placed in a space-free directory whose only content is do "<quoted absolute path>".
  2. Check the .log for r(###) errors; stop and report if any.
  3. Confirm firm-level clustering is used unless the do-file says otherwise.
  4. Regenerate the .tex fragment and recompile the document that \inputs it. Don't assume a main.tex — a project may hold several standalone root documents (the paper, a results appendix, a referee response), so compile the one that actually includes the fragment.
  5. Report any overfull hbox for the affected page, with its pt measurement, to confirm fit. If latexmk/pdflatex aren't installed, tectonic compiles the same documents; either way send output to a temp directory so stray PDFs don't land in an Overleaf-synced folder.
  6. Only then commit and sync to Overleaf, with a message naming the table.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.