overleaf-git-sync

Community

Sync Overleaf safely via Git for conflict-proof edits.

Authorgenggng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents agents from accidentally overwriting newer Overleaf changes by enforcing a Git-based freshness-and-verification workflow before any push back to Overleaf.

Core Features & Use Cases

  • Pull-then-review remote changes: Agents import the latest Overleaf snapshot into the tool-managed branch, inspect staged results, and commit the merge when needed.
  • Push only committed, conflict-free edits: Agents push only after Git indicates a clean worktree and no unresolved merge conflicts, reducing the risk of stale or conflicting uploads.
  • Verify remote state after publishing: Agents rely on the tool’s post-push snapshot verification so remote and local normalized content match before declaring success.
  • Use-case: An agent revises a multi-file LaTeX manuscript while the user may have edited the same project in Overleaf; this Skill guides the agent to safely incorporate any new remote edits and only then apply its own changes.

Quick Start

Run ol pull, review staged remote changes if any by committing the merge, then edit files, commit your changes, and finish with ol push --dry-run followed by ol push.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: overleaf-git-sync
Download link: https://github.com/genggng/overleaf-git-sync/archive/main.zip#overleaf-git-sync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.