research-paper-pdf-translator
v1.0.0自动将英文科研论文PDF翻译成中文,整理内容突出生物信息学细节,符合科研阅读习惯。
⭐ 0· 155·0 current·0 all-time
byDong Zhao@zd200572
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description (translate scientific PDFs to Chinese with bioinformatics focus) align with the code and instructions: SKILL.py converts the PDF with pdftotext, prints the text and a prompt asking the agent to translate and summarize. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md and SKILL.py only touch the supplied PDF. The skill prints the entire extracted paper text and the original absolute PDF path to stdout and instructs the agent to save a markdown file in the same directory. Printing full paper text and the absolute path is necessary for translation but can expose sensitive content or filesystem layout to the agent/model; the instructions give the agent broad discretion to write files in the PDF's directory.
Install Mechanism
No install spec; the SKILL.py runtime only relies on the external pdftotext binary (poppler-utils). This is a low-risk pattern compared with remote downloads or package installs.
Credentials
The skill declares no environment variables and the code does not read secrets or unrelated env vars. No external credentials or config paths are requested.
Persistence & Privilege
The skill is not always-on and does not modify other skills or system-wide agent settings. It writes a temporary text file and asks the agent to save output in the same directory; this is normal for a file-processing skill but grants write access to the target directory while running.
Assessment
This skill appears to do what it says, but consider these practical safety points before installing:
- Data leakage: SKILL.py prints the entire extracted paper text and the absolute PDF path to stdout and asks the agent to translate it. If your agent sends prompts or content to a remote LLM or logs stdout, the full paper and filesystem path could be transmitted or recorded. Avoid using with confidential PDFs unless you control where model invocations and logs go.
- Temporary file handling: The script writes a fixed file name (temp_paper_for_translation.txt) in the same directory as the PDF. That can overwrite files with the same name or leave artifacts if the script crashes. Prefer running in a copy of the directory or modify the script to use a secure temp file (e.g., tempfile in /tmp) or a unique name.
- Write permission: The skill asks the agent to save the resulting markdown in the same directory; ensure you trust the agent's write permissions for that location.
- Dependency: You must install poppler-utils (pdftotext) for reliable conversion.
If you need stronger privacy guarantees, run the script in an isolated environment, modify it to use secure temporary files and avoid printing absolute paths, and ensure model invocations remain local or to a trusted endpoint.Like a lobster shell, security has layers — review code before you run it.
latestvk97cax4kf6t26pd57h5vnq0tkn836p9c
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
