Overview Benchmark Contents Activity Versions 1 Ratings 0
What's inside The instructions your model reads when the skill loads.
SKILL.md 194 lines single file
LaTeX Document Skill
Create any LaTeX document, compile to PDF, and generate PNG previews. Convert PDFs of any type to LaTeX.
Workflow: Create Documents
Determine document type (resume, report, letter, invoice, article, thesis, academic CV, presentation, poster, exam, book, cheat sheet)
If poster: Run the poster sub-workflow (see Poster Sub-Workflow below), then skip to step 5.
If cheat sheet / reference card: Run the cheat sheet sub-workflow (see Cheat Sheet / Reference Card Sub-Workflow below), then skip to step 5.
Ask the user which enrichment elements they want (use AskUserQuestion tool with multiSelect). Offer relevant options based on document type:
AI-generated images -- custom illustrations, diagrams, photos (uses generate-image skill)
Charts/graphs -- bar, line, pie, scatter, heatmap (pgfplots or matplotlib)
Flowcharts/diagrams -- process flows, architecture, decision trees (TikZ or Mermaid)
Citations/bibliography -- academic references, footnotes, works cited (BibTeX/biblatex)
Tables with data -- comparison matrices, financial data, statistics (booktabs)
Watermarks -- DRAFT, CONFIDENTIAL, or company logo background
Skip this step for simple documents (cover letters, invoices) or when the user has already specified exactly what they want.
Copy the appropriate template from assets/templates/ or write from scratch
Customize content based on user requirements
Generate external assets based on user's element choices:
AI images: python3 <skill_path>/../generate-image/scripts/generate_image.py "prompt" --output ./outputs/figure.png
matplotlib charts: python3 <skill_path>/scripts/generate_chart.py <type> --data '<json>' --output chart.png
Mermaid diagrams: bash <skill_path>/scripts/mermaid_to_image.sh diagram.mmd output.png
For documents 5+ pages: Review the Long-Form Document Anti-Patterns section and run the Content Generation Checklist before compiling. Key rules: prefer prose over bullets, include global list compaction, escape </> in text mode, vary section formats, limit ewpage, size images at 0.75-0.85 textwidth.
Track record Benchmark 15 / 22
test cases passed, vs 0 / 22 without
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 7/30/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported brycewang-stanford / Auto-Empirical-Research-Skills
skills/08-ndpvt-web-latex-document-skill/SKILL.md
View on GitHub ↗ License NOASSERTIONImported 8/2/2026Version v1