Translate (Smart Router)
This skill acts as a smart router for translation requests, automatically detecting the input type and invoking the correct specialized skills.
Workflow
1. Identify Input Type
- Extract the input from the user's request (e.g., an arXiv URL, a web URL, or a local PDF file path).
- Determine if the input is an arXiv paper. Examples:
- The URL contains
arxiv.org. - The URL contains
arxiv:followed by an ID. - The file is a PDF downloaded from arXiv.
- The URL contains
2. Route to Specialized Skill
- If arXiv Paper:
- Execute the
do.arxiv-translatorskill on the input. This is optimal for arXiv papers as it compiles LaTeX source directly.
- Execute the
- If Standard PDF (Non-arXiv):
- Step 2.1: Execute the
do.pdf-to-markdownskill on the PDF to convert it to high-fidelity Markdown. Wait for the conversion checklist and promises to complete. - Step 2.2: Execute the
do.translate-markdownskill on the resulting Markdown file to translate it into the target language.
- Step 2.1: Execute the
3. Archive & Standardize Output
- After the PDF translation process is complete, you MUST move the final translated Markdown document (
.md) and any extracted assets (like images) into the vault's paper directory:60_Notes/papers/<Paper_Title>/. - Ensure the file naming is standardized, such as
60_Notes/papers/<Paper_Title>/<Paper_Title>_<LANG>.md(e.g.60_Notes/papers/Attention Is All You Need/Attention Is All You Need_CN.md). (Note: If routed todo.arxiv-translator, it handles its own.pdfarchiving internally).
Guidelines
- Do not process the translation natively inside this skill. This is only a routing step.
- Ensure you wait for
do.pdf-to-markdownto completely finish before triggeringdo.translate-markdown.
Rules
- Read
deeporbit.jsonfrom the workspace root to determine the interaction language. Use this language for all your responses and generated note contents (e.g.zh-CN). The Obsidian folder paths themselves will ALWAYS remain in English. - Set
author: aiin frontmatter for every note you create; switch toauthor: mixedwhen substantially rewriting a human-authored note. Authorship lives in frontmatter only — never add visible badges.