pdf-translator

Follow these steps to translate a PDF file:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf-translator" with this command: npx skills add forceinjection/ai-fundermentals/forceinjection-ai-fundermentals-pdf-translator

PDF Translator Skill

Instructions

Follow these steps to translate a PDF file:

  • Identify the PDF File: Confirm the path to the PDF file the user wants to translate. If the path is relative, resolve it to an absolute path.

  • Extract Text: Use the extract_text.py script located in the scripts directory of this skill to extract text from the PDF.

  • Command: python3 skills/pdf-translator/scripts/extract_text.py <path_to_pdf>

  • Note: Ensure you are using the correct python environment (e.g., .venv/bin/python if applicable, or just python3 if dependencies are installed globally).

  • Translate Content:

  • Read the output from the extraction step.

  • Translate the extracted text into the target language requested by the user (default to the user's primary language or English if ambiguous).

  • Maintain the original structure (headings, paragraphs) as much as possible using Markdown formatting.

  • Save Output:

  • Write the translated content to a temporary text file (e.g., temp_translation.txt ).

  • Use the generate_md.py script to create the final Markdown file with metadata.

  • Command: python3 skills/pdf-translator/scripts/generate_md.py <output_path> <original_filename> <temp_translation_file>

  • Filename format: <original_filename>_translated.md .

  • Notify the user of the output file location.

  • Clean up the temporary text file.

Examples

User: "Translate the file papers/deep_learning.pdf to Chinese."

Claude:

  • Locates papers/deep_learning.pdf .

  • Runs: python3 skills/pdf-translator/scripts/extract_text.py papers/deep_learning.pdf

  • Translates the extracted text to Chinese.

  • Writes translation to temp_translation.txt .

  • Runs: python3 skills/pdf-translator/scripts/generate_md.py papers/deep_learning_translated.md deep_learning.pdf temp_translation.txt

  • Removes temp_translation.txt .

  • Responds: "I have translated the PDF and saved it to papers/deep_learning_translated.md ."

User: "Help me read this manual.pdf"

Claude:

  • Locates manual.pdf .

  • Runs extraction script.

  • Translates/Summarizes based on user intent.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ll-feishu-audio

飞书语音交互技能。支持语音消息自动识别、AI 处理、语音回复全流程。需要配置 FEISHU_APP_ID 和 FEISHU_APP_SECRET 环境变量。使用 faster-whisper 进行语音识别,Edge TTS 进行语音合成,自动转换 OPUS 格式并通过飞书发送。适用于飞书平台的语音对话场景。

Archived SourceRecently Updated
General

test_skill

import json import tkinter as tk from tkinter import messagebox, simpledialog

Archived SourceRecently Updated
General

51mee-resume-profile

简历画像。触发场景:用户要求生成候选人画像;用户想了解候选人的多维度标签和能力评估。

Archived SourceRecently Updated
General

51mee-resume-parse

简历解析。触发场景:用户上传简历文件要求解析、提取结构化信息。

Archived SourceRecently Updated