latex-output

latex-output is a skill for Claude Code from Norman-bury/research-writing-skill. It costs 22 tokens per session (1,634 once invoked), scanned A, original, MIT.

A workflow for producing research papers in LaTeX, a text-based format commonly used for technical and academic documents. It can work with school or journal templates.

In plain words
What is it for?
Use it to create or organise .tex chapters, a main document, figures, and a BibTeX references file, then check that the document compiles.
Why use it?
It helps keep paper structure and formatting consistent while separating chapters, figures, references, and template files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the research-writing-skill plugin — 20 skills, 1 hook shipped together

Good fit Use it to create or organise .tex chapters, a main document, figures, and a BibTeX references file, then check that the document compiles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/norman-bury/research-writing-skill/latex-output
About the project

Norman-bury/research-writing-skill is an agent skill that turns academic paper writing into a tracked, reusable workflow with planning, drafting, reviews, figures, literature work, and LaTeX outputs. It is intended for undergraduate students, graduate students, and early-career researchers working on theses, coursework papers, or initial submissions. Its catalogue entries are the skills, instructions, plugin, and hook that implement the workflow across coding-agent platforms.

Norman-bury/research-writing-skill · 3,195 stars · on GitHub

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.

Any agent
npx skills add Norman-bury/research-writing-skill --skill latex-output
Clone the repo
git clone --depth 1 https://github.com/Norman-bury/research-writing-skill

Made for: Claude Code.

Or install research-writing-skill, the plugin that ships this one along with the rest of its 20 skills, 1 hook.

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 latex-output

README.md
[![agentmods](https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/latex-output/github.svg)](https://agentmods.dev/skills/norman-bury/research-writing-skill/latex-output)
Your own site
<a href="https://agentmods.dev/skills/norman-bury/research-writing-skill/latex-output"><img src="https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/latex-output/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 latex-output

Your own site · 80×15
<a href="https://agentmods.dev/skills/norman-bury/research-writing-skill/latex-output"><img src="https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/latex-output.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00022 $0.01634
Opus 5 $0.00011 $0.00817
Sonnet 5 $0.00004 $0.00327
Haiku 4.5 $0.00002 $0.00163

Measured 13d ago against content hash 2019e045bf5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

latex-output 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 13d 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.

skills/latex-output/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LaTeX 输出

负责将论文内容输出为 LaTeX 格式,支持用户提供的学校或期刊模板。

使用场景

  1. 用户明确要求 LaTeX 输出
  2. 用户提供了 LaTeX 模板
  3. 目标期刊/学校要求 LaTeX 格式

LaTeX 模板目录

用户可将模板文件放入 latex-templates/ 目录:

latex-templates/
├── README.md              # 使用说明
├── template.cls           # 模板类文件
├── template.sty           # 模板样式文件
└── main-template.tex      # 模板主文件示例

Checklist

  • 检查 latex-templates/ 是否有用户模板
  • 询问用户是否使用该模板
  • 解析模板结构(章节命令、格式要求)
  • 根据模板创建 .tex 章节文件
  • 创建 main.tex 主文件
  • 创建 references.bib 参考文献文件
  • 验证可编译性

模板解析

识别章节命令

常见的章节命令:

\chapter{章节名}      % 章
\section{节名}        % 节
\subsection{小节名}   % 小节
\subsubsection{小小节} % 小小节

识别特殊环境

\begin{abstract}...\end{abstract}  % 摘要
\begin{keywords}...\end{keywords}  % 关键词
\begin{figure}...\end{figure}      % 图片
\begin{table}...\end{table}        % 表格
\begin{equation}...\end{equation}  % 公式

输出结构

使用模板时

论文项目/
├── latex-templates/        # 原始模板(保持不动)
├── chapters/               # 章节内容(.tex)
│   ├── 00-abstract.tex
│   ├── 01-introduction.tex
│   ├── 02-literature.tex
│   └── ...
├── figures/                # 图片文件
├── main.tex                # 主文件
├── references.bib          # 参考文献
└── plan/                   # 项目计划

main.tex 模板

\documentclass{template}  % 或用户模板类

% 导入用户模板的样式
\usepackage{template}

% 基本设置
\title{论文题目}
\author{作者}
\date{\today}

\begin{document}

\maketitle

% 摘要
\input{chapters/00-abstract}

% 目录
\tableofcontents

% 正文章节
\input{chapters/01-introduction}
\input{chapters/02-literature}
\input{chapters/03-methods}
\input{chapters/04-results}
\input{chapters/05-discussion}
\input{chapters/06-conclusion}

% 参考文献
\bibliographystyle{gbt7714-numerical}  % 或其他样式
\bibliography{references}

\end{document}

章节文件格式

.tex 章节文件示例

% chapters/01-introduction.tex
% 绪论

\chapter{绪论}

\section{研究背景}

随着...技术的发展,...领域面临着...的挑战。
本文针对...问题,提出...方法。

\section{研究目的与意义}

本研究旨在...

\subsection{理论意义}

...

\subsection{实践意义}

...

\section{研究内容与方法}

本文的研究内容主要包括:

\begin{enumerate}
    \item 第一部分...
    \item 第二部分...
    \item 第三部分...
\end{enumerate}

\section{论文结构}

本文共分为X章,各章内容安排如下:

第一章为绪论,介绍...
第二章为文献综述,综述...
...

Read the full file on GitHub · 278 lines

Files

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.

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. 13d ago First seen · 278 lines · 22 tokens per session scan A 2019e045bf5c

Subscribe to this mod's changes

latex-output is a skill published in the GitHub repository Norman-bury/research-writing-skill (3,195 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 1,634 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-08-30.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens