export-latex

export-latex is a skill for Claude Code, Codex from Zaoqu-Liu/ScienceClaw. It costs 84 tokens per session (829 once invoked), scanned A, original, MIT.

A workflow that turns a ScienceClaw research project into a LaTeX manuscript draft, including findings, methods, figures, and references. LaTeX is a text-based system commonly used to format scientific papers.

In plain words
What is it for?
Use it to draft generic or journal-formatted manuscripts for venues such as Nature, Cell, or Lancet.
Why use it?
It removes the need to copy research results into paper sections and prepare figures and bibliography files by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to draft generic or journal-formatted manuscripts for venues such as Nature, Cell, or Lancet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaoqu-liu/scienceclaw/export-latex
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 Zaoqu-Liu/ScienceClaw --skill export-latex
Clone the repo
git clone --depth 1 https://github.com/Zaoqu-Liu/ScienceClaw

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/export-latex/github.svg)](https://agentmods.dev/skills/zaoqu-liu/scienceclaw/export-latex)
Your own site
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/export-latex"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/export-latex/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 export-latex

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/export-latex"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/export-latex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 829 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.
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.00084 $0.00829
Opus 5 $0.00042 $0.00415
Sonnet 5 $0.00017 $0.00166
Haiku 4.5 $0.00008 $0.00083

Measured 6d ago against content hash 8f697c06a2ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

export-latex 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 6d 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/export-latex/SKILL.md · 110 lines

How it starts

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

Export Project to LaTeX Manuscript

Auto-generate a LaTeX paper draft from a ScienceClaw project's report, figures, and METHODS.md. Uses venue-templates skill for journal-specific formatting.

When to Use

  • User says "/export latex", "导出 LaTeX", "写论文初稿", "生成论文"
  • User wants to draft a manuscript from analysis results
  • User specifies a target journal (Nature, Cell, Lancet, etc.)

Workflow

  1. Identify the project and read report + METHODS.md + figures
  2. Ask for target journal if not specified (default: generic article)
  3. Map report sections to paper structure (Introduction, Methods, Results, Discussion)
  4. Generate .tex file with proper formatting
  5. Copy figures to a latex/figures/ subdirectory
  6. Generate .bib file from references
  7. Save to reports/<project_name>_manuscript.tex

Paper Structure Mapping

Report Section Paper Section
Background / Introduction Introduction
METHODS.md Methods / Materials and Methods
Results / Findings / Analysis Results
Summary / Conclusions / Discussion Discussion
References Bibliography (.bib)

LaTeX Template (Generic Article)

\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{hyperref}
\usepackage[margin=2.5cm]{geometry}
\usepackage{natbib}
\bibliographystyle{unsrtnat}

\title{TITLE_PLACEHOLDER}
\author{ScienceClaw Analysis}
\date{\today}

\begin{document}
\maketitle

\begin{abstract}
ABSTRACT_PLACEHOLDER
\end{abstract}

\section{Introduction}
INTRO_PLACEHOLDER

\section{Methods}
METHODS_PLACEHOLDER

\section{Results}
RESULTS_PLACEHOLDER

\section{Discussion}
DISCUSSION_PLACEHOLDER

\section*{Acknowledgments}
This analysis was performed using ScienceClaw with data from [list databases].

\bibliography{references}

\end{document}

BibTeX Generation

Convert GB/T 7714 references from the report to BibTeX entries:

Read the full file on GitHub · 110 lines

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. 6d ago First seen · 110 lines · 84 tokens per session scan A 8f697c06a2ae

Subscribe to this mod's changes

export-latex is a skill published in the GitHub repository Zaoqu-Liu/ScienceClaw (60 stars, last pushed 5mo ago), licensed MIT. It adds 84 tokens to every session and 829 once invoked, about $0.0004 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

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

extracting-lab-tables

Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…

maziyarpanahi/openmed · 210 tokens

paper-spine

Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.

WUBING2023/PaperSpine · 37 tokens

paper-compile

A build workflow that turns LaTeX source files into a PDF and checks whether the paper compiles correctly. LaTeX is a text-based system commonly used for academic papers.

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

nsfc-budget

A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.

huangwb8/ChineseResearchLaTeX · 138 tokens