Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/forceinjection/forceinjection.github.io/pdf_translatornpx skills add ForceInjection/forceinjection.github.io --skill pdf_translatorgit clone --depth 1 https://github.com/ForceInjection/forceinjection.github.ioWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00047 | $0.00548 |
| Opus 5 | $0.00023 | $0.00274 |
| Sonnet 5 | $0.00009 | $0.00110 |
| Haiku 4.5 | $0.00005 | $0.00055 |
Grade A, and why
pdf_translator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to pdf_translator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.pyscript located in thescriptsdirectory 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/pythonif applicable, or justpython3if dependencies are installed globally).
- Command:
- 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.pyscript 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.
- Write the translated content to a temporary text file (e.g.,
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."
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 49 lines · 47 tokens per session scan A e7fce12464f0
pdf_translator is a skill published in the GitHub repository ForceInjection/forceinjection.github.io (54 stars, last pushed 8d ago), licensed Apache-2.0. It adds 47 tokens to every session and 548 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pdf_translator, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
i18n-localization
Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
seedance-vocab-ja
This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready.
patina
Detect and rewrite AI writing patterns in Korean, English, Chinese, and Japanese text so it reads as if a human wrote it. Meaning-preservation (MPS) verified.
repro
Turn a bug symptom into a structured, reproducible bug report — summary, environment, exact repro steps, actual vs expected, and evidence (logs, error text, failing route/test) — and then optionally scaffold a failing regression test that pins it. Use this the moment a bug, defect, crash, 500, wrong count, broken…