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/csmar432/finai-researchnpx agentmods add skills/csmar432/finai-research/fin-paper-convertWrote 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/csmar432/finai-research/fin-paper-convert)<a href="https://agentmods.dev/skills/csmar432/finai-research/fin-paper-convert"><img src="https://agentmods.dev/badge/skills/csmar432/finai-research/fin-paper-convert/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/csmar432/finai-research/fin-paper-convert"><img src="https://agentmods.dev/badge/skills/csmar432/finai-research/fin-paper-convert.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.00012 | $0.09465 |
| Opus 5 | $0.00006 | $0.04732 |
| Sonnet 5 | $0.00002 | $0.01893 |
| Haiku 4.5 | $0.00001 | $0.00946 |
Grade A, and why
fin-paper-convert scanned grade A with 1 finding 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 11d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 1,217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
fin-paper-convert
Compile LaTeX manuscripts to publication-ready PDFs and generate submission variants (anonymous, arxiv, word) for the target journal.
Step 0: Pre-compilation Check
Before running LaTeX compilation, verify all components are ready:
# Check required files exist
ls -la output/fin-manuscript/draft_v1/
ls -la output/fin-manuscript/draft_v1/sections/ 2>/dev/null || echo "No sections dir"
ls -la output/fin-manuscript/draft_v1/figures/ 2>/dev/null || echo "No figures dir"
# Check LaTeX installation
which xelatex pdflatex latexmk 2>/dev/null
latexmk --version 2>/dev/null || echo "latexmk not found"
# Check bibliography tool
which bibtex biber 2>/dev/null
#!/usr/bin/env python3
"""Pre-compilation validation for fin-paper-convert."""
import os
import re
from pathlib import Path
from dataclasses import dataclass
from typing import List, Optional, Tuple
@dataclass
class ValidationResult:
ok: bool
errors: List[str]
warnings: List[str]
missing_files: List[str]
def validate_latex_project(base_dir: str) -> ValidationResult:
"""
Validate all required files and structure before compilation.
"""
base = Path(base_dir)
errors = []
warnings = []
missing = []
# Check main.tex
main_tex = base / "main.tex"
if not main_tex.exists():
missing.append(str(main_tex))
errors.append("main.tex not found")
# Check references.bib
bib_file = base / "references.bib"
if not bib_file.exists():
missing.append(str(bib_file))
errors.append("references.bib not found")
else:
# Count references
bib_content = bib_file.read_text(encoding="utf-8")
ref_count = len(re.findall(r'@\w+\{', bib_content))
warnings.append(f"Found {ref_count} references in references.bib")
# Check figures directory
fig_dir = base / "figures"
if not fig_dir.exists():
warnings.append("figures/ directory not found (no figures will be included)")
else:
fig_files = list(fig_dir.glob("*.pdf")) + list(fig_dir.glob("*.png"))
if not fig_files:
warnings.append("No figure files (.pdf/.png) found in figures/")
# Check sections directory
sec_dir = base / "sections"
if sec_dir.exists():
tex_files = list(sec_dir.glob("*.tex"))
if tex_files:
warnings.append(f"Found {len(tex_files)} section .tex files")
# Validate main.tex structure
if main_tex.exists():
content = main_tex.read_text(encoding="utf-8")
# Check required packages
if r'\documentclass' not in content:
errors.append("main.tex missing \\documentclass")
# Check bibliography commands
if r'\bibliography' not in content and r'\addbibresource' not in content:
warnings.append("No bibliography command found in main.tex")
# Check input commands for sections
if sec_dir.exists() and not any(r'\input{' in content for _ in [1]):
warnings.append("No \\input{} commands found — sections may not be included")
return ValidationResult(
ok=len(errors) == 0,
errors=errors,
warnings=warnings,
missing_files=missing,
)
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.
- 11d ago First seen · 1,217 lines · 12 tokens per session scan A 5c7a66774e90
fin-paper-convert is a skill published in the GitHub repository csmar432/finai-research (100 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 9,465 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
compile-latex
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a .tex file isn't producing a PDF. Operates on Slides/.tex.
beamer-deck
Create an academic presentation as a LaTeX Beamer source and reviewed PDF with an original theme. Use when the requested deliverable is a conference, seminar, or lecture deck in Beamer. Not for PowerPoint or RevealJS; use $pptx or $quarto-deck.
bib-parse
Extract citations from a PDF and generate a validated .bib file. Use when the user asks to extract citations from a PDF and generate a validated .bib file. Reads the PDF, identifies referenced works, constructs BibTeX entries, and verifies metadata.
latex-health-check
Compile all LaTeX projects and report cross-project build consistency. Use when checking whether a collection of papers builds cleanly. Not for rendered visual inspection after a clean build; use $latex-polish.
latex-polish
Inspect a cleanly compiling LaTeX document for source pathologies and rendered visual defects by linting and viewing selected PDF pages. Use when compilation succeeds but title pages, floats, tables, figures, or layout still need publication-quality review. Not for basic compilation health; use $latex-health-check.
brief-compliance-check
Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.