overleaf

Sync Overleaf LaTeX projects from the command line.

148|21|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/aloth/olcli --skill overleaf-aloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: overleaf
Source: https://github.com/aloth/olcli/tree/main
Command: npx skills add https://github.com/aloth/olcli --skill overleaf-aloth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the slow, browser-only workflow for managing Overleaf LaTeX projects by giving you a command-line way to pull, push, sync, and compile projects reliably from your terminal.

Core Features & Use Cases

  • Bidirectional project sync: Pulls remote changes and pushes local edits with two-way deletion propagation (with an opt-out).
  • File management and compilation: Uploads and downloads individual files, downloads PDFs, triggers compilation, and fetches compile outputs like .bbl for arXiv.
  • Smart ignore for LaTeX artifacts: Automatically filters common build artifacts and OS noise, with gitignore-style overrides via .olignore and .olignore.local.
  • Use case: Prepare an arXiv submission by pulling your project, compiling to validate everything builds, then downloading the .bbl and packaging the submission files—all without leaving your terminal.

Quick Start

Authenticate and then run: olcli auth --cookie "YOUR_SESSION_COOKIE"

Frequently Asked Questions about overleaf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Overleaf LaTeX projects from the command line?

You can sync Overleaf LaTeX projects from the command line using a CLI tool that pulls remote changes, pushes local edits, and propagates deletions bidirectionally through HTTP and Socket.IO interactions. It requires an authenticated Overleaf session cookie.

Can I compile LaTeX and download PDFs from Overleaf without a browser?

Yes, you can compile LaTeX and download PDFs without a browser by triggering remote compilation directly from your terminal. The CLI also fetches build outputs like .bbl files needed for arXiv submissions.

What do I need to authenticate and pull Overleaf projects locally?

To pull Overleaf projects locally, you need your authenticated Overleaf session cookie. You pass this cookie to the CLI to establish a connection for project auto-detection and synchronization.

How do I ignore LaTeX build artifacts when syncing Overleaf projects?

You ignore LaTeX build artifacts when syncing Overleaf projects using built-in smart filtering for common build outputs and OS noise. You can also apply gitignore-style overrides via .olignore and .olignore.local files.

Does CLI Overleaf sync support deleting files in both directions?

Yes, CLI Overleaf sync supports bidirectional deletion propagation, meaning local deletions push to remote and remote deletions pull locally. You can opt out of this deletion synchronization if preferred.