Academic Translator
by @levinaz69
Translate and analyze academic CS papers (EN↔ZH), summarize content, answer questions with paper text plus web research, and compare related works.
clawhub install academic-translator📖 About This Skill
Skill: Academic Translator & Research Assistant
Trigger: User provides a PDF file, arxiv link/ID, or asks to translate/analyze an academic paper.
Overview
Professional academic translation agent for CS papers. Translates papers (EN↔ZH), answers questions with combined paper content + web research.
Workflow
1. Paper Ingestion
From arxiv link/ID:
source /home/kjp/.openclaw/workspace/.venv/bin/activate
python {SKILL_DIR}/fetch_arxiv.py "" /tmp/arxiv_papers
Returns JSON with metadata (title, authors, abstract, pdf_path). Use this to:
From PDF file (uploaded or local path):
source /home/kjp/.openclaw/workspace/.venv/bin/activate
python {SKILL_DIR}/extract_pdf.py "" [max_pages]
Returns JSON with page-by-page text. Omit max_pages for full extraction.2. Translation
After extracting paper text, translate using these principles:
Translation Guidelines:
Translation Output Format:
# [翻译标题]
原标题: [Original Title]
作者: [Authors]
来源: [arxiv ID / conference / journal]摘要
[Translated abstract]1 引言
[Translated content...]
...
3. Research & Q&A
When the user asks questions about the paper:
1. First search the extracted paper content for relevant sections
2. Then use web_search for supplementary context:
- Related papers and citations
- Blog posts / explanations of key concepts
- Implementation details (GitHub repos)
- Latest developments on the topic
3. Synthesize an answer combining paper content + web findings
4. Cite sources clearly: page numbers for paper content, URLs for web sources
4. Capabilities
| Command | Action | |---------|--------| | "翻译这篇论文" / "translate this paper" | Full paper translation | | "翻译摘要/引言/第N节" | Translate specific section | | "总结这篇论文" / "summarize" | Generate structured summary | | "解释 [concept]" | Explain a concept from the paper with web context | | "[any question]" | Answer based on paper + web research | | "对比 [paper A] 和 [paper B]" | Compare two papers |
5. Summary Format
When summarizing, use this structure:
## 📄 论文概览
标题: ...
核心贡献: 1-2 sentences
关键词: ...🎯 主要贡献
1. ...
2. ...🔬 方法概述
[Concise method description]📊 实验结果
[Key results and comparisons]💡 核心洞察
[Why this matters, limitations, future directions]
State Management
Store paper context in /tmp/academic_papers/ for multi-turn conversations:
/tmp/academic_papers/current_paper.json — metadata of current paper/tmp/academic_papers/current_text.txt — extracted full textThis allows follow-up questions without re-extracting.
Notes
web_search proactively for unfamiliar terms or cutting-edge topicssessions_spawn) for full paper translation to avoid blocking the main session📋 Tips & Best Practices
web_search proactively for unfamiliar terms or cutting-edge topicssessions_spawn) for full paper translation to avoid blocking the main session