Logo von Overleaf Remote

Overleaf Remote

Community
qinshengqian
overleaf-remote

Install and use the bundled olcli to read, inspect, create, edit, precisely patch, organize, upload to, download from, and compile Overleaf projects without maintaining a local pull/push checkout. Prefer the persistent live session for reading and editing remote documents. Use for Overleaf CLI setup, session-cookie authentication, direct remote file operations, or diagnosing olcli access and synchronization problems.

Übersicht

Herausgeberqinshengqian
Repositoryoverleaf-remote-skills
Skill-Nameoverleaf-remote
Sterne
105
Forks
8
Mitgelieferte Dateien
25
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 25

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von qinshengqian auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Overleaf Remote in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/qinshengqian/overleaf-remote-skills/tree/main
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/qinshengqian/overleaf-remote-skills.git \
  .claude/skills/overleaf-remote
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Overleaf Remote in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Overleaf Remote automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Overleaf Remote nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Overleaf Remote

Start here: is a live session running?

olcli live is the default interface to a project, for reading as much as for editing. Before anything else, check whether a session already covers the project (olcli-live ls on macOS/Linux, or tmux ls):

  • If one is running, use it for everything. {"op":"ls"} lists the project, {"op":"read","path":...} reads a document, and the edit operations below change it.
  • If none is running, start one before reaching for one-shot commands: olcli live "My Paper", or a tmux window via scripts/run-live.sh so it outlives the terminal. It costs a few seconds and is reused for every later step.

Reach for olcli download only when you need the bytes on local disk: a ZIP, a binary, or compile output.

The session holds each joined document's current text and version, so it answers a read without a download and can tell you whether what you last read is still current. {"op":"stat"} reports whether the local copy is stale, and remoteChanged flags an edit from another connection. A full read is mirrored under ~/.olcli/live/<projectId>/, and {"op":"mirror","intervalMs":1000} keeps it current. The mirror is read-only: never edit those files, and never upload them back; change content only through replace/insert/append.

How edits work

Use the bundled olcli build for direct Overleaf operations. Prefer precise remote commands (replace, insert, append, prepend, write, mkdir, and upload --to) over a bidirectional pull/push checkout. The live mirror is not that: it is one-way and read-only. edit is not a general editor: it only fills an empty document, and write only creates a document or fills an empty one. Whole-document replacement is refused everywhere else, so plan every change as a targeted operation against the document's live content.

olcli live keeps one Overleaf collaboration WebSocket open, joins text documents lazily, and sends small versioned OT insert/delete operations instead of downloading and re-uploading whole files. It tracks collaborator updates and safely rejoins a document after a race. auto mode falls back to verified HTTP replacement only when the failure happened before an OT write was sent; uncertain writes are never retried blindly. Use --transport ot to require OT or --transport http to diagnose compatibility with older self-hosted instances.

An edit reply reports the document's new size, not what changed. olcli-live send closes that gap: when the op changes text it snapshots the document, applies the op, reads it again, and prints a unified diff of the change.

bash
olcli-live send paper '{"op":"replace","path":"main.tex","search":"old","replacement":"new"}'
olcli-live diff paper main.tex

The last pair stays cached, so diff can reprint it after the mirror has moved on. upload and the control ops still print their raw JSON reply, because a binary has nothing to diff.

Hosting the session

On macOS or Linux with tmux, keep the session alive rather than starting a new olcli live for every request: one tmux window per project, started with scripts/run-live.sh (it restarts the session if it exits, since tmux has no restart-on-crash of its own) and driven with scripts/olcli-live send, which waits for each reply. A tmux server is a single per-user process, so several terminals and several agent sessions share one connection. Never drive one window from two writers at once; the replies interleave and you can no longer tell which reply belongs to which operation.

Windows is out of scope for this: both helpers are bash scripts with no PowerShell twin, and the installer deliberately does not place them on PATH. On Windows, start olcli live per request and use the one-shot commands for single edits.

Route the task

  • For anything on a project, start from the live session (see Start here); its operations are in references/commands.md.
  • For first-time installation, authentication, or instructions for obtaining the Overleaf cookie on macOS or Windows, read references/setup-and-cookie.md completely.
  • For project, file, editing, upload, compile, and verification commands, read references/commands.md completely.
  • When authentication, PATH, folder resolution, upload, compilation, or content verification fails, read references/troubleshooting.md completely.

Operating rules

  1. Treat overleaf_session2 as a password. Never echo it, quote it in a report, commit it, place it in the Skill, or expose it in process listings when a hidden prompt is available.
  2. Authentication permits access; it does not by itself authorize creating, editing, deleting, renaming, or compiling a project. Confirm that the user's request covers the intended remote mutation.
  3. Default to the live session, for reads as well as writes (see Start here). Do not read a document with olcli download while a session is running: it wastes a round trip and throws away the session's record of whether that content is current.
  4. Never edit from a stale copy. Compute every change against the document's current remote content. Do not download a file, edit it locally, and upload it back; do not reuse content read earlier in this conversation, in a previous session, or from a local checkout. Re-read first. olcli live follows collaborator updates as they arrive, and the one-shot commands re-read immediately before writing. A base that was not freshly read may already be superseded by someone else's text.
  5. Never replace a whole document unless it is empty. edit, write, and upload --to refuse to overwrite a non-empty text document, because a wholesale write silently discards everything a collaborator added since that content was read. Express the change as targeted operations (replace, insert, append, prepend) instead. Delete and recreate a file only when the user has explicitly asked for a full rewrite.
  6. Resolve the exact project and remote path before mutation. Prefer a project ID when names are ambiguous.
  7. Use replace for an exact, unique change. It refuses multiple matches unless --all is explicit. Use insert with a stable anchor and --occurrence <n> when the anchor repeats.
  8. Use write to create a text document or fill an empty one, mkdir for folders, and upload --to for images, PDFs, bibliographies, archives, or other new files.
  9. Preserve the built-in versioned OT acknowledgement or HTTP read-after-write verification. For binary uploads, download to a temporary file and compare hashes or bytes when correctness matters.
  10. Review what the write actually did. Through a tmux session, olcli-live send prints the unified diff of every text edit; check that diff before moving on. olcli-live diff <window> <path> reprints the last one. Raw {"op":...} lines typed straight into olcli live, and the one-shot commands, print no diff.
  11. Do not start a pull/push daemon unless the user explicitly asks for ongoing synchronization. The direct commands are designed to avoid that workflow.
  12. After repeated authentication failures, ask the user to refresh the cookie; do not keep retrying a possibly expired credential.

Bundled implementation

The modified olcli source and compiled JavaScript live in assets/olcli/. Install it with the platform script in scripts/; do not silently substitute the public npm release because it may not contain this Skill's direct-edit commands.

  • macOS/Linux: bash scripts/install_olcli.sh
  • Windows PowerShell: powershell -ExecutionPolicy Bypass -File scripts/install_olcli.ps1
  • Verify macOS/Linux: bash scripts/check_olcli.sh
  • Verify Windows: powershell -ExecutionPolicy Bypass -File scripts/check_olcli.ps1

When changing the bundled implementation, update both assets/olcli/src/ and assets/olcli/dist/, run the TypeScript build, and validate this Skill before delivery.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Overleaf Remote?

Install and use the bundled olcli to read, inspect, create, edit, precisely patch, organize, upload to, download from, and compile Overleaf projects without maintaining a local pull/push checkout. Prefer the persistent live session for reading and editing remote documents. Use for Overleaf CLI setup, session-cookie authentication, direct remote file operations, or diagnosing olcli access and synchronization problems.

Warum Overleaf Remote in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Overleaf Remote besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Overleaf Remote in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/qinshengqian/overleaf-remote-skills/tree/main ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Overleaf Remote nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Overleaf Remote verwenden?

So viele Sie möchten. In TypingMind können Sie Overleaf Remote mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Overleaf Remote kostenlos?

Ja. Der Skill wird von qinshengqian auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇