template-validation-quality

A validation and quality-check workflow for research manuscripts and their outputs, including Markdown, citations, links, PDFs, and file integrity.

In plain words
What is it for?
Running manuscript checks, citation validation, link checking, PDF checks, prerender checks, and output-integrity checks with the repository's command-line tools.
Why use it?
It finds unresolved references, broken links, invalid documents, and incomplete output before results are used or shared.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/docxology/template/validation-quality
Any agent
npx skills add docxology/template --skill validation-quality
Clone the repo
git clone --depth 1 https://github.com/docxology/template

Made for: Claude Code, Codex.

Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00064 $0.00623
Opus 5 $0.00032 $0.00311
Sonnet 5 $0.00013 $0.00125
Haiku 4.5 $0.00006 $0.00062

Measured 2d ago against content hash 04821966bfed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

template-validation-quality 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 2d 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.

docs/prompts/validation-quality/SKILL.md · 78 lines

What it actually says

Validation quality

Prefer actual CLI entrypoints in CLAUDE.md — not illustrative Python stubs.

Natural invoke

  • "Validate markdown under projects/templates/template_prose_project/manuscript/"
  • "PDF has unresolved references — run validation"
  • "Strict prerender before render"

Inputs to confirm

  • Target — manuscript dir, PDF path, or output/<project>/.
  • Project — from active_projects when path ambiguous.

Workflow

  1. Source markdowninfrastructure.validation.cli markdown and/or prerender.

  2. Citationsinfrastructure.reference.citation validate on .bib.

  3. Linksinfrastructure.validation.cli links --repo-root .

  4. PDF — after render: cli pdf output/<project>/pdf/

  5. Integritycli integrity output/<project>/

  6. Report — diagnostic codes from validation; path + fix per issue.

Deliverables

  • Command list with exit codes
  • Issue table: code | file | message | fix

Verification commands

uv run python -m infrastructure.validation.cli prerender projects/<project>/manuscript --repo-root .
uv run python -m infrastructure.validation.cli markdown projects/<project>/manuscript --repo-root . --strict
uv run python -m infrastructure.reference.citation validate projects/<project>/manuscript/references.bib
uv run python -m infrastructure.validation.cli links --repo-root .
uv run python -m infrastructure.validation.cli pdf output/<project>/pdf/
uv run python -m infrastructure.validation.cli integrity output/<project>/
uv run python -m infrastructure.prose.cli report projects/<project>/manuscript

When NOT to use

References

Files

What ships with it

2 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. 2d ago First seen · 78 lines · 64 tokens per session scan A 04821966bfed

Subscribe to this mod's changes

template-validation-quality is a skill published in the GitHub repository docxology/template (19 stars, last pushed 2d ago), licensed Apache-2.0. It adds 64 tokens to every session and 623 once invoked, about $0.0003 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.

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

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

talisman

Generate a polished, on-brand PDF guide/handbook/whitepaper from a codebase or project using LaTeX (.tex -> .pdf) or Markdown->pandoc->pdf, with a designed cover page, the product's real brand colors and logo, a subtle branded page background, and TikZ diagrams (domain models, flows, state machines). Use for any…

jeunecraack/talisman-skill · 120 tokens

polish-tables-figures

Polishes LaTeX tables and figures to publication quality. Use when a researcher mentions table formatting, booktabs, figure layout, subfigures, captions, colorblind-safe colors or palettes, cref/cleveref consistency, overfull hbox, column widths, or asks to make tables and figures look professional or camera-ready for…

ShaishavMaisuria/research-paper-lifecycle-skills · 191 tokens

awesome-ieee-report

Generates IEEE-format LaTeX technical reports from project requirements and codebase evidence, using academic prose, pseudocode-only explanations, BibTeX references, and IEEEtran formatting.

EnesDemir143/awesome-ieee-report · 41 tokens

scientific-publication-plotter

Use when the user asks to plot for the paper, make a manuscript or journal figure, export a publication or thesis PDF, or prepare supplementary vector graphics—in R with ggplot2 only or Python with plotnine only. Enforces vector PDF, 85 mm and 180 mm widths, one Times text size with no plot title, Wong discrete…

dazhiyang/scientific-plotting-skill · 104 tokens