Agent skill

Latex Output

by Norman-bury in Norman-bury/research-writing-skill

A skill your agent uses when user requests LaTeX format output or has provided school/journal LaTeX templates

MITAuto-check passedDocuments & Office

Install Latex Output

skills CLI
$ npx skills add Norman-bury/research-writing-skill --skill latex-output -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Norman-bury/research-writing-skill latex-output --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/latex-output .claude/skills/latex-output && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
latex-output
GitHub stars
3.4k
Token cost
~977 tokens
SKILL.md length
76 words
Files
2
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when user requests LaTeX format output or has provided school/journal LaTeX templates

  • Works in 3 steps: 用户明确要求 LaTeX 输出 → 用户提供了 LaTeX 模板 → 目标期刊/学校要求 LaTeX 格式
  • User requests LaTeX format output
  • SKILL.md covers 使用场景, LaTeX 模板目录, Checklist and 模板解析, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Latex Output is an agent skill from Norman-bury/research-writing-skill. Use when user requests LaTeX format output or has provided school/journal LaTeX templates

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `template-parser.md`).

It sits in Documents & Office, covering LaTeX. It works with LaTeX. The repository describes itself as: 科研写作助手 (Research Writing Assistant). The licence is MIT.

When your agent uses it

  • User requests LaTeX format output
  • Has provided school/journal LaTeX templates

Example prompts

  • “/latex-output”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 6f79595. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are latex, bibtex, markdown and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Latex Output loads about 977 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 76 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~977

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Norman-bury/research-writing-skill at commit 6f79595, republished under its MIT licence (© Norman-bury). 76 words, ~977 tokens.

Download SKILL.mdSave it as .claude/skills/latex-output/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
latex-output
description
Use when user requests LaTeX format output or has provided school/journal LaTeX templates

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 参考文献文件
  • 验证可编译性

模板解析

识别章节命令

常见的章节命令:

latex
\chapter{章节名}      % 章
\section{节名}        % 节
\subsection{小节名}   % 小节
\subsubsection{小小节} % 小小节
识别特殊环境
latex
\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 模板
latex
\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 章节文件示例
latex
% chapters/01-introduction.tex
% 绪论

\chapter{绪论}

\section{研究背景}

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

\section{研究目的与意义}

本研究旨在...

\subsection{理论意义}

...

\subsection{实践意义}

...

\section{研究内容与方法}

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

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

\section{论文结构}

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

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

参考文献(BibTeX)

references.bib 格式
bibtex
@article{author2023title,
    author = {张三 and 李四},
    title = {论文标题},
    journal = {期刊名称},
    year = {2023},
    volume = {10},
    number = {2},
    pages = {100-110},
}

@book{author2022book,
    author = {王五},
    title = {书籍名称},
    publisher = {出版社},
    year = {2022},
    address = {出版地},
}

@inproceedings{author2021conf,
    author = {赵六},
    title = {会议论文标题},
    booktitle = {会议名称},
    year = {2021},
    pages = {50-55},
}

常见模板适配

清华大学模板 (ThuThesis)
latex
\documentclass[degree=master]{thuthesis}

特殊命令:

  • \thusetup{...} 设置论文信息
  • \makecover 生成封面
  • \frontmatter 前言部分
  • \mainmatter 正文部分
  • \backmatter 附录部分
国科大模板 (ucasthesis)
latex
\documentclass{ucasthesis}
期刊模板

不同期刊格式各异,需根据用户提供的模板解析。

编译说明

在 plan/notes.md 中记录编译命令:

markdown
## LaTeX 编译

### 推荐工具
- TeXLive (跨平台)
- MacTeX (macOS)
- MiKTeX (Windows)

### 编译命令
```bash
xelatex main.tex
bibtex main
xelatex main.tex
xelatex main.tex
一键编译
bash
latexmk -xelatex main.tex

## 与 Markdown 的转换

### 从 Markdown 转 LaTeX

如果用户已有 Markdown 内容,可以转换:

1. 标题:`# 标题` → `\chapter{标题}`
2. 加粗:`**文字**` → `\textbf{文字}`
3. 引用:`> 引用` → `\begin{quote}引用\end{quote}`
4. 代码:`` `代码` `` → `\texttt{代码}`
5. 列表:`- 项目` → `\begin{itemize}\item 项目\end{itemize}`

### 注意事项

- LaTeX 特殊字符需转义:`# $ % & _ { } ~ ^`
- 中文需使用 XeLaTeX 编译
- 图片路径使用相对路径

## 错误处理

### 如果没有模板

> "未检测到 LaTeX 模板。请选择:
> 1. 提供模板文件(放入 latex-templates/)
> 2. 使用默认 article 类
> 3. 使用 ctexart 类(中文)
> 4. 继续使用 Markdown 格式"

### 如果模板不完整

> "检测到模板文件,但缺少 [文件名]。
> 请补充完整模板,或使用默认设置。"

© Norman-bury, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/latex-output of Norman-bury/research-writing-skill.

  • SKILL.md
  • template-parser.md

Open the folder on GitHubat commit 6f79595

Compare with similar skills

Latex Output next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Latex Output compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Latex Output this skillNorman-bury/research-writing-skill3.4k—~977Automated safety check: PassMIT
Fill In NotesPolaris-Aeterna/loom-notes167—~975Automated safety check: PassCustom licence
Thesis Figure Skill0xE1337/thesis-figure-skill144—~9.1kAutomated safety check: PassMIT
Repo Maintenancewengan-li/ncku-thesis-template-latex151—~4.3kAutomated safety check: PassCustom licence
Sci PptShZhao27208/Aut_Sci_Write209—~757Automated safety check: PassMIT
Latex Thesis Zhbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~1.5kAutomated safety check: PassCustom licence

Similar skills

  • Fill In Notes

    Polaris-Aeterna/loom-notes

    Turn a textbook chapter, lecture, or paper into beautiful "fill-in" study notes — written to be READ (clean statements, intuition) yet engineered to be FILLED (blanks, proof skeletons, "your turn"…

    167 GitHub stars~975 tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Thesis Figure Skill

    0xE1337/thesis-figure-skill

    生成学术论文配图:LaTeX/TikZ 代码(结构化图表,直接嵌入论文)或 draw.io XML (技术路线图、汇报配图)。自动按论文领域风格设计,编译验证后交付。

    144 GitHub stars~9.1k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Repo Maintenance

    wengan-li/ncku-thesis-template-latex

    A skill your agent uses for maintaining and releasing this repository.

    151 GitHub stars~4.3k tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed
  • Sci Ppt

    ShZhao27208/Aut_Sci_Write

    Generate professional academic PowerPoint (PPTX) presentations from paper PDFs, structured outlines, or plain text.

    209 GitHub stars~757 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.6k GitHub stars~1.5k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Article Format Adjustment

    aipoch/medical-research-skills

    Adjust academic paper formatting and convert between DOCX/LaTeX/Markdown when you need to meet a journal or school template requirement.

    1.9k GitHub stars~2.4k tokensUpdated 24 days ago
    Documents & OfficeAuto-check passed

More from Norman-bury/research-writing-skill

All 20 skills in this repo
  • Evidence Driven Writing

    Norman-bury/research-writing-skill

    A skill your agent uses when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims

    3.4k GitHub stars~952 tokensUpdated 4 mo ago
    Auto-check passed
  • Environment Setup

    Norman-bury/research-writing-skill

    A skill your agent uses when Python environment setup is needed for data visualization or conda installation is required

    3.4k GitHub stars~840 tokensUpdated 4 mo ago
    Auto-check passed
  • Experiment Results Planning

    Norman-bury/research-writing-skill

    A skill your agent uses when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final

    3.4k GitHub stars~990 tokensUpdated 4 mo ago
    Auto-check passed
  • Figures Diagram

    Norman-bury/research-writing-skill

    A skill your agent uses when creating flowcharts, architecture diagrams, or conceptual diagrams - generates prompts for image AI

    3.4k GitHub stars~548 tokensUpdated 4 mo ago
    Auto-check passed
  • Figures Python

    Norman-bury/research-writing-skill

    A skill your agent uses when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes

    3.4k GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Literature Review

    Norman-bury/research-writing-skill

    A skill your agent uses when writing literature review sections - guides searching, organizing, and synthesizing academic sources

    3.4k GitHub stars~2.2k tokensUpdated 4 mo ago
    Auto-check: notes

Works with

Questions about Latex Output

What does Latex Output do?

A skill your agent uses when user requests LaTeX format output or has provided school/journal LaTeX templates. Latex Output is an agent skill from Norman-bury/research-writing-skill.

When should I use Latex Output?

Latex Output fits situations like: user requests LaTeX format output; has provided school/journal LaTeX templates.

How do I install Latex Output in Claude Code?

Run `npx skills add Norman-bury/research-writing-skill --skill latex-output -a claude-code`. Or copy the skill folder (skills/latex-output in Norman-bury/research-writing-skill) into .claude/skills/latex-output in your project. Claude Code loads it when a task matches its description.

How do I install Latex Output in Codex?

Run `npx skills add Norman-bury/research-writing-skill --skill latex-output -a codex`. Or copy the skill folder (skills/latex-output in Norman-bury/research-writing-skill) into .agents/skills/latex-output in your project. Codex loads it when a task matches its description.

Can I use Latex Output in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Norman-bury/research-writing-skill --skill latex-output -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/latex-output, .gemini/skills/latex-output, .github/skills/latex-output and .opencode/skills/latex-output in your project.

What does Latex Output need to run?

SKILL.md names no scripts, command-line tools or credentials: Latex Output is instructions for the agent only.

Does Latex Output access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Latex Output safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Latex Output use?

Latex Output is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Latex Output use?

About 977 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Latex Output?

Skills that share tags, products or a category with Latex Output: Fill In Notes (Polaris-Aeterna/loom-notes, 167 stars), Thesis Figure Skill (0xE1337/thesis-figure-skill, 144 stars), Repo Maintenance (wengan-li/ncku-thesis-template-latex, 151 stars) and Sci Ppt (ShZhao27208/Aut_Sci_Write, 209 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Latex Output?

Norman-bury (a GitHub user) maintains it in Norman-bury/research-writing-skill, which has 3,384 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on June 10, 2026.

Source: Norman-bury/research-writing-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.