infrastructure-rendering

infrastructure-rendering is a skill for Claude Code, Codex from docxology/template. It costs 53 tokens per session (2,307 once invoked), scanned B, original, Apache-2.0.

A rendering toolkit that turns manuscript source files into PDFs, web pages, and presentation slides. It supports Markdown and LaTeX research documents.

In plain words
What is it for?
It is for rendering individual or combined manuscripts as PDFs, standalone HTML pages, or Beamer and Reveal.js slides.
Why use it?
It avoids maintaining separate processes for each output format. The same manuscript can be prepared for reading, web publishing, or presenting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is slides_reader_href="../web/index.html",.

Good fit It is for rendering individual or combined manuscripts as PDFs, standalone HTML pages, or Beamer and Reveal.js slides.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/docxology/template
agentmods
npx agentmods add skills/docxology/template/rendering

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for infrastructure-rendering

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/rendering/github.svg)](https://agentmods.dev/skills/docxology/template/rendering)
Your own site
<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.

agentmods 80×15 button for infrastructure-rendering

Your own site · 80×15
<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>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 4c119909c899, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 59 executable files (__init__.py, __main__.py, _bibliography.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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
infrastructure/rendering/SKILL.md · 274 lines

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.

Read the full file on GitHub · 274 lines

Files

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.

Changes

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.

  1. yesterday Changed · +33 lines 4c119909c899
  2. 5d ago Changed · +32 lines ed454a35890f
  3. 5d ago First seen · 209 lines · 53 tokens per session scan B 8a268b62b8c5

Subscribe to this mod's changes

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.

Related

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…

Muuuun/luxas · 79 tokens

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.

flonat/flonat-research · 54 tokens

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.

flonat/flonat-research · 63 tokens

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.

flonat/flonat-research · 64 tokens

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.

flonat/flonat-research · 45 tokens

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…

Mexregkan/claude-for-researchers · 79 tokens