/manuscript:manuscript-formattingfrom manuscript
Formats manuscripts for journal submission, converting between Word/DOCX, Markdown, and LaTeX. Manages references, BibTeX, and submission checklists for journals like Nature and IEEE.
Ships in manuscript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Format manuscripts to meet journal-specific requirements and prepare submission packages.
Use this workflow when the reader needs an editable .docx manuscript draft. The bundled reference document gives a polished, readable starting point with a clear title block, restrained headings, legible body text, page numbers, figure and table captions, and compact table text. It is a review-draft style, not a substitute for a journal's required template.
Set SKILL_DIR to the directory containing this SKILL.md, or replace it with that directory's full path in the commands below. A ready-to-use reference file is at assets/Manuscript_Draft_Reference.docx. Copy it into the manuscript project and pass it to Pandoc with --reference-doc.
To generate a fresh copy or change the sample title, run the bundled helper with Python 3.11 or newer and python-docx available:
uv run --with python-docx python "$SKILL_DIR/scripts/create_docx_template.py" --output manuscript/reference.docx --title "Manuscript Title Goes Here"
Pandoc uses the reference DOCX's styles, page setup, header, and footer; it replaces the sample body with the Markdown manuscript. Keep the reference file in the project so collaborators can reproduce the same Word styling.
Represent each figure as a top-level fenced Div with the .paper-figure class. Put one standalone image first, then one or more caption paragraphs. The image's alt text is used as accessible alternative text; write it as a concise description of the visual information, separately from the caption.
::: {.paper-figure}
{width=95%}
Figure 1. Response time increased with device latency. The shaded band shows the 95% confidence interval.
:::
Run the conversion with the bundled figure-placement filter. The default is inline, which keeps each figure at its Markdown location. Set figure-placement to end to gather marked figures in a Figures section immediately before References, or at the end when no References heading is present.
pandoc manuscript.md --output manuscript.docx --reference-doc manuscript/reference.docx --lua-filter="$SKILL_DIR/scripts/figure-placement.lua" --metadata figure-placement=inline --citeproc --bibliography=references.bib --csl=journal.csl
For end-of-document figures, change the metadata value to figure-placement=end.
Keep a textual callout such as Figure 1 in the surrounding prose so readers can find the figure in either layout. Use figure-placement=inline for the normal in-place draft. The filter rejects malformed .paper-figure blocks and images without alt text instead of silently dropping content.
Open the result in Word or LibreOffice and inspect page breaks, long captions, table widths, equations, cross-references, and the rendered bibliography. Journal submission rules override this generic draft styling; apply the journal's actual template and figure-placement requirements before submission.
\documentclass[journal]{IEEEtran}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{graphicx}
\documentclass[preprint,12pt]{elsarticle}
\documentclass[options]{class}
\usepackage{packages}
\title{Title}
\author{Authors}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\section{Introduction}
\section{Methods}
\section{Results}
\section{Discussion}
\bibliography{references}
\end{document}
@article{smith2024,
author = {Smith, John and Doe, Jane},
title = {Title of the Paper},
journal = {Journal Name},
year = {2024},
volume = {10},
pages = {1--15},
doi = {10.1000/example}
}
Common BibTeX styles:
plain - numbered, sorted alphabeticallyunsrt - numbered, order of citationieeetr - IEEE transactions styleapalike - APA-like author-year\label{fig:results} % Label a figure
\ref{fig:results} % Reference by number
Figure~\ref{fig:results} % Standard format
manuscript:humanizer on it; cover letters are particularly prone to AI-tell phrasing)manuscript:humanizer natural-writing pass applied to all narrative sections, then journal house style (title case, citation format, etc.) re-applied where it overrides humanizer defaultsDear Editor,
We submit our manuscript titled "{TITLE}" for consideration
in {JOURNAL}.
{1-2 sentences: what the study did and found}
{1-2 sentences: why this matters to the journal's readership}
{1 sentence: confirmation of originality and no concurrent submission}
We suggest the following reviewers:
1. {Name, Affiliation, Email}
2. {Name, Affiliation, Email}
Sincerely,
{Corresponding Author}
pandoc manuscript.md -o manuscript.tex --template=journal-template.tex --bibliography=refs.bib --citeproc
pandoc manuscript.docx -o manuscript.tex --extract-media=figures/
pandoc manuscript.tex -o manuscript.docx --bibliography=refs.bib --citeproc
Semantic line breaks put each substantial unit of thought on its own source
line, so a small prose edit produces a small, reviewable diff. The
SemBr specification requires that this formatting not
alter the rendered document. The sembr CLI
supports Markdown, plain text, and LaTeX and can be installed portably with
uv tool install sembr.
Raw SemBr output is reasonable for ordinary Markdown after review. Do not trust raw output on LaTeX: line breaks can change comment scope or corrupt commands and escape sequences. Use the bundled safety wrapper for LaTeX:
uv run python plugins/manuscript/skills/manuscript-formatting/scripts/semantic_breaks.py \
manuscript.tex manuscript-semantic.tex \
--compile-command latexmk -pdf -interaction=nonstopmode \
-outdir '{build_dir}' '{source}'
The wrapper performs these gates before writing the destination:
\\begin{verbatim}...\\end{verbatim} blocks and full-line %
comments with atomic placeholders, then restores them after SemBr.difflib.SequenceMatcher. If any token content diverges, it restores the
original paragraph containing that divergence; whitespace-only changes in
other paragraphs remain available as semantic breaks. A whitespace-collapsed
string comparison alone is unsafe because it misses % comment truncation.--compile-command is supplied, it compiles the original and guarded
versions separately, runs pdftotext on both PDFs, and refuses to write the
result unless the extracted bytes are identical. The compiler command must
use {source} for its input and route generated files into {build_dir};
arguments after --compile-command are consumed by the wrapper.Inspect the resulting diff and keep the compiled-output check in the workflow; matching extracted text is a safety gate, not a substitute for reviewing the source and the rendered PDF.
assets/Manuscript_Draft_Reference.docx (opens in a new tab)references/journal-requirements.md (opens in a new tab)references/latex-troubleshooting.md (opens in a new tab)scripts/create_docx_template.py (opens in a new tab)scripts/figure-placement.lua (opens in a new tab)scripts/semantic_breaks.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub neuromechanist/research-skills --plugin manuscript5 skills in this plugin
/humanizerUse this skill for "humanize this text", "remove AI tells", "make this less AI-sounding", "strip AI patterns", "de-AI my writing", "reduce AI-isms", "final natural-writing pass", "check for AI vocabulary", "em dash overuse", "rule of three overuse", "AI vocabulary", "signs of AI writing", "AI tells in grant prose", "too much passive voice", "ambiguous pronouns", or when polishing prose (papers, grants, lit reviews, abstracts, cover letters, responses to reviewers) to remove signs of AI-generated text while preserving meaning and discipline-appropriate conventions./lit-reviewUse this skill for "literature review workflow", "multi-phase lit review", "direction paper", "review paper protocol", "strand-based literature review", "citation-grounded review", "systematic lit review with paper cards", "build a lit review corpus", "lit review pipeline", "orchestrate a literature review", "research directions document", "write a literature review", "synthesize papers", "thematic review", "narrative review", "systematic review", "scoping review", "gap analysis", or when the user wants either a rigorous multi-phase citation-traceable lit review or a single-pass thematic synthesis for an Introduction/Background section./manuscript-writingUse this skill for "write a paper", "draft manuscript", "write introduction", "write methods section", "write results", "write discussion", "write abstract", "structure a paper", "academic writing", "write for journal", or when the user wants to draft or revise sections of an academic manuscript./paper-reviewUse this skill for "review this paper", "review this manuscript", "peer review", "review my paper", "critique this manuscript", "review this submission", "give me feedback on my paper", "check my methods", "review my statistics", "review as a peer reviewer", "evaluate this manuscript", "review this PDF", or mentions manuscript review, peer review, paper critique, or methodological review.Other plugins' skills for the same job