From dora-skills
Configures translation nodes in dora-hub dataflows using LLM (dora-qwen) or Huggingface models (dora-transformers) for multilingual text translation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dora-skills:hub-translationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Translate text between languages using neural machine translation
Translate text between languages using neural machine translation
Note: Dedicated translation nodes are not yet in node-hub. Use LLM-based translation with dora-qwen or dora-qwen2-5-vl.
| Method | Install | Description |
|---|---|---|
| dora-qwen | pip install dora-qwen | LLM-based translation |
| dora-transformers | pip install dora-transformers | Huggingface models |
Use Qwen LLM for translation tasks.
- id: translate
build: pip install dora-qwen
path: dora-qwen
inputs:
text: whisper/text
outputs:
- text
env:
SYSTEM_PROMPT: "You are a translator. Translate the following text from English to Chinese. Output only the translation."
Qwen supports translation between most major language pairs including:
Use Huggingface translation models via dora-transformers.
- id: translate
build: pip install dora-transformers
path: dora-transformers
inputs:
text: input/text
outputs:
- text
env:
MODEL: Helsinki-NLP/opus-mt-en-zh
TASK: translation
nodes:
# Microphone
- id: microphone
build: pip install dora-microphone
path: dora-microphone
inputs:
tick: dora/timer/millis/100
outputs:
- audio
# VAD
- id: vad
build: pip install dora-vad
path: dora-vad
inputs:
audio: microphone/audio
outputs:
- audio
# Speech to text
- id: whisper
build: pip install dora-distil-whisper
path: dora-distil-whisper
inputs:
input: vad/audio
outputs:
- text
env:
TARGET_LANGUAGE: english
# Translation (using LLM)
- id: translate
build: pip install dora-qwen
path: dora-qwen
inputs:
text: whisper/text
outputs:
- text
env:
SYSTEM_PROMPT: "Translate to Chinese:"
# TTS for translated text
- id: tts
build: pip install dora-kokoro-tts
path: dora-kokoro-tts
inputs:
text: translate/text
outputs:
- audio
# Speaker
- id: speaker
build: pip install dora-pyaudio
path: dora-pyaudio
inputs:
audio: tts/audio
# Visualization
- id: rerun
build: pip install dora-rerun
path: dora-rerun
inputs:
original:
source: whisper/text
metadata:
primitive: "text"
translated:
source: translate/text
metadata:
primitive: "text"
Use multiple dora-qwen instances with different translation prompts:
nodes:
- id: input
build: pip install terminal-input
path: terminal-input
outputs:
- text
# English to Chinese
- id: en_to_zh
build: pip install dora-qwen
path: dora-qwen
inputs:
text: input/text
outputs:
- text
env:
SYSTEM_PROMPT: "Translate the following text to Chinese. Output only the translation."
# English to Japanese
- id: en_to_ja
build: pip install dora-qwen
path: dora-qwen
inputs:
text: input/text
outputs:
- text
env:
SYSTEM_PROMPT: "Translate the following text to Japanese. Output only the translation."
# English to Spanish
- id: en_to_es
build: pip install dora-qwen
path: dora-qwen
inputs:
text: input/text
outputs:
- text
env:
SYSTEM_PROMPT: "Translate the following text to Spanish. Output only the translation."
- id: rerun
build: pip install dora-rerun
path: dora-rerun
inputs:
original: input/text
chinese: en_to_zh/text
japanese: en_to_ja/text
spanish: en_to_es/text
import pyarrow as pa
# Send text for translation
text = "Hello, how are you?"
node.send_output("text", pa.array([text]))
# Receive translated text
translated = event["value"][0].as_py()
npx claudepluginhub zhanghandong/dora-skills --plugin dora-skillsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.