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.
npx skills add Rezenders/scientific_writing_agent --skill latex-structure-auditgit clone --depth 1 https://github.com/Rezenders/scientific_writing_agentWrote 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/rezenders/scientific_writing_agent/latex-structure-audit)<a href="https://agentmods.dev/skills/rezenders/scientific_writing_agent/latex-structure-audit"><img src="https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/latex-structure-audit/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/rezenders/scientific_writing_agent/latex-structure-audit"><img src="https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/latex-structure-audit.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.00030 | $0.00629 |
| Opus 5.5 | $0.00012 | $0.00252 |
| Sonnet 5.5 | $0.00006 | $0.00126 |
| Haiku 4.5 | $0.00003 | $0.00063 |
Grade A, and why
latex-structure-audit 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX Structure Audit
Read-only source audit. Builds may create artifacts, but never change manuscript files, keys, equations, or macros. This is not a scientific or stylistic review.
Scope and tools
- Incremental (default after an edit): inspect the supplied diff, affected files, enclosing environments and relevant definitions/users. Search the active manuscript for label/key uniqueness even when only one file changed.
- Full: inspect all active files and relevant compiled-document diagnostics. Establish the selected entry point; do not include archival drafts by default.
- Read
.agents/context/paper-model.mdand runpython3 scripts/latex_project_map.py --root . --entry <MAIN_TEX>(optionally--fls <RECORDER>). Inspect limitations and unresolved dependencies. - Discover the harness's available LSP operations; prefer definition lookup,
references, symbols and diagnostics when supported. Pi and Claude tool names
differ. Do not install an extension or assume TexLab is mandatory. Fall back
to
rg -n -F, source reading and compilation.
Procedure
- Establish active files and change scope. Load
references/checklist.mdfor concrete checks and evidence boundaries. - Reuse a current
paper-buildJSON report, with entry/command and source currency checked. If absent or structural changes affect validity, runpaper-build; do not implement another build pipeline. Record NOT RUN if tools are unavailable. Distinguish source candidates from compiler findings. - Inspect labels and references, citations/bibliography keys, dependencies, important macro definitions/uses, and environment boundaries. Inspect local class/style files if they define relevant commands. Verify candidate problems with compilation or LSP where possible. Unknown package commands are not automatically undefined macros.
- For incremental mode, compare protected constructs before/after against the author's approved change. Separate expected structural changes from unexpected changes. Report pre-existing findings separately, without attributing them to this edit. No baseline means introduction status is unknown.
- Report findings and coverage. Do not fix them or feed them into a writer without human approval. No mandatory full audit for a minor wording edit.
What ships with it
1 file 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.
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.
- 29d ago First seen · 55 lines · 30 tokens per session scan A 8b47a8b3af07
latex-structure-audit is a skill published in the GitHub repository Rezenders/scientific_writing_agent (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5.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-11-07.
latex-structure-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| latex-structure-auditRezenders/scientific_writing_agent | Skill | 14 | 1mo ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| clinical-case-reportnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 73 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | yesterday | Apache-2.0 | A | 123 | Claude Code |
| nature-paper2wordYuan1z0825/nature-skills | Skill | 56k | 2d ago | Apache-2.0 | A | 233 | Codex |
| pydicomK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 52 | Claude Code, Codex |
| nature-paper-transYuan1z0825/nature-skills | Skill | 56k | 2d ago | Apache-2.0 | A | 68 | Codex |
| nature-experiment-logYuan1z0825/nature-skills | Skill | 56k | 2d ago | Apache-2.0 | A | 45 | Codex |