Agent skill

Overleaf Sync

by AI4Scientist in AI4Scientist/nano-scientist

Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature).

No licenceAuto-check: warningsDocuments & Office

Install Overleaf Sync

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add AI4Scientist/nano-scientist --skill overleaf-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AI4Scientist/nano-scientist overleaf-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AI4Scientist/nano-scientist.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/overleaf-sync .claude/skills/overleaf-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
overleaf-sync
GitHub stars
128
Used in
2 other repos
Token cost
~2.8k tokens
SKILL.md length
1,084 words
Files
1
Skills in repo
76
Repo updated
First seen
Licence
None found

At a glance

Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature).

  • Works in 5 steps: Refuses to run unless stdin/stdout are a… → Reads the token from a hidden prompt (no… → Strips the token from the remote URL… → …
  • User says 同步 overleaf
  • SKILL.md covers When to Use This Skill, Constants, Architecture and Sub-commands, plus 5 more sections
  • Calls git, bash and rsync

What it does

Overleaf Sync is an agent skill from AI4Scientist/nano-scientist. Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature). Lets you keep ARIS audit/edit workflows on the local copy while collaborators edit in the Overleaf web UI. Token never touches the agent — user does the one-time auth via macOS Keychain. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to bridge their ARIS paper directory with an Overleaf project.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering LaTeX and Frontend development. It works with Git and macOS. The repository describes itself as: An autonomous research agent that turns a topic into a peer-reviewed technical report.

When your agent uses it

  • User says 同步 overleaf
  • Connect overleaf
  • Wants to bridge their ARIS paper directory with an Overleaf project

Example prompts

  • “同步 overleaf”
  • “overleaf sync”
  • “推送到 overleaf”
  • “/overleaf-sync”

Requirements

  • Pre-approved tools (allowed-tools): Bash(*), Read, Grep, Glob, Edit, Write

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Refuses to run unless stdin/stdout are a TTY (won't run inside an agent harness)
  2. Reads the token from a hidden prompt (no chat history, no shell history)
  3. Strips the token from the remote URL immediately after cloning
  4. Primes the OS keychain so subsequent agent operations are auth-free
  5. Auto-installs a pre-commit hook in paper-overleaf/.git/hooks/ that refuses to commit any blob containing the token pattern…

What it can do on your machine

Read from SKILL.md and the folder at commit 7132192. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(*)
    • Read
    • Grep
    • Glob
    • Edit
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • bash
    • rsync

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • overleaf.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Overleaf Sync loads about 2.8k tokens when it runs. Until then it costs about 131 tokens; SKILL.md has 1,084 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~131
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:196
    ver** write a token to a file (`.env`, `.netrc`, `tools/*.sh`, etc.) committed to any repo.
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash(*), Read, Grep, Glob, Edit, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,084 words (~2,751 tokens).

“Bridge a local paper directory with an Overleaf project so that:”

— opening of SKILL.md by AI4Scientist
name
overleaf-sync
allowed-tools
Bash(*), Read, Grep, Glob, Edit, Write
argument-hint
setup <project-id> | pull | push | status

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/overleaf-sync of AI4Scientist/nano-scientist.

Open the folder on GitHubat commit 7132192

Used in 2 other repositories

We found 6 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in AI4Scientist/nano-scientist, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Overleaf Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Overleaf Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Overleaf Sync this skillAI4Scientist/nano-scientist1282 repos~2.8kAutomated safety check: WarnNone
Oleafly Response LetterOleafly/Oleafly205—~2.3kAutomated safety check: PassMIT
Write Paperfrenzymath/Danus471—~18kAutomated safety check: PassApache-2.0
ProjectHurricaHjz/second-yourself113—~3.1kAutomated safety check: PassMIT
Review Overleaffcakyon/claude-codex-settings1.2k—~940Automated safety check: PassApache-2.0
Latex Diffflonat/flonat-research145—~1.9kAutomated safety check: PassMIT

Similar skills

  • Turn reviewer comments and the changes already made into a point-by-point response letter, in LaTeX or Typst and in plain text.

    205 GitHub stars~2.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Write Paper

    frenzymath/Danus

    Turn a project's verified fact graph into a publishable LaTeX paper in a configurable house style — a standalone amsart .tex with a real bibliography, compiled to PDF.

    471 GitHub stars~18k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Project

    HurricaHjz/second-yourself

    Manage the owner's OWN working repositories (Overleaf LaTeX projects, code repositories) from the vault, on an explicit instruction only: /project link | open | sync | brief | snapshot | status |…

    113 GitHub stars~3.1k tokensUpdated 6 days ago
    Documents & OfficeAuto-check passed
  • Review Overleaf

    fcakyon/claude-codex-settings

    This skill should be used when user asks to "fetch overleaf review comments", "address overleaf reviews", "apply overleaf comments", "review my overleaf paper", "sync overleaf feedback to local"…

    1.2k GitHub stars~940 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Latex Diff

    flonat/flonat-research

    Compare two LaTeX files, project directories, or Git revisions and produce human-readable plus machine-readable severity-graded semantic changes.

    145 GitHub stars~1.9k tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed
  • Overleaf CLI Guide

    wentorai/research-plugins

    Sync and manage Overleaf LaTeX projects from the command line

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Documents & OfficeAuto-check passed

More from AI4Scientist/nano-scientist

All 76 skills in this repo
  • Formula Derivation

    AI4Scientist/nano-scientist

    Structures and derives research formulas when the user wants to 推导公式, build a theory line, organize assumptions, turn scattered equations into a coherent derivation, or rewrite theory notes into a…

    128 GitHub starsUsed in 6 repos~2.3k tokens
    Auto-check passed
  • Paper Figure

    AI4Scientist/nano-scientist

    Generate publication-quality figures and tables from experiment results.

    128 GitHub starsUsed in 6 repos~2.9k tokens
    Auto-check: notes
  • Proof Writer

    AI4Scientist/nano-scientist

    Writes rigorous mathematical proofs for ML/AI theory. An agent skill from AI4Scientist/nano-scientist.

    128 GitHub starsUsed in 6 repos~1.9k tokens
    Auto-check passed
  • Ablation Planner

    AI4Scientist/nano-scientist

    A skill your agent uses when main results pass result-to-claim (claimsupported=yes or partial) and ablation studies are needed for paper submission.

    128 GitHub starsUsed in 5 repos~1.3k tokens
    Auto-check: notes
  • Paper Navigator

    AI4Scientist/nano-scientist

    Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA)…

    128 GitHub stars~7.7k tokensUpdated 4 mo ago
    Auto-check: notes
  • Arxiv

    AI4Scientist/nano-scientist

    Search, download, and summarize academic papers from arXiv. An agent skill from AI4Scientist/nano-scientist.

    128 GitHub starsUsed in 5 repos~2.1k tokens
    Auto-check: notes

Works with

Questions about Overleaf Sync

What does Overleaf Sync do?

Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature). Overleaf Sync is an agent skill from AI4Scientist/nano-scientist. Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature).

When should I use Overleaf Sync?

Overleaf Sync fits situations like: user says 同步 overleaf; connect overleaf; wants to bridge their ARIS paper directory with an Overleaf project.

How do I install Overleaf Sync in Claude Code?

Run `npx skills add AI4Scientist/nano-scientist --skill overleaf-sync -a claude-code`. Or copy the skill folder (skills/overleaf-sync in AI4Scientist/nano-scientist) into .claude/skills/overleaf-sync in your project. Claude Code loads it when a task matches its description.

How do I install Overleaf Sync in Codex?

Run `npx skills add AI4Scientist/nano-scientist --skill overleaf-sync -a codex`. Or copy the skill folder (skills/overleaf-sync in AI4Scientist/nano-scientist) into .agents/skills/overleaf-sync in your project. Codex loads it when a task matches its description.

Can I use Overleaf Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AI4Scientist/nano-scientist --skill overleaf-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/overleaf-sync, .gemini/skills/overleaf-sync, .github/skills/overleaf-sync and .opencode/skills/overleaf-sync in your project.

What does Overleaf Sync need to run?

Going by SKILL.md and its folder, Overleaf Sync needs the command-line tools its instructions call (git, bash and rsync). Its frontmatter pre-approves these tools: Bash(*), Read, Grep, Glob, Edit, Write.

Does Overleaf Sync access the network?

SKILL.md names 1 domain. As links in the text: overleaf.com. This is read from the text; nothing was executed.

Is Overleaf Sync safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Overleaf Sync use?

No licence was found for Overleaf Sync or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Overleaf Sync use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Overleaf Sync?

Skills that share tags, products or a category with Overleaf Sync: Oleafly Response Letter (Oleafly/Oleafly, 205 stars), Write Paper (frenzymath/Danus, 471 stars), Project (HurricaHjz/second-yourself, 113 stars) and Review Overleaf (fcakyon/claude-codex-settings, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Overleaf Sync?

AI4Scientist (a GitHub organization) maintains it in AI4Scientist/nano-scientist, which has 128 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 3, 2026.

Source: AI4Scientist/nano-scientist on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.