Skip to content

Agent Skill for Overleaf — Automate LaTeX project management, sync, and compilation for AI assistants

License

Notifications You must be signed in to change notification settings

aloth/overleaf-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overleaf Skill

npm version Homebrew AgentSkills License: MIT

An Agent Skill for managing Overleaf LaTeX projects.

olcli demo

What it does

  • Pull Overleaf projects to work locally
  • Push local changes back to Overleaf
  • Compile PDFs and download them
  • Download .bbl files for arXiv submissions
  • Bidirectional sync with conflict detection
  • Upload figures and assets to projects

Installation

For agents (via skills CLI)

npx skills add aloth/overleaf-skill

CLI tool only

Homebrew (macOS/Linux):

brew tap aloth/tap && brew install olcli

npm (all platforms):

npm install -g @aloth/olcli

Quick start

olcli auth --cookie "SESSION_COOKIE"  # One-time setup
olcli list                             # See all projects
olcli pull "My Paper"                  # Download project
cd My_Paper && vim main.tex            # Edit locally
olcli sync                             # Push changes
olcli pdf                              # Download PDF
olcli output bbl                       # Get .bbl for arXiv

arXiv Submission Workflow

Complete workflow for submitting to arXiv:

# 1. Pull and compile your paper
olcli pull "My Paper"
cd My_Paper
olcli pdf

# 2. Download .bbl (required by arXiv instead of .bib)
olcli output bbl -o main.bbl

# 3. Package for arXiv: .tex files + .bbl + figures
zip arxiv-submission.zip *.tex main.bbl figures/*

# 4. Upload to arxiv.org

Links

License

MIT