hiroro-work/claude-plugins/tr

Claude Code and agent skill by hiroro-work/claude-plugins

Trust tier 2
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Translate text between Japanese and English. Auto-detects source language. Use --hq for high-quality (sonnet), --fast for standard (haiku).

Install

npx vskill@latest install hiroro-work/claude-plugins/tr

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Translate

Translate text using Claude subagents.

Usage

/tr <text to translate>
/tr --to <lang> <text to translate>
/tr --from <lang> <text to translate>
/tr --hq <text to translate>
/tr --fast <text to translate>

Options

  • --hq: Force high-quality translation (sonnet model)
  • --fast: Force standard translation (haiku model)
  • --to <lang>: Specify target language (e.g., zh, fr, ko)
  • --from <lang>: Specify source language (e.g., ja, en, zh)

Configuration

Users can configure defaults in translate.local.md:

  • Project-level: .claude/translate.local.md (takes precedence)
  • User-level: ~/.claude/translate.local.md

If both files exist, project-level settings take precedence.

markdown
---
default_quality: hq # or "fast" (default)
primary_language: ja # Language to detect (default: ja)
secondary_language: en # Default target when primary detected (default: en)
---

Examples

/tr こんにちは
/tr Hello, how are you?
/tr Bonjour # French → Japanese (default)
/tr --to zh Hello, world!
/tr --from ja Konnichiwa
/tr --from en --to ja Hello
/tr --hq この文章を翻訳してください
/tr --fast --to fr Hello, world!

Execution

  1. Check for settings file: Search for translate.local.md in the following locations:
  2. Project-level: .claude/translate.local.md
  3. User-level: ~/.claude/translate.local.md

Settings file resolution:

  • If both files exist, use project-level settings only (project-level takes precedence)
  • If only one file exists, use that file
  • If neither file exists, proceed with default settings

Parse YAML frontmatter for settings:

  • default_quality: If hq, default to sonnet model
  • primary_language: Language to detect (default: ja for Japanese)
  • secondary_language: Target when primary detected (default: en for English)
  • If file is missing or invalid, use defaults: fast quality, ja/en languages
  1. Parse options:
  • If --hq is present → use tr-hq agent (sonnet)
  • If --fast is present → use tr agent (haiku)
  • If both --hq and --fast → --hq takes priority
  • If neither → use default from settings (or haiku if no settings)
  1. Construct prompt for agent: Build the prompt with settings and text
  • Priority: --to/--from options override settings file, which overrides defaults
  • If custom languages are configured, prefix with: primary: <primary_language>, secondary: <secondary_language>
  • If --from <lang> is specified, include: --from <lang>
  • If --to <lang> is specified, include: --to <lang>
  • Append the user's text to translate
  1. Invoke agent: Dispatch the Agent tool with subagent_type set to the chosen agent (tr or tr-hq)
  1. Return result: The agent returns only the translated text

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
47
Repository forks
3
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hiroro-work/claude-plugins/tr/badge)](https://verified-skill.com/skills/hiroro-work/claude-plugins/tr)

Something wrong with this skill or its page? Tell us.