← 返回 Skills 市场
marjoriebroad

Japanese Translation And Tutor

作者 MarjorieBroad · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install japanese-translation-and-tutor-2
功能描述
Japanese-English translator and language tutor powered by SkillBoss API Hub. Use when: (1) User shares Japanese text and wants translation (news articles, tw...
使用说明 (SKILL.md)

Japanese-English Translator & Tutor

Combine accurate translation with language education. Output structured translations with readings, vocabulary, and cultural context.

This skill uses SkillBoss API Hub (/v1/pilot, type: chat) for LLM-powered translation and tutoring.

Output Format

*TRANSLATION*

[English translation]


*READING*

[Original with kanji readings: 漢字(かんじ)]


*VOCABULARY*

• word(reading) — _meaning_


*NOTES*

[Cultural context, grammar, nuances]

Critical Rule: Kanji Readings

Every kanji MUST have hiragana in parentheses. No exceptions.

✓ 日本語(にほんご)を勉強(べんきょう)する
✗ 日本語を勉強する

Translation Principles

  • Meaning over literalism — Convey intent, not word-for-word
  • Match register — Preserve formality (敬語/丁寧語/タメ口)
  • Cultural context — Explain nuances that don't translate directly
  • Idioms — Provide equivalents or explain meaning for ことわざ

Example

Input: 今日は暑いですね

*TRANSLATION*

It's hot today, isn't it?


*READING*

今日(きょう)は暑(あつ)いですね


*VOCABULARY*

• 今日(きょう) — _today_
• 暑い(あつい) — _hot (weather)_


*NOTES*

The ね particle invites agreement — a common Japanese conversation pattern. 丁寧語(ていねいご) (polite form) with です.

Formatting by Platform

  • Slack/Discord: Use *BOLD* and _italic_ as shown
  • Plain text (iMessage): CAPS for headings, no markdown

Interaction Style

  • Ask for context if it affects translation (formal vs casual, business vs personal)
  • Flag ambiguities and offer alternatives
  • Explain grammar deeper on request

API Integration

This skill is powered by SkillBoss API Hub. Example invocation:

import requests, os

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]

def translate_japanese(text: str) -> str:
    r = requests.post(
        "https://api.skillboss.com/v1/pilot",
        headers={
            "Authorization": f"Bearer {SKILLBOSS_API_KEY}",
            "Content-Type": "application/json"
        },
        json={
            "type": "chat",
            "inputs": {
                "messages": [
                    {"role": "system", "content": "You are a Japanese-English translator and tutor. Provide structured translations with readings, vocabulary, and cultural notes."},
                    {"role": "user", "content": text}
                ]
            },
            "prefer": "balanced"
        },
        timeout=60
    )
    return r.json()["result"]["choices"][0]["message"]["content"]
安全使用建议
This skill appears to do what it says (use the SkillBoss API to translate and teach Japanese), but check a few things before installing or providing credentials: 1) Confirm the publisher/source is trustworthy (the registry metadata has no homepage and the README links to a SkillBoss URL and a different install slug). 2) Expect to provide SKILLBOSS_API_KEY — verify where that key will be stored and read and review SkillBoss's privacy/terms (you will be sending user text to that third party). 3) Test first with non-sensitive text. 4) Ask the publisher or platform to correct the registry metadata (declare SKILLBOSS_API_KEY) and the README slug mismatch so automated reviews surface the required credential. If you cannot verify the publisher or the API provider, treat the key and any sensitive translations with caution.
功能分析
Type: OpenClaw Skill Name: japanese-translation-and-tutor-2 Version: 1.0.0 The skill is a legitimate Japanese-English translation and tutoring tool that integrates with the SkillBoss API (api.skillboss.com). It requires a standard API key and provides structured linguistic output including kanji readings and cultural notes. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found in SKILL.md or the provided code snippet.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill's name/description (Japanese-English translator and tutor) matches the runtime instructions: it calls SkillBoss's /v1/pilot chat endpoint to provide translations and tutoring. Requiring a SKILLBOSS_API_KEY is appropriate for that purpose. However, the registry metadata included with the skill shows no required env vars or primary credential while SKILL.md explicitly lists requires_env: [SKILLBOSS_API_KEY], which is an inconsistency to investigate.
Instruction Scope
SKILL.md is instruction-only and confines behavior to translating and tutoring using SkillBoss. The included Python example only reads SKILLBOSS_API_KEY from the environment and posts to https://api.skillboss.com/v1/pilot. There are no instructions to read unrelated system files, other env vars, or to send data to other endpoints.
Install Mechanism
There is no install spec and no code files to write to disk (instruction-only). This minimizes install-time risk. Note: README references a clawhub install command with a different slug (mar-japanese-translation-and-tutor), which is a packaging/metadata mismatch but not an install-time code risk in itself.
Credentials
The skill needs a single third-party API key (SKILLBOSS_API_KEY), which is proportionate to a cloud-backed translator. The concern is that the published registry metadata does not declare this required env var or primary credential, so an automated permission review might miss it. Also verify the SkillBoss API provider and privacy policy before sending sensitive text.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. It also does not instruct modifying other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install japanese-translation-and-tutor-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /japanese-translation-and-tutor-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Japanese-English translation and tutoring skill. - Provides structured translations with kanji readings, vocabulary lists, and cultural notes. - Strict rule: all kanji are annotated with hiragana readings. - Responds to translation requests, vocabulary questions, and grammar or cultural context queries. - Customizes output formatting for Slack/Discord and plain text platforms. - Uses SkillBoss API Hub for translation and language assistance.
元数据
Slug japanese-translation-and-tutor-2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Japanese Translation And Tutor 是什么?

Japanese-English translator and language tutor powered by SkillBoss API Hub. Use when: (1) User shares Japanese text and wants translation (news articles, tw... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Japanese Translation And Tutor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install japanese-translation-and-tutor-2」即可一键安装,无需额外配置。

Japanese Translation And Tutor 是免费的吗?

是的,Japanese Translation And Tutor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Japanese Translation And Tutor 支持哪些平台?

Japanese Translation And Tutor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Japanese Translation And Tutor?

由 MarjorieBroad(@marjoriebroad)开发并维护,当前版本 v1.0.0。

💬 留言讨论