SuperAPI AI Directory

web-article-translator

Writing & research

View repository

Updated 10-16 09:34

About this skill

Web Article Translator

Overview

Translate online articles into Chinese and save the result as a Markdown format file, preserving the original image links.

Workflow

1. Get the webpage content

Use the mcp__web_reader__webReader tool to get the article content:

  • Set return_format to markdown
  • Set retain_images to true
  • Preserve the original image links

2. Translate the content

Translate the retrieved Markdown content into Chinese:

  • Translation principles: Maintain the original style, and automatically adjust the translation style according to the original text type (news, technical documentation, blog, etc.)
  • Technical terms: When a technical term appears for the first time, keep the original English in parentheses; afterward, Chinese can be used directly
  • Readability: Ensure the translation is reasonable, fluent, and easy to understand
  • Format preservation: Maintain the original Markdown structure (headings, lists, code blocks, etc.)

3. Save the file

Save the translated content as a Markdown file:

  • File name format:translated-{标题}.md or translated-article-{日期时间}.md
  • Save to the current working directory
  • Preserve all image reference links

4. Output confirmation

After completing the translation, inform the user of:

  • File save path
  • Translated word count
  • Number of images (if any)

Example Usage

User request:

Translate this article https://example.com/article

Execution process:

  1. Use the webReader tool to get the URL content
  2. Translate the Markdown content into Chinese
  3. Save to translated-article.md
  4. Inform the user of the completion status