Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nature-paper-trans

Skill by Yuan1z0825

Translates selected pages or a full English research paper PDF into Simplified Chinese as an image-based PDF. It is meant for reading papers, not for editable Word output or word-by-word proofreading.

  • Score 94
  • 55k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install nature-paper-trans

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Yuan1z0825/nature-skills /tmp/nature-skills && mkdir -p ~/.claude/skills && cp -r /tmp/nature-skills/skills/nature-paper-trans ~/.claude/skills/nature-paper-trans

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install nature-paper-trans in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The skill translates selected pages or a full English paper PDF into Simplified Chinese. It renders each source page, generates one translated page image per page with the built-in image_gen tool, and checks each result against the source page. The pages are then merged in original order into a single image-based PDF. By default each page keeps the source page size, orientation and aspect ratio, and A4 is used only when the user asks for it.

The skill is meant for reading translated papers. The source says it is not for editable Word reconstruction or word-by-word proofreading, and it does not promise pixel-level accuracy or word-accurate text. Each page gets one generation attempt with no automatic retries, and the final deliverable is only the Chinese PDF. It suits readers and researchers who want a layout-preserving Chinese copy of an English paper.

Written from the project's SKILL.md and checked against it.

What it can do

  • Page selectionAccepts all pages or a page list such as 1-3,5, using the PDF's actual 1-based page order.
  • Page renderingRenders source pages at 240 DPI while keeping their ratio, orientation and full content.
  • Single-pass page generationCalls the built-in image_gen tool once per page with a shared translation prompt.
  • Result recordingSaves each generated page image to the task ledger, linked to its attempt identifier.
  • Page reviewRecords a pass, issue or unknown status with observations for each translated page.
  • PDF assemblyMerges the accepted page images in original order into an image-based PDF.
  • Partial outputCan build a PDF marked as partial when pages are confirmed missing, without placeholder pages.
  • Resume handlingUses task.json and status output to resume an interrupted job without repeating finished pages.

What you need

  • Python 3.9 or later
  • PyMuPDF
  • Pillow
  • Built-in image_gen tool
  • macOS, Linux, WSL2 or native Windows with PowerShell

Try asking

  • Translate pages 1-3 and 5 of this paper PDF into Simplified Chinese
  • Translate the full English paper PDF to Chinese, keeping layout and figures
  • Assemble the finished Chinese PDF in original page order

Good to know

  • Each page gets only one image generation, with no automatic retries.
  • Up to 10 unfinished generation requests can run at once.
  • The output is an image-based PDF with no OCR layer and cannot be edited as text.
  • Accuracy is not guaranteed; key scientific content should be checked against the original.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/nature-paper-trans/SKILL.md, skills/nature-paper-trans/scripts/pages.py, skills/nature-paper-trans/tests/test_json_channel.py, skills/nature-paper-trans/tests/test_pages.py, skills/nature-paper-trans/tests/test_pdf_publication.py, skills/nature-paper-trans/tests/test_review_gate.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • README.md4 KB
  • README_EN.md5 KB
  • SKILL.md9 KB
  • agents/openai.yaml362 B
  • assets/banner.png1209 KB
Show all 13 files
  • manifest.yaml669 B
  • references/image-translation-prompt.md6 KB
  • requirements.txt23 B
  • scripts/pages.py45 KB
  • tests/test_json_channel.py1 KB
  • tests/test_pages.py33 KB
  • tests/test_pdf_publication.py2 KB
  • tests/test_review_gate.py2 KB

Alternatives to nature-paper-trans

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

nature-paper-trans: common questions

Is the Chinese output editable?

No. The source says the deliverable is an image-based Chinese PDF with no OCR layer, and it is not meant for editable Word reconstruction.

Does it keep the original page size?

Yes by default. Each page keeps the source page size, orientation and ratio, and pages are converted to A4 only when the user explicitly asks.

What happens if a page fails to generate?

Each page has one generation chance and failed pages are not retried automatically. A partial PDF marked as partial can be built if the missing pages are confirmed.

How do I install nature-paper-trans?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is nature-paper-trans free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is nature-paper-trans safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to nature-paper-trans?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

nature-paper-trans Install

Add to stack

Loading.