/overleaf-mcp-rt:overleaf-latex-workflowfrom Overleaf (real-time)
Guides LaTeX projects on Overleaf: finding the main document, compiling, reading errors, fixing them, and keeping shared papers buildable. Use when writing or revising a paper, fixing compile errors, adding figures/tables/sections/citations, or verifying a project still builds.
Ships in Overleaf (real-time). 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.
None: SKILL.md is the whole skill.
Use the overleaf-editing skill for how to change text. This skill is about what to change and how to know it worked.
overleaf_get_project_tree returns the file tree and rootDoc: the project's main document, the file a compile starts from. It is whatever the project's owner set — do not assume main.tex. (If rootDoc is null the project has none set; look for the file with \documentclass.) Read it and follow its \input / \include / \subfile lines to see which file holds which section. Edit the file that actually contains the text.\newcommands in the preamble), citation command (\cite / \citep / \autocite), label scheme (fig:, sec:, eq:), quote style, and whether it writes one sentence per line.overleaf_compile.overleaf_compile again and read its errors: each has the file, the line and the text TeX stopped at. Start from the first one; later errors are usually fallout. status: "success" only means a PDF came out — LaTeX recovers from many errors, so a clean build is errorCount: 0. Any other status comes with a message saying why there is no PDF. Reach for overleaf_read_compile_log (the whole log, often tens of kilobytes) only when the summary is not enough — an error is ! … followed by an l.<line> marker.Common first errors: Undefined control sequence (missing \usepackage, or a macro the project doesn't define), Missing $ inserted (unescaped _, ^, %, &, # in text), File … not found (wrong relative path — paths are relative to the root file, not to the included file), unbalanced \begin/\end or braces, Citation … undefined (key missing from the .bib; may need a second compile).
overleaf_compile takes draft: true (faster, skips images) and stopOnFirstError: true. overleaf_download_pdf returns the PDF when you need to check layout.
Compiling a particular file. A compile builds the project's main document. To build something else — slides or a cover letter kept in the same project, a chapter that stands on its own — pass its path as rootDoc to overleaf_compile (and to overleaf_read_compile_log / overleaf_download_pdf). That affects only that call; the project's main document, which is what the people in the editor compile, stays as it is. The file must have its own \documentclass: a section that is \input into the paper cannot be compiled by itself — compile the main document and look at the errors reported for that file. Every result names the rootDoc that was compiled; check it is the one you meant.
.bib file with overleaf_edit_doc (anchor on a neighbouring entry). Check the key is not already there. Never invent bibliographic details — if you cannot verify a reference, add a % TODO and tell the user.overleaf_upload_file into the project's figures folder, then \includegraphics with a path relative to the root file. Give every figure and table a \caption and a \label placed after the caption, and refer to it with \ref / \cref.\usepackage lines to the preamble sparingly, next to the existing ones; some packages conflict or must load in a particular order (hyperref near the end, cleveref after it).\input it, or comment the old version out, rather than deleting a collaborator's paragraph.Prefer a review comment (overleaf-comments skill) for questions and suggestions. Where comments are unavailable (stock Community Edition), leave % TODO(<your agent name>): … next to the passage — never silent changes to meaning, numbers, claims or author lists.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/overleaf-commentsReading, writing, answering and resolving Overleaf review-panel comments via overleaf_list_comments, overleaf_add_comment, overleaf_reply_comment and overleaf_resolve_comment, including the mandatory "Co-authored by" signature. Use when the user asks you to review a document, leave feedback or questions, respond to comments a collaborator left, or when you would otherwise change a passage whose meaning is the author's call./overleaf-editingHow to read and edit Overleaf documents through the overleaf_* MCP tools without disrupting people who have the project open, including suggesting edits as tracked changes for a person to accept or reject. Use whenever you are about to read, edit, create, move or delete files in an Overleaf project, when the user wants to approve your edits first, or when a tool result contains an <external-changes> block, EDIT_NO_MATCH, EDIT_AMBIGUOUS, DOC_CHANGED_EXTERNALLY, DOC_NOT_READ, TRACK_CHANGES_UNSUPPORTED or TRACK_CHANGES_LIMIT./overleaf-setupInstall, log in to, and troubleshoot the overleaf-mcp-rt MCP server. Use when Overleaf tools are missing or failing (OVERLEAF_AUTH_FAILED, INVALID_CONFIG, PROXY_AUTH_FAILED, "connection closed"), when the user wants to connect a new Overleaf instance or overleaf.com, or when a session cookie has expired.npx claudepluginhub danielhou315/overleaf-mcp-rt --plugin overleaf-mcp-rtOther plugins' skills for the same job