/overleaf-skills:review-overleaffrom overleaf-skills
Pulls unresolved Overleaf review threads into a local LaTeX repo, proposes edits, and applies them one by one. Does not push back to Overleaf.
Ships in overleaf-skills. 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.
Pull unresolved review threads from an Overleaf project, locate each in the local repo, propose edits the user reviews, and apply them. Does not push back to Overleaf — the web UI is still the place to mark threads resolved after the user verifies the local change.
Commands use ${CLAUDE_PLUGIN_ROOT}, this plugin's root. Claude Code fills it in. Codex and Antigravity leave it as written, so replace it with the absolute path two directories above this SKILL.md.
Accept any of:
^[0-9a-f]{24}$)https://www.overleaf.com/project/<id>, passed to the script as ispython3 ${CLAUDE_PLUGIN_ROOT}/scripts/overleaf.py --list-projects
Each line is <24-hex> <accessLevel> <name>. Fuzzy-match the name. If multiple match, AskUserQuestion to disambiguate.If the user has not given a project ID at all, run --list-projects and show the user the table so they can pick one.
The script finds a session by itself (env var, cookie file, then a logged-in Chrome via agent-browser). If any call exits with the refresh hint, point the user at the setup skill and stop.
If the project ID came from name resolution, check the matched entry's accessLevel. If readOnly, warn:
Project is read-only. You can edit local files but cannot sync them back to Overleaf via the web UI; you would need to copy-paste manually. Continue?
For owner, readAndWrite, or review, proceed silently.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/overleaf.py --json --repo . < project-id > --unresolved-only
Parses to a JSON array. Each record has: thread_id, doc_id, snippet, offset, resolved, messages (list of {user, ts, content}), file, line. The file and line are null when the snippet did not match any local *.tex.
For each record where file is non-null:
Read the file at line ± 5 lines for context.Edit. Do not batch — one comment, one edit, then move on.Skip records where file is null (snippet did not map). Collect them in an <unmapped> list.
After the loop:
Run git diff and show the user the full set of changes.
List the <unmapped> records (if any) with doc_id + snippet preview, so the user can hunt them manually.
Suggest a commit message in the style: address overleaf review: <one-line summary of the changes>. Do NOT auto-commit. The user can run /github-dev:commit-staged or commit by hand.
Remind the user to mark the addressed threads as resolved in the Overleaf web UI once they verify the local diff.
If the project has Overleaf GitHub sync and the user pushed the commit, offer to pull it into Overleaf and recompile:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/overleaf.py <project-id> --sync-github --compile
Prints SYNC pull <repo> (<n> commit(s)) and COMPILE <status> (<pages> pages, ..., errors=<n>). Add --download-pdf <path> to save the PDF, or --push "<message>" to push Overleaf-side edits to GitHub instead of pulling.
--sync-github)..bib edits unless a comment specifically targets a citation.<unmapped> for v1; the snippet matcher is line-anchored.github-dev — /github-dev:commit-staged after the edit loop, /github-dev:create-pr if the project is collaborative.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fcakyon/claude-codex-settings --plugin overleaf-skills2 skills in this plugin
Other plugins' skills for the same job