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/docxology/templatenpx agentmods add skills/docxology/template/renderingWrote 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/docxology/template/rendering)<a href="https://agentmods.dev/skills/docxology/template/rendering"><img src="https://agentmods.dev/badge/skills/docxology/template/rendering/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/docxology/template/rendering"><img src="https://agentmods.dev/badge/skills/docxology/template/rendering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00053 | $0.02307 |
| Opus 5 | $0.00026 | $0.01154 |
| Sonnet 5 | $0.00011 | $0.00461 |
| Haiku 4.5 | $0.00005 | $0.00231 |
Grade B, and why
infrastructure-rendering scanned grade B 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 yesterday.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo tlmgr install multirow cleveref doi newunicodechar How it starts
The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rendering Module
Multi-format output generation for research manuscripts. Converts markdown source into professional PDFs, HTML, and slides.
RenderManager (core.py)
The primary entry point for all rendering operations:
from pathlib import Path
from infrastructure.rendering import RenderManager, RenderingConfig
# Default configuration (loaded from environment)
renderer = RenderManager()
# Custom configuration
config = RenderingConfig() # configure attributes as needed
renderer = RenderManager(
config=config,
manuscript_dir=Path("projects/my_project/manuscript"),
figures_dir=Path("projects/my_project/output/figures"),
)
# Render a single source file (.md or .tex)
renderer.render_pdf(source_file)
renderer.render_web(source_file) # standalone HTML
renderer.render_slides(source_file) # beamer (PDF) by default
renderer.render_all(source_file) # archive md → Beamer + web; tex → PDF
# Render combined manuscript from multiple ordered source files
renderer.render_combined_pdf(source_files, manuscript_dir, project_name="my_project")
Rendering Configuration (config.py)
from infrastructure.rendering import RenderingConfig
config = RenderingConfig()
# Configure PDF, HTML, slides options
For projection-scale slides, explicitly select the accessible profile. The archive profile remains the default for backwards compatibility:
config = RenderingConfig(
slides_profile="accessible",
slides_max_prose_words=80,
slides_max_table_rows=8,
slides_min_figure_area_percent=70,
slides_title_font_pt=28,
slides_body_font_pt=20,
slides_figure_label_font_pt=16,
slides_reader_href="../web/index.html",
)
Accessible mode splits only at Pandoc semantic block boundaries, isolates
figures/tables/equations/code/evidence, and fails with a coded slides.*
diagnostic when an indivisible block cannot fit. Treat Reveal.js and the linked
manuscript HTML as the accessibility-enhanced reader surfaces. Beamer output is
an untagged presentation derivative; successful rendering is not a WCAG or
PDF/UA conformance verdict. Reveal core, theme, and plugin assets use one
version-pinned CDN release and therefore remain network-dependent; that version
pin is not an offline or byte-pinned guarantee. The MathJax executable path is
separately normalized to one loader with the repository's exact SRI digest.
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.
- __init__.py 1.3 KB runs code
- __main__.py 196 B runs code
- _beamer_allowframebreaks.lua 871 B
- _bibliography.py 3.3 KB runs code
- _combined_exports.py 26 KB runs code
- _epub_cover_accessibility.py 7.9 KB runs code
- _epub_package_validation.py 17 KB runs code
- _figure_alt_registry.py 17 KB runs code
- _html_attributes.py 2.7 KB runs code
- _latex_log_parse.py 2.1 KB runs code
- _manuscript_source.py 22 KB runs code
- _output_text.py 1.2 KB runs code
- _pandoc_args.py 4.1 KB runs code
- _pandoc_filters.py 3.7 KB runs code
- _pdf_canonicalization_worker.py 5.1 KB runs code
- _pdf_combined_bibliography.py 5.6 KB runs code
- _pdf_combined_latex.py 11 KB runs code
- _pdf_combined_markdown.py 7.6 KB runs code
- _pdf_combined_pandoc.py 4.6 KB runs code
- _pdf_combined_preamble.py 6.3 KB runs code
- _pdf_combined_prevalidate.py 3.7 KB runs code
- _pdf_combined_renderer.py 1.4 KB runs code
- _pdf_combined_transmission.py 2.2 KB runs code
- _pdf_figure_alts.py 10 KB runs code
- _pdf_figure_paths.py 8.3 KB runs code
- _pdf_latex_bibliography.py 2.7 KB runs code
- _pdf_latex_helpers.py 12 KB runs code
- _pdf_latex_pipeline.py 14 KB runs code
- _pdf_latex_validation.py 3.2 KB runs code
- _pdf_markdown_combine.py 3.6 KB runs code
- _pdf_math_delimiters.py 6.9 KB runs code
- _pdf_mermaid.py 18 KB runs code
- _pdf_pandoc_engine.py 8.9 KB runs code
- _pdf_preflight.py 2.7 KB runs code
- _pdf_section_titles.py 4.0 KB runs code
- _pdf_tex_transforms.py 575 B runs code
- _pdf_title_page_config.py 6.9 KB runs code
- _pdf_title_page_images.py 6.4 KB runs code
- _pdf_title_page_latex.py 2.5 KB runs code
- _pdf_title_page_publishing.py 14 KB runs code
- _pdf_title_page.py 7.3 KB runs code
- _pdf_unicode_remap.py 22 KB runs code
- _pipeline_summary.py 22 KB runs code
- _slide_draw.py 11 KB runs code
- _slides_accessibility_ast.py 30 KB runs code
- _slides_accessibility_composition.py 21 KB runs code
- _slides_accessibility_contracts.py 19 KB runs code
- _slides_accessibility_figures.py 16 KB runs code
- _slides_accessibility_image_io.py 17 KB runs code
- _slides_accessibility_limits.py 2.9 KB runs code
- _slides_accessibility_raw_tex.py 15 KB runs code
- _slides_accessibility_reveal_controls.py 14 KB runs code
- _slides_accessibility_reveal.py 22 KB runs code
- _slides_accessibility_table_cells.py 13 KB runs code
- _slides_accessibility_table_structure.py 4.7 KB runs code
- _slides_accessibility_table_widths.py 15 KB runs code
- _slides_accessibility_tables.py 11 KB runs code
- _slides_accessibility_text_geometry.py 20 KB runs code
- _slides_accessibility.py 1.1 KB runs code
- _slides_beamer_geometry.py 8.2 KB runs code
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.
- yesterday Changed · +33 lines 4c119909c899
- 5d ago Changed · +32 lines ed454a35890f
- 5d ago First seen · 209 lines · 53 tokens per session scan B 8a268b62b8c5
infrastructure-rendering is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 2,307 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
paper-figures
Extract figures from downloaded papers and include them in survey/review reports. Use when the report covers other groups' work and benefits from their architecture diagrams, experimental plots, or system schematics. Your brain prompt supplies the absolute path to the extract-figures script as {{EXTRACTFIGURES}} — use…
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.
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.
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.
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-compile
Compile a LaTeX document and fix every error plus aesthetic issue (overfull/underfull boxes, widows, alignment, fonts) for a clean PDF and log. Use this instead of running pdflatex/latexmk manually — it avoids the latexmk stale-log trap and silent grep failures on binary log output, and it reformats rather than…