Tools
Overleaf
OpenClaw plugin for Overleaf LaTeX project management - 6 agent tools for git-based workflow
Install
openclaw plugins install clawhub:@wahajahmed010/openclaw-overleaf
README
# Overleaf Plugin for OpenClaw
Manage Overleaf LaTeX projects through git integration. An OpenClaw plugin that provides agent tools for cloning, branching, compiling, and pushing Overleaf projects.
## Tools
| Tool | Description |
|------|-------------|
| `overleaf_clone` | Clone an Overleaf project via git |
| `overleaf_branch` | Create or switch branches for tailored versions |
| `overleaf_compile` | Compile LaTeX locally (pdflatex/xelatex/lualatex) |
| `overleaf_push` | Stage, commit, and push changes to Overleaf |
| `overleaf_status` | Check project status, branch, and changes |
| `overleaf_health` | Verify credentials, connectivity, and compiler setup |
## Installation
```bash
openclaw plugins install clawhub:@wahajahmed010/openclaw-overleaf
```
## Configuration
Add to your OpenClaw config:
```json5
{
plugins: {
entries: {
overleaf: {
config: {
projectDir: "/path/to/overleaf/projects", // defaults to workspace root
defaultCompiler: "pdflatex" // or "xelatex", "lualatex"
}
}
}
}
}
```
### Credentials
Store Overleaf credentials at `~/.openclaw/.overleaf_credentials`:
```bash
echo "[email protected]" > ~/.openclaw/.overleaf_credentials
echo "OVERLEAF_PASSWORD=your_password_or_token" >> ~/.openclaw/.overleaf_credentials
chmod 600 ~/.openclaw/.overleaf_credentials
```
## Usage
Once installed and configured, the agent can use Overleaf tools directly:
1. **Clone**: `overleaf_clone` with a project ID from the Overleaf URL
2. **Branch**: `overleaf_branch` to create `resume/company-slug` branches
3. **Edit**: The agent reads and modifies `.tex` files
4. **Compile**: `overleaf_compile` to verify no LaTeX errors
5. **Push**: `overleaf_push` with a commit message
## Workflow Example
1. Clone: `overleaf_clone({ projectId: "abc123" })`
2. Branch: `overleaf_branch({ projectId: "abc123", branchName: "resume/acme-corp" })`
3. Edit the `.tex` files (agent does this via file tools)
4. Compile: `overleaf_compile({ projectId: "abc123" })`
5. Push: `overleaf_push({ projectId: "abc123", message: "tailor: resume for Acme Corp" })`
## License
MIT-0
tools
Comments
Sign in to leave a comment