← 返回
未分类 Key 中文

Overleaf LaTeX

Manage Overleaf LaTeX projects via git integration or native agent tools. Install the @wahajahmed010/openclaw-overleaf plugin for 6 native tools (clone, bran...
通过 Git 集成或原生代理工具管理 OverleafLaTeX 项目。安装 @wahajahmed010/openclaw-overleaf 插件可获得 6 个原生工具(克隆、分支...)
wahajahmed010
未分类 clawhub v1.2.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 470
下载
💾 0
安装
1
版本
#latest

概述

Overleaf Skill

OpenClaw Plugin Available

For full agent tool integration (6 native tools: overleaf_clone, overleaf_branch, overleaf_compile, overleaf_push, overleaf_status, overleaf_health), install the Overleaf plugin:

openclaw plugins install clawhub:@wahajahmed010/openclaw-overleaf

Plugin on ClawHub: @wahajahmed010/openclaw-overleaf

The skill below covers the manual workflow. The plugin provides the same functionality as native agent tools.

Manage Overleaf LaTeX projects through git integration. Clone projects, create branches for tailored versions, edit LaTeX, compile locally, and push back.

Prerequisites

  • Git (2.30+)
  • TeX Live or MiKTeX (for local compilation)
  • Overleaf account with git access enabled

Setup

1. Store Overleaf credentials

# Create credentials file
echo "OVERLEAF_EMAIL=your@email.com" > ~/.openclaw/.overleaf_credentials
echo "OVERLEAF_PASSWORD=your_password_or_token" >> ~/.openclaw/.overleaf_credentials
chmod 600 ~/.openclaw/.overleaf_credentials

Or use a personal access token (recommended):

echo "OVERLEAF_EMAIL=your@email.com" > ~/.openclaw/.overleaf_credentials
echo "OVERLEAF_TOKEN=your_personal_access_token" >> ~/.openclaw/.overleaf_credentials
chmod 600 ~/.openclaw/.overleaf_credentials

2. Install LaTeX (if not installed)

# Ubuntu/Debian
sudo apt-get install -y texlive-latex-base texlive-latex-extra texlive-fonts-recommended

# macOS
brew install --cask mactex

# Verify
which pdflatex && pdflatex --version

3. Configure git credential helper

# Store credentials so you don't get prompted
git config --global credential.helper store

Workflow

Clone a Project

# Get the project ID from the Overleaf URL
# e.g., https://www.overleaf.com/project/abc123def456 → project ID is abc123def456
PROJECT_ID="abc123def456"

# Clone
git clone "https://git.overleaf.com/${PROJECT_ID}" my-resume
cd my-resume

Create a Branch for a Tailored Version

# Branch per company/role
git checkout -b resume/company-slug

Edit LaTeX

Edit the .tex files as needed. See references/latex-patterns.md for common resume edit patterns.

Compile Locally (Always Before Pushing)

# Compile to verify no errors
pdflatex -interaction=nonstopmode main.tex

# If the resume uses bibtex:
pdflatex main.tex && bibtex main && pdflatex main.tex && pdflatex main.tex

If compilation fails, fix errors before pushing. Never push broken LaTeX.

Push to Overleaf

git add -A
git commit -m "tailor: resume for Company Name"
git push origin resume/company-slug

Overleaf will auto-compile on push. The compiled PDF will be available on the Overleaf web interface.

List Branches (All Resume Versions)

git branch -a

Switch Back to Base Resume

git checkout master

Merge Tailored Changes Back (Optional)

git checkout master
git merge resume/company-slug

Health Check

Run the health check to verify Overleaf git access and LaTeX compilation:

python3 scripts/overleaf_health.py

This verifies:

  • Overleaf credentials are stored
  • Git can reach overleaf.com
  • pdflatex is available
  • A test compile succeeds

Common Operations

TaskCommand
---------------
Clone projectgit clone https://git.overleaf.com/
Create version branchgit checkout -b resume/
Compile locallypdflatex -interaction=nonstopmode main.tex
Push to Overleafgit push origin
View PDFOpen in Overleaf web UI
Delete branchgit push origin --delete resume/
Pull latestgit pull origin master

Error Handling

ErrorCauseFix
-------------------
Authentication failedWrong credentials or expired tokenUpdate ~/.openclaw/.overleaf_credentials
LaTeX compilation errorBroken .tex fileFix errors locally before pushing
Merge conflictParallel edits on Overleaf webPull first, resolve conflicts, then push
Push rejectedRemote has divergedgit pull --rebase origin then push
pdflatex not foundTeX Live not installedInstall texlive-latex-base
Connection refusedNetwork/firewallCheck internet access to git.overleaf.com

Constraints

  • Never push without local compilation — always run pdflatex first
  • Never force push to master — the base resume must stay intact
  • One branch per company — don't mix tailored versions
  • Pull before push — Overleaf web edits can cause conflicts
  • Keep credentials in ~/.openclaw/.overleaf_credentials with chmod 600

版本历史

共 1 个版本

  • v1.2.1 当前
    2026-05-21 13:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Council Of Llms

wahajahmed010
真实的OpenClaw子代理多模型委员会审议:生成3个并行子代理,各自使用不同的大语言模型并拥有独特的分析视角(策略、…)
★ 1 📥 687

Auto Skill Extractor

wahajahmed010
自动学习AI的工作,将重复的子任务转化为可复用技能
★ 0 📥 425

Open Source Contributor

wahajahmed010
使用建筑师‑建造者模式的自主 GitHub 贡献代理。Buck(主代理)负责所有 git/网络 I/O;子代理负责专注的认知任务。
★ 0 📥 530