overleaf
Skill411 starsChanged 32 days agoApache-2.0View on GitHub
Use when the user asks you to read, edit, or push changes to an Overleaf LaTeX project, or shares an overleaf.com project link.
- Commits and pushes
6 other projects use a version of this.
Adopted by
Most recently taken up by
- mnav-umd/claude-skillstheir own version, first seen Nov 22, 2026
- zirui-song/claude-skillstheir own version, first seen Nov 1, 2026
- amatray/claude-skills-publictheir own version, first seen Jul 11, 2026
- junhahyung/claude-skill-overleaftheir own version, first seen May 7, 2026
- aloth/overleaf-skilltheir own version, first seen Mar 21, 2026
- aloth/olclitheir own version, first seen Mar 7, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- aloth/olcli★ 280same name
- aloth/overleaf-skill★ 24same name
- junhahyung/claude-skill-overleaf★ 24same name
- amatray/claude-skills-public★ 17same name
- zirui-song/claude-skills★ 17same name
- mnav-umd/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/mindroom-docs/references/llms-full.txtllms.txt
- skills/mindroom-docs/references/llms.txtllms.txt
- address-pr-review-commentsSkill
- agent-cli-devSkill
- agent-cli-tmux-supervisionSkill
- code-debateSkill
- docs-reviewSkill
- duplication-auditSkill
- live-testSkill
- native-subagent-pr-loopSkill
- pr-reviewSkill
- agent-conversationsSkill
- mindroom-docsSkill
- open-knowledge-formatSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 2 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Call list_egress_credentials and look for a service on Overleaf (usually named overleaf, display name "Overleaf").
- Very specific: line 16
No such service: the user adds it on the Agent Keys page (the manage_url from list_egress_credentials) with Add service, preset Overleaf.
- Very specific: line 20
Use the service's real name from step 1.
- Distinctive: line 21
Never ask the user to paste the token into the chat, and never put a token in a URL or a command.
- Very specific: line 33
If the service you use has source: user in list_egress_credentials, name it on every request, or a service of the administrator's on the …
- Very specific: line 41
Never send this header for a service without source: user: the broker then refuses the request.
- Distinctive: line 56
If the rebase stops on a conflict, or the second push is rejected too, stop and tell the user which files conflict.
- Very specific: line 60
Do not compile the project in your shell: latexmk (also latexmk -c) runs a project's latexmkrc, which is code anyone with edit access can …
- Very specific: line 62
After you push, ask the user to recompile in Overleaf and to tell you the first error, if any.
- Very specific: line 63
Never commit build outputs such as *.aux, *.log, or a .pdf.
- Very specific: line 69
Check list_egress_credentials.
- Very specific: line 70
If it shows configured: true, the token is wrong or expired: ask the user to create a new one and call request_secret again.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overleaf
Overleaf has no public API for agents. You work on a project through Overleaf's Git bridge with git in your shell.
Agent Keys adds the user's Overleaf Git token to every request to git.overleaf.com, so you never see or type the token.
Before you start
You need the shell and egress_credentials tools, and an Agent Keys service for Overleaf.
- Call
list_egress_credentialsand look for a service on Overleaf (usually namedoverleaf, display name "Overleaf"). - No such service: the user adds it on the Agent Keys page (the
manage_urlfromlist_egress_credentials) with Add service, preset Overleaf. Send them that link and wait; you cannot add the service yourself. Ifmanage_urlisnull, follow thenoteinstead. - The service has
configured: false: callrequest_secret(service="overleaf", reason="I need your Overleaf Git token to clone and update your project.", url="https://www.overleaf.com/user/settings", placeholder="olp_…"). Use the service's realnamefrom step 1. Tell the user the token is under Git integration in Overleaf's Account Settings, and that Git access needs an Overleaf premium plan. Never ask the user to paste the token into the chat, and never put a token in a URL or a command.
Clone
The project id is the last part of the project's link: https://www.overleaf.com/project/<project_id>.
Work in your workspace, one folder per project:
git clone https://git.overleaf.com/<project_id> overleaf-<project_id>
cd overleaf-<project_id>If the service you use has source: user in list_egress_credentials, name it on every request, or a service of
the administrator's on the same host may win. Clone with the header instead, which the folder then keeps for pulls
and pushes:
git clone -c 'http.https://git.overleaf.com/.extraHeader=X-Agent-Keys-Service: <service name>' https://git.overleaf.com/<project_id> overleaf-<project_id>Never send this header for a service without source: user: the broker then refuses the request.
The main file is usually main.tex; otherwise it is the .tex file with \documentclass.
Edit and push
- Pull first, before you edit:
git pull --rebase origin master. - Edit the
.tex,.bib, and other source files with your file tools. - Stage only the files you changed:
git add <files>. Nevergit add -A. git commit -m "<what you changed>". If git asks who you are, set it for this folder only:git config user.name "<your name>"andgit config user.email "<your name>@mindroom.invalid".git push origin master.
Overleaf has only the master branch. Never force push; Overleaf refuses it anyway.
A push is rejected when someone changed the project in Overleaf meanwhile: run git pull --rebase origin master and push once more.
If the rebase stops on a conflict, or the second push is rejected too, stop and tell the user which files conflict.
Compile
Do not compile the project in your shell: latexmk (also latexmk -c) runs a project's latexmkrc, which is code
anyone with edit access can write, and your shell can reach the user's keys.
After you push, ask the user to recompile in Overleaf and to tell you the first error, if any.
Never commit build outputs such as *.aux, *.log, or a .pdf.
When it fails
401,Authentication failed, orcould not read Username for 'https://git.overleaf.com': the token is missing, expired, or revoked, or the account has no premium plan. Checklist_egress_credentials; if the service showsconfigured: false, ask withrequest_secretas above. If it showsconfigured: true, the token is wrong or expired: ask the user to create a new one and callrequest_secretagain.- A refusal from Agent Keys (git prints
fatal: remote error:and a message naming Agent Keys, a key, or a service, such ascredential_not_configuredorservice_not_matched) is not a project problem: follow it, checklist_egress_credentials, and userequest_secretfor a missing key. - Otherwise
403or404/repository not found: the project id is wrong, or the token's account cannot open the project. Ask the user for the project link and to check they are a collaborator. 429/ too many requests: wait a minute, then retry once.- A push refused for a large file or a file name: Overleaf limits file sizes and some names; tell the user which file.
- Self-hosted Overleaf (Server Pro) uses its own host, not
git.overleaf.com. The user adds a Custom service on the Agent Keys page for that host, with basic auth and usernamegit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

