← all tricks

Step 0: Write together

Pick the shared page before you pick the tricks.

Teams arrive with unequal tooling comfort. Some authors live in the terminal; others have never typed a git command and never should. Forcing one tool on everyone loses authors at both ends. Hence a ladder: eleven ways to share one paper with an LLM in the loop, from zero-install to full automation. Every author picks their own rung; git (or a shared doc) merges the difference.

Two dimensions, not one. The rungs sort by two things at once: how much infrastructure you stand up (browser-only → git + CI), and how much autonomy the LLM gets (copy-paste chat → an agent that commits and opens PRs). Most rungs walk the diagonal; the interesting corners are off it — top-left is an agent loose inside a shared doc, bottom-right is a git purist who lets the LLM check grammar and nothing else.

Eleven rungs of shared writing: infrastructure vs LLM autonomy browser-only git + CI infrastructure → copy-paste chat LLM autonomy → agent commits agent in the doc git purist 0: shared doc, built-in AI (Gemini in Google Docs) 3: markdown pad (HackMD) + copy-paste LLM 4: GitHub web UI + Copilot; PR prose, no clone 7: LLM co-author via PR; agent branches, human merges 8: CI on push: build PDF, lint prose, publish site 9: CI critics: Reviewer-2 agents run on every push 10: scheduled agents draft overnight; humans wake to PRs 1: shared Google Doc + claude.ai (copy-paste) 2: Overleaf in the browser + its AI assist 5: local clone, git, one subdir per person, LLM in the editor 6: the git bridge: push syncs GitHub and Overleaf 03 47 89 10 12 56 this paper's rungs other ways

Eleven rungs. Filled red: the four this paper actually ran. Hover a dot for its name.

The full ladder.

0shared Google Doc; the built-in AI (Gemini) drafts and comments in place. Zero install, zero accounts beyond Google.
1shared doc + chat LLM by copy-paste (Google Docs + claude.ai; Word/Copilot and Notion AI sit here too). This paper's rung 1.
2live LaTeX in the browser: Overleaf plus its own AI assist. Needs only a project invite. This paper's rung 2.
3collaborative markdown pad (HackMD) + copy-paste LLM; convert to LaTeX later.
4GitHub web UI + Copilot: prose via pull request, no clone, no terminal.
5local clone, git, one subdirectory (or file) per person, LLM in the editor or CLI. This paper's rung 3.
6dual remotes: the git bridge; one push updates GitHub and Overleaf together. This paper's rung 4.
7the LLM becomes a co-author: an agent opens branches and PRs; a human merges (this repo's standing rule for agents).
8CI on every push: build the PDF, lint the prose, publish the site.
9CI critics: Reviewer-2 agents (trick 6) run automatically on every push.
10scheduled agents draft and critique overnight; humans wake to PRs to accept or reject.

Running the four rungs of this paper. Two habits make every rung mergeable: start a new line after every full stop (git then merges by the sentence), and keep prose in many small files, one per section, joined by \input under a thin root.

rungone-time setupdaily cycle
1: Google Docs + claude.ai open the shared Doc link draft and comment in the Doc; paste passages to claude.ai for rewrites; paste results back as suggestions
2: Overleaf browser accept the project invite; set Menu → Settings → Main document to the paper being built edit prose in sec0/; new line after every full stop; comment via \note{you}{...}; Cmd-Enter recompiles
3: GitHub git clone github.com/timm/how2rite pull; edit sec0/; make fmt; commit; push
4: the git bridge rung 3, plus: in Overleaf, Account Settings → Git Integration → Generate token (username git, password the token); then git remote add overleaf https://git.overleaf.com/<project-id> git pull overleaf main (collect browser edits); edit; make fmt; build; push to both: git push origin main; git push overleaf main:main

Combines with: everything — step 0 is the floor the eight tricks stand on. In particular 6 — assemble critics becomes rung 9 when wired into CI, and 7 — pause and reflect is what keeps rungs 7–10 answering to humans.

← all tricks