translate

translate is a skill for Claude Code from clearsmog/claude-skills. It costs 25 tokens per session (752 once invoked), scanned A, original, MIT.

A document-conversion workflow for moving content between Typst, a markup language for typeset documents, and Quarto, a publishing format for documents and presentations.

In plain words
What is it for?
It helps convert .typ files to .qmd files and .qmd files to .typ files. Beamer (.tex) translations require project-level configuration.
Why use it?
It reduces the manual work of rewriting document structure, styling components, citations, and mathematics when changing formats. The source file remains the single source of truth.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps convert .typ files to .qmd files and .qmd files to .typ files. Beamer (.tex) translations require project-level configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/translate
Install

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.

Any agent
npx skills add clearsmog/claude-skills --skill translate
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for translate

README.md
[![agentmods](https://agentmods.dev/badge/skills/clearsmog/claude-skills/translate/github.svg)](https://agentmods.dev/skills/clearsmog/claude-skills/translate)
Your own site
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/translate"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/translate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for translate

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/translate"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/translate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00752
Opus 5.5 $0.00010 $0.00301
Sonnet 5.5 $0.00005 $0.00150
Haiku 4.5 $0.00003 $0.00075

Measured 24d ago against content hash 8d1c58be9138, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

translate 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 24d 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.

translate/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Multi-Format Translation Workflow

Translate documents between supported formats.

The source file is authoritative: leave it unchanged, and make the target match it rather than improve on it.


Supported Translations

From To Method
.typ (Typst) .qmd (Quarto) Component mapping
.qmd (Quarto) .typ (Typst) CSS classes to components

Note: For Beamer (.tex) translations, configure at project level. Projects with Beamer support should have their own translate skill with environment mapping tables.

Format Detection

Parse $ARGUMENTS:

  • First argument: source file path
  • Second argument (optional): target format (.qmd, .typ)
  • If no target specified, infer from project context

Typst → Quarto

Component Mapping

Typst (qk) Quarto CSS
#keypoint[...] ::: {.keybox}\n...\n:::
#insight[...] ::: {.highlightbox}\n...\n:::
#tip[...] ::: {.methodbox}\n...\n:::
#note[...] ::: {.softbox}\n...\n:::
#warning[...] ::: {.keybox}\n**Warning:** ...\n:::
#trap[...] ::: {.keybox}\n**Common mistake:** ...\n:::

Citation Mapping

  • @key → @key (same in Quarto)

Math Mapping

  • $...$ (Typst inline) → $...$ (Quarto inline)
  • $ ... $ (Typst display) → $$...$$ (Quarto display)

Quarto → Typst

Component Mapping

Quarto CSS Typst (qk)
::: {.keybox} #keypoint[...]
::: {.highlightbox} #insight[...]
::: {.methodbox} #tip[...]
::: {.resultbox} #keypoint[...]
::: {.quotebox} #quote(attribution: "...")[...]
::: {.softbox} #note[...]

Math Mapping

  • $...$ → $...$
  • $$...$$ → $ ... $ (display)

Quality Standards (All Translations)

  1. Content parity — every idea from source must appear in target
  2. Environment parity — every box/callout must use the corresponding target element
  3. Notation consistency — same symbols as source
  4. No content loss — never summarize or condense
  5. All citations verified — every reference resolves
  6. All images referenced — every figure path valid
  7. Compile successfully — target must build without errors

Read the full file on GitHub · 92 lines

Changes

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.

  1. 24d ago Changed 8d1c58be9138
  2. 1mo ago Changed · +1 lines 86c512c08168
  3. 1mo ago First seen · 91 lines · 25 tokens per session scan A 873c8f5a17c6

Subscribe to this mod's changes

translate is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 25 tokens to every session and 752 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pptx-translator

This skill should be used when the user needs to translate PowerPoint presentations (.pptx) between languages, preserving formatting and layout. Supports parallel slide-by-slide translation with per-slide validation and retry. Default languages are Portuguese and English but any language pair is supported.

ericgandrade/claude-superskills · 57 tokens

visa-doc-translate

Translate visa application documents (images) to English and create a bilingual PDF with original and translation.

khanhhuyenngo985-sys/character-scene-design-skills · 23 tokens

surfsense-html

Make or change a web page from the user's sources - a report, a briefing, a dashboard, a comparison, a timeline, an explainer, an interactive calculator or a figure that shows how something works - by writing an HTML file and keeping it with surfsensesavepage. Load it whenever the user asks for a web page, an HTML…

MODSetter/SurfSense · 89 tokens

surfsense-data

Work out numbers from spreadsheet and CSV sources (.xlsx, .csv, .tsv) by writing a pandas script that surfsenseanalyzedata runs: totals, averages, trends, rankings, comparisons, cleaning, and charts that can go into a document. Load it whenever the user asks for figures from a table, or a chart of one.

MODSetter/SurfSense · 0 tokens

xlsx

Create polished Excel workbooks for budgets, trackers, and data tables.

MODSetter/SurfSense · 16 tokens

translate-book

Translate books (PDF/DOCX/EPUB) into any language using parallel sub-agents. Converts input -> Markdown chunks -> translated chunks -> HTML/DOCX/EPUB/PDF.

deusyu/translate-book · 42 tokens