ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aloth/olcli
Or

What This Skill Does

The Overleaf skill provides a powerful command-line interface (CLI) for interacting with your LaTeX projects hosted on Overleaf. It bridges the gap between the professional web-based editor and your local development environment. With this tool, you can clone remote projects, perform bidirectional synchronization, trigger remote compilations, and retrieve artifacts like PDF files or .bbl files essential for arXiv submissions. It is designed to handle authentication via session cookies, allowing seamless automated interaction with your private or public Overleaf repositories.

Installation

You can install the utility via Homebrew using brew tap aloth/tap && brew install olcli or via npm with npm install -g @aloth/olcli. Once installed, authenticate by logging into Overleaf in your browser, copying the overleaf_session2 cookie from DevTools, and running olcli auth --cookie "YOUR_SESSION_COOKIE". Verify your identity with olcli whoami.

Use Cases

  • Academic Writing: Sync your local LaTeX source files with Overleaf while utilizing the cloud-based LaTeX engine for compilation.
  • arXiv Automation: Automatically pull generated .bbl files to ensure your bibliography is ready for submission.
  • Version Control: Manage multiple academic projects from the comfort of your terminal without constantly switching browser tabs.
  • CI/CD Integration: Incorporate document compilation into local build scripts or deployment workflows.

Example Prompts

  1. "Sync my latest changes from the 'Quantum Computing Paper' project to the Overleaf cloud."
  2. "Download the compiled PDF for the project I am currently working on."
  3. "Fetch the .bbl file from the 'Thesis' project so I can submit my manuscript to arXiv."

Tips & Limitations

  • Context Awareness: Run commands from within a directory containing a .olcli.json file; the agent will automatically detect the project, saving you from typing project names.
  • Safety First: Always use olcli push --dry-run to preview changes before pushing, especially when multiple collaborators are involved.
  • Troubleshooting: If compilation fails, the CLI provides limited output; always check the Overleaf web interface for detailed LaTeX error logs. If your session expires, simply re-authenticate with a new cookie.

Metadata

Author@aloth
Stars3875
Views0
Updated2026-04-07
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-aloth-olcli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#latex#academic#cli#overleaf#research
Safety Score: 4/5

Flags: file-write, file-read, external-api