Shared Overleaf Agent
Guide
A small setup for using Codex, Claude, or similar agents with shared writing projects. Collaborators can work directly in Overleaf through Dropbox or use a GitHub-centered workflow connected to Overleaf. The agent installs the shared instructions and saves project-history logs automatically where the project convention requires them.
How to Use This Guide
-
Choose a working path. Use direct Overleaf by enabling Dropbox integration, or use the GitHub-centered alternative by connecting the project to Overleaf through GitHub and working from a local repository clone.
-
Install the shared instructions by copying the Codex or Claude setup prompt and pasting it into the tool. The agent should save the global instruction files automatically.
-
Open the appropriate working folder when creating or opening a Codex/Claude project: the existing Overleaf project folder for the Dropbox route, or the local Git clone for the GitHub-centered route. No reorganization is needed.
-
Prompt normally. Ask the agent to edit, inspect, or revise in whatever way fits the task. Follow the project's own history, branch, and review conventions.
GitHub-Centered Alternative
Teams that prefer another editor can make GitHub the primary workspace while keeping a connected Overleaf project for collaboration and compilation. This is an equally valid alternative to direct Overleaf editing.
- Work from a local Git clone in the editor the authors prefer; the agent does not need direct Overleaf access.
- Give Codex, Claude, or another coding agent access to the GitHub repository so it can inspect and edit the manuscript sources through GitHub.
- Agree on the repository branch, commit, review, and synchronization conventions before editing. Avoid overlapping unsynchronized edits in GitHub and Overleaf.
- The Dropbox-based project-history convention below applies to Overleaf project folders. A GitHub repository outside Dropbox should follow its own project-history convention.
Project History Convention
The agent should create or append to this file automatically:
project_history/Your_Name/YYYY-MM-DD by Agent.md
Use one folder per human collaborator and one file per date and agent.