sumitaich1998/jarvisvr / skills/perception/read-and-translate-sign
read-and-translate-sign
VerifiedRead text visible in the passthrough camera (a sign, menu, label, or document) and optionally translate it into the user's language. Use for "read this", "what does this say", "translate this sign/menu", or OCR of something in view. Triggers: read this, what does this say, translate this sign, menu, label, OCR, foreign text.
Read & Translate Sign
OCR text from the current view, then (if a target language is implied or asked)
translate it, surfacing both on a translator panel in sign mode.
Steps
- Pick the path:
- Read only ("what does this say?") →
read_text→ shows apanel. - Read + translate ("translate this sign") →
translate_view(does OCR + translation in one call) → shows atranslator. - Translate provided text (not from camera) →
translate_text.
- Read only ("what does this say?") →
- Determine target language. Default to the session
localefromclient.hello; honor explicit "…into French". - Call the tool.
translate_viewreturnsdata.source_text,data.translated,data.target_lang, anobservation, and atranslatordirective. - Narrate with
agent.observation/agent.speechand render the panel.
Output
agent.observation:
{ "text": "The sign reads: 非常口. In English: Emergency Exit.", "final": true, "annotations": [] }
translator hologram (show_translator, props per registry.json):
{ "widget_type": "translator",
"transform": { "anchor": "head", "position": [0.0,0.0,1.0], "billboard": true },
"props": { "source_lang": "auto", "target_lang": "en",
"source_text": "非常口", "translated_text": "Emergency Exit", "mode": "sign" },
"interactions": ["tap","grab","resize","toggle"] }
Read-only path uses a panel:
{ "widget_type": "panel", "props": { "title": "Read", "body": "Gate B12 — Boarding 14:05" } }
Edge cases
- No legible text → "I can't make out any text from here — move a little closer or steady the view." Spawn nothing.
- Mixed languages / long passages → translate the dominant language; for long
documents suggest
document_viewerinstead of a translator panel. - Live two-way conversation (not a static sign) → hand to
communication-agent'slive-translate. - Source == target language → skip translation, just read it back.
- Numbers/codes (gate, room, price) → preserve verbatim; don't "translate" digits.
- Privacy → if you warmed the camera with
perception.request{action:"once"}, stop it when done.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |