Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skillsnpx agentmods add skills/happycapy-ai/happycapy-skills/latex-documentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/happycapy-ai/happycapy-skills/latex-document)<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/latex-document"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/latex-document/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/latex-document"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/latex-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00950 | $0.08138 |
| Opus 5 | $0.00475 | $0.04069 |
| Sonnet 5 | $0.00190 | $0.01628 |
| Haiku 4.5 | $0.00095 | $0.00814 |
Grade A, and why
latex-document scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
- AI images:
- 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\newpage, size images at 0.75-0.85 textwidth. - Compile with
scripts/compile_latex.sh(auto-detects XeLaTeX for CJK/RTL, glossaries, bibliography) - Show PNG preview to user, deliver PDF
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .chktexrc 2.1 KB
- assets/capy-printer.png 2288 KB
- assets/capy-professor.png 1714 KB
- assets/capy-wizard.png 1885 KB
- assets/happycapy-capy.png 788 KB
- assets/happycapy-logo.png 14 KB
- assets/happycapy-logo.svg 21 KB
- assets/templates/academic-cv.tex 8.9 KB
- assets/templates/academic-paper.tex 12 KB
- assets/templates/book.tex 28 KB
- assets/templates/cheatsheet-code.tex 18 KB
- assets/templates/cheatsheet-exam.tex 22 KB
- assets/templates/cheatsheet.tex 23 KB
- assets/templates/conditional-document.tex 12 KB
- assets/templates/cover-letter.tex 2.2 KB
- assets/templates/exam.tex 13 KB
- assets/templates/fillable-form.tex 8.7 KB
- assets/templates/homework.tex 15 KB
- assets/templates/invoice.tex 2.9 KB
- assets/templates/lab-report.tex 16 KB
- assets/templates/lecture-notes.tex 26 KB
- assets/templates/letter.tex 6.1 KB
- assets/templates/mail-merge-letter.tex 2.7 KB
- assets/templates/poster-landscape.tex 15 KB
- assets/templates/poster.tex 21 KB
- assets/templates/presentation.tex 4.0 KB
- assets/templates/references.bib 2.7 KB
- assets/templates/report.tex 3.9 KB
- assets/templates/resume-classic-ats.tex 3.0 KB
- assets/templates/resume-entry-level.tex 5.4 KB
- assets/templates/resume-executive.tex 4.7 KB
- assets/templates/resume-modern-professional.tex 3.6 KB
- assets/templates/resume-technical.tex 5.4 KB
- assets/templates/resume.tex 2.7 KB
- assets/templates/thesis.tex 18 KB
- examples/academic-cv-p1.png 179 KB
- examples/academic-cv-p2.png 210 KB
- examples/academic-cv-p3.png 164 KB
- examples/academic-cv-p4.png 46 KB
- examples/academic-cv.png 113 KB
- examples/academic-paper-p1.png 203 KB
- examples/academic-paper-p2.png 175 KB
- examples/academic-paper-p3.png 183 KB
- examples/academic-paper-p4.png 214 KB
- examples/academic-paper.png 124 KB
- examples/book-p1.png 13 KB
- examples/book-p10.png 137 KB
- examples/book-p2.png 35 KB
- examples/book-p3.png 84 KB
- examples/book-p4.png 46 KB
- examples/book-p5.png 164 KB
- examples/book-p6.png 114 KB
- examples/book-p7.png 18 KB
- examples/book-p8.png 181 KB
- examples/book-p9.png 198 KB
- examples/book.png 18 KB
- examples/charts.png 61 KB
- examples/cheatsheet-p1.png 1636 KB
- examples/cheatsheet-p2.png 1297 KB
- examples/cover-letter.png 98 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 412 lines · 950 tokens per session scan A 505f565da137
latex-document is a skill published in the GitHub repository happycapy-ai/Happycapy-skills (139 stars, last pushed 9d ago), licensed MIT. It adds 950 tokens to every session and 8,138 once invoked, about $0.0047 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
parse-document
Convert a PDF, scan, image of a page, or office file to clean markdown through the connected Superlinked MCP edge, so the source document is not read into model context directly. Use when the user asks to read, parse, OCR, extract from, summarize, or answer questions about a document.