template-newspaper

template-newspaper is a skill for Claude Code, Codex from docxology/template. It costs 29 tokens per session (458 once invoked), scanned A, original, Apache-2.0.

A project template that creates 12-page newspaper-style PDFs from structured YAML data using Python and ReportLab. YAML is a human-readable format for organised settings and content.

In plain words
What is it for?
It is for producing tabloid or broadsheet layouts, rendering structured content into PDFs, validating the result, and reusing the project as a publication scaffold.
Why use it?
It separates newspaper content from page layout, making repeatable generation and validation easier when the same format must be regenerated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_newspaper.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 template-newspaper

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/template-newspaper.svg)](https://agentmods.dev/skills/docxology/template/template-newspaper)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/template-newspaper"><img src="https://agentmods.dev/badge/skills/docxology/template/template-newspaper.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 458 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.1 $0.00029 $0.00458
Opus 5 $0.00015 $0.00229
Sonnet 5 $0.00006 $0.00092
Haiku 4.5 $0.00003 $0.00046

Measured 2d ago against content hash bd20b8e4b5f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

template-newspaper 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.

projects/templates/template_newspaper/.agents/skills/template-newspaper/SKILL.md · 51 lines

What it actually says

template-newspaper

Project-scoped skill for the in-repo exemplar at projects/templates/template_newspaper/. Load this when working inside the project.

When to Use

  • Working inside the template_newspaper exemplar — running scripts, editing source, or regenerating outputs.
  • Forking this exemplar as the starting scaffold for a new research project.
  • Validating that the exemplar's contracts (thin-orchestrator, layer boundaries, no-mocks testing) still hold after changes.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_newspaper/tests --cov=projects/templates/template_newspaper/src --cov-fail-under=90
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_newspaper
uv run python scripts/pipeline/stage_03_render.py --project templates/template_newspaper
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_newspaper
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_newspaper

Pitfalls

  • Keep scripts thin. Business logic belongs in src/ or shared infrastructure/, not in scripts/.
  • No mocks. All tests must use real data, real files, and real computation.
  • Outputs are disposable. Never hand-edit output/ — regenerate from source and config.
  • Run from the repo root. Commands assume the template monorepo root as working directory unless the child AGENTS.md states otherwise.

Cross-refs

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 · 51 lines · 29 tokens per session scan A bd20b8e4b5f6

Subscribe to this mod's changes

template-newspaper is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 458 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

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

slides

Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding…

fcakyon/claude-codex-settings · 83 tokens

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

liteparse

Parse documents into LLM-ready content entirely on the local machine — PDF / DOCX / XLSX / PPTX / images → Markdown, structured JSON (with bounding boxes), or page screenshots, via the lit CLI. No cloud, no LLM, works offline. Use whenever the user attaches or points to a document that must be read before reasoning…

Prismer-AI/PrismerCloud · 90 tokens

ingest-link

Use when the user wants to ingest web URLs, online PDFs, rendered web pages, standards, manuals, or articles through qt-web-extractor into the normal document-ingest workflow.

ZimoLiao/scholaraio · 40 tokens

webextract

Use when a URL or online PDF needs ingestion-ready rendered content, or when host-native URL reading failed because JavaScript/PDF rendering is required; only use it for those cases, not routine web discovery or reading.

ZimoLiao/scholaraio · 46 tokens