BeClaude

translate

44Community RegistryGeneralby hiropon

AI-powered translation plugin with /tr command (--hq for high-quality)

First seen 4/17/2026

Summary

Translate text between languages directly in Claude Code using the /tr command.

  • Supports high-quality mode with --hq flag for more accurate translations, making it ideal for developers working with multilingual documentation, code comments, or user-facing text.

Overview

Claude Code plugins for integrating with AI coding assistants.

Plugins

PluginTypeDescription
ask-claudeSkillGet a second opinion from another Claude instance
ask-codexSkillGet a second opinion from OpenAI Codex
ask-geminiSkillGet a second opinion from Google Gemini
ask-copilotSkillGet a second opinion from GitHub Copilot
ask-agySkillGet a second opinion from Google Antigravity
peerSkillPeer engineer for code review, planning, and brainstorming
translateAgent + SkillAI-powered translation with /tr command (configurable quality)
security-scannerSkillScan plugins and skills for security risks
extract-rulesSkillExtract project-specific coding rules from codebase for AI agents
merge-rulesSkillMerge portable coding rules from multiple projects into a unified rule set
caffeinatePluginManage macOS caffeinate to prevent system sleep

Installation

Via Skills.sh (Claude Code, Cursor, Copilot, etc.)

bash
npx skills add hiroro-work/claude-plugins

Available skills: ask-claude, ask-codex, ask-gemini, ask-copilot, ask-agy, ask-peer, security-scanner, extract-rules, merge-rules

Note: Agent features (translate) and hook features (caffeinate) are only available via Claude Code Plugin Marketplace.

Via Claude Code Plugin Marketplace (Full features)

bash
/plugin marketplace add hiroro-work/claude-plugins
bash
/plugin install ask-claude@hiropon-plugins
/plugin install ask-codex@hiropon-plugins
/plugin install ask-gemini@hiropon-plugins
/plugin install ask-copilot@hiropon-plugins
/plugin install ask-agy@hiropon-plugins
/plugin install peer@hiropon-plugins
/plugin install translate@hiropon-plugins
/plugin install security-scanner@hiropon-plugins
/plugin install extract-rules@hiropon-plugins
/plugin install merge-rules@hiropon-plugins
/plugin install caffeinate@hiropon-plugins

Requirements

  • ask-claude: Requires claude CLI
  • ask-codex: Requires codex CLI
  • ask-gemini: Requires gemini CLI
  • ask-copilot: Requires copilot CLI
  • ask-agy: Requires agy CLI
  • peer: No external dependencies (runs as Claude subagent)
  • translate: No external dependencies (runs as Claude subagent)
  • security-scanner: No external dependencies
  • extract-rules: No external dependencies
  • merge-rules: No external dependencies (requires extract-rules output from multiple projects)
  • caffeinate: macOS only (caffeinate command)

Usage

Skill Plugins (ask-claude, ask-codex, ask-gemini, ask-copilot, ask-agy)

These plugins provide /ask-* commands for getting second opinions from other AI assistants.

Skill Plugin (peer)

Invoke with /ask-peer command. Spawns a peer engineer subagent for:

  • Planning review before implementation
  • Code review after completing work
  • Brainstorming for problem-solving
  • A second opinion on your approach

Plugin (caffeinate)

Prevent macOS system sleep during long-running sessions using caffeinate.

bash
/caffeinate            # Start caffeinate
/caffeinate stop       # Stop caffeinate
/caffeinate status     # Check status

Automatically stops on session end via SessionEnd hook.

Skill Plugin (extract-rules)

Extract project-specific coding rules and domain knowledge from your codebase, generating structured markdown documentation for AI agents.

bash
/extract-rules                      # Extract rules from codebase (initial)
/extract-rules --update             # Re-scan and add new patterns (preserve existing)
/extract-rules --restructure        # Re-analyze, reorganize structure, merge existing rules
/extract-rules --from-conversation  # Extract rules from conversation

Output files are generated in .claude/rules/ directory.

Configuration (optional): Create .claude/extract-rules.local.md with YAML frontmatter to customize target directories, exclusions, output language, and split output mode. See SKILL.md for details.

Skill Plugin (merge-rules)

Merge extract-rules output from multiple projects into a unified portable rule set. Promotes .local.md patterns shared across projects.

bash
/merge-rules                    # Merge using config file
/merge-rules --config <path>    # Merge using specified config file
/merge-rules --dry-run          # Show what would be merged without writing

Configuration (required): Create .claude/merge-rules.local.md with YAML frontmatter listing source projects. See SKILL.md for details.

License

MIT License

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/translate.md

3
Invoke with @agent-name
@translate

Use Cases

Translate code comments from Chinese to English before sharing with an international team.
Convert user-facing error messages from English to Spanish for a localized app release.
Translate a README file from Japanese to English to broaden project contributors.
Quickly translate a technical term or phrase during a code review with a non-native speaker.
Translate documentation snippets from French to English for inclusion in a global wiki.
Translate inline strings in source code from German to English to standardize the codebase.

Usage Examples

1

/translate --hq 'Bonjour le monde' to English

2

/tr 'Este es un ejemplo de traducción' --hq

3

/translate '将这段中文翻译成英文'

View source on GitHub
plugin

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is translate?

Translate text between languages directly in Claude Code using the /tr command. Supports high-quality mode with --hq flag for more accurate translations, making it ideal for developers working with multilingual documentation, code comments, or user-facing text.

How to install translate?

To install translate: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/translate.md. Finally, @translate in Claude Code.

What is translate best for?

translate is a agent categorized under General. It is designed for: plugin. Created by hiropon.

What can I use translate for?

translate is useful for: Translate code comments from Chinese to English before sharing with an international team.; Convert user-facing error messages from English to Spanish for a localized app release.; Translate a README file from Japanese to English to broaden project contributors.; Quickly translate a technical term or phrase during a code review with a non-native speaker.; Translate documentation snippets from French to English for inclusion in a global wiki.; Translate inline strings in source code from German to English to standardize the codebase..