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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aloth/olcliWhat 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
- "Sync my latest changes from the 'Quantum Computing Paper' project to the Overleaf cloud."
- "Download the compiled PDF for the project I am currently working on."
- "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.jsonfile; the agent will automatically detect the project, saving you from typing project names. - Safety First: Always use
olcli push --dry-runto 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aloth-olcli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api
Related Skills
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.
powerskills
Windows automation toolkit for AI agents. Provides Outlook email/calendar, Edge browser (CDP), desktop screenshots/window management, and shell commands via PowerShell. Install this for the full suite, or install individual sub-skills (powerskills-outlook, powerskills-browser, powerskills-desktop, powerskills-system) separately.