sync-tex
Transfers prose edits from latex/index.tex (Overleaf) back into index.qmd. Use after pulling LaTeX edits from a collaborator.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill sync-tex --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Sync LaTeX Edits to QMD Transfer prose changes made by collaborators in `latex/index.tex` (e.g., via Overleaf) back into `index.qmd`. ## Prerequisites - `latex/.baseline.tex` must exist (auto-created by `bash scripts/render.sh`) - `latex/index.tex` must contain collaborator edits (pulled from Overleaf / GitHub) ## Steps 1. Read these three files: - `latex/.baseline.tex` — the LaTeX snapshot from the last render (before edits) - `latex/index.tex` — the LaTeX after collaborator edits - `index.qmd` — the current QMD manuscript source 2. Compare `latex/.baseline.tex` vs `latex/index.tex` to identify changes. Focus on the **document body** only (everything between `\begin{document}` and `\end{document}`). Ignore the preamble (lines before `\begin{document}`) — these are auto-generated by Quarto. 3. For each section (identified by `\section{...}\label{...}` and `\subsection{...}\label{...}` markers), check if the prose text changed between baseline and modified. 4. For each changed section, apply the edits to the corresponding section in `index.qmd`: - Convert LaTeX formatting to QMD equivalents: - `\textbf{...}` → `**...**` - `\textit{...}` or `\emph{...}` → `*...*` - `\href{url}{text
- Prerequisites
- Steps
- Error handling
What does the sync-tex skill do?
Transfers prose edits from latex/index.tex (Overleaf) back into index.qmd. Use after pulling LaTeX edits from a collaborator.
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill sync-tex --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.