Pronounce Word 标志

Pronounce Word

社区
anzy-renlab-ai
pronounce-word

当用户询问英文单词或项目/产品名称的读音时使用(“how to pronounce X”“pronounce X”“X 怎么读”“X 怎么发音”“读一下 X”)。通过 `say-it` CLI 生成音频,让用户真正听到单词的读音——默认播放三遍——而不只是提供国际音标或音节提示。该 CLI 会查询由社区维护的发音词典(kubectl → “koob-control”、GIF → “jif”、JSON → “jay-son” 等),再将近似英语拼读的文本交给系统 TTS 引擎(macOS `say`、Linux `espeak-ng` 或 Windows PowerShell),使项目名称的读法符合工程师的实际习惯。适用于用户明确要求读出单个单词或简短短语的情况。

Add to TypingMind

概览

发布者anzy-renlab-ai
代码仓库pronounce
技能名称pronounce-word
星标数
49
复刻数
1
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 anzy-renlab-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pronounce Word AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/anzy-renlab-ai/pronounce/tree/main/skills/pronounce-word
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anzy-renlab-ai/pronounce.git /tmp/pronounce
mkdir -p .claude/skills
cp -r /tmp/pronounce/skills/pronounce-word .claude/skills/pronounce-word
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pronounce Word,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pronounce Word。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pronounce Word 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

pronounce-word — speak the word out loud

Purpose. When the user asks how to pronounce an English word — and especially a project, product, or programmer-jargon name (kubectl, nginx, Pydantic, LaTeX, JSON, ...) — don't just respond in text. Play the audio so they can hear the community reading, then add a short text caption with the source.

Trigger patterns

Auto-invoke ONLY when the user's message matches a single-word or short-name pronunciation request:

  • English: how to pronounce <X>, how do you pronounce <X>, pronounce <X>, how do you say <X>, what does <X> sound like
  • Chinese: <X> 怎么读, <X> 怎么念, <X> 怎么发音, 读一下 <X>, 念一下 <X>

<X> MUST be a single token: a word, project name, product name, acronym, or identifier — the kind of thing a developer would actually type into say-it <X>. The dictionary is keyed on single tokens, so multi-word input is spoken raw (not looked up); for a two-part name pick the head token (say-it postgres, not say-it postgres database).

Do NOT trigger this skill when:

  • <X> is a sentence or paragraph the user wants narrated (e.g. 读一下这段 / read this paragraph). That's a TTS request, not a pronunciation lookup. Suggest say "<sentence>" instead, or just answer in text.
  • The message is asking about pronunciation conceptually (e.g. IPA 是什么 / what is phonetic spelling). Answer in text.
  • <X> is non-English everyday vocabulary or a person's name unrelated to tech. The dictionary's editorial scope is tech-only — fall through to a text-only answer, or skip.

If the target token is ambiguous (multiple candidates in the message), ask which one before invoking.

What to do

  1. Speak it 3 times via say-it.

    bash
    say-it <word>

    The CLI looks the word up in the dictionary and, if found, sends the dictionary's English-like respelling (e.g. "koob control") to the TTS engine so the pronunciation is the intended community reading — not whatever the engine would have guessed from the spelling alone. (macOS say does not parse IPA / [[inpt PHON]] / SSML <phoneme> markup — it reads them literally — so the dictionary stores respellings that ride the engine's built-in letter-to-sound rules.) If the word isn't in the dictionary, the CLI speaks the raw spelling.

    Defaults: voice Samantha (General American), rate 130 wpm, 3 repetitions. This blocks until the audio finishes; the user hears it through the speakers.

    If say-it is not on $PATH (installed as a Claude Code plugin, no CLI yet), don't dead-end the user:

    1. Call the pronounce MCP tool (the plugin ships it). The entry's audio_url is a pre-rendered MP3 — fetch it to a temp file and play it (afplay), or hand the user the URL. Then say it again from the text, and give the one-line install so audio works natively next time: curl -fsSL https://pronounce.renlab.ai/install.sh | bash
    2. No MCP either: answer with IPA + respelling from the table below, and offer the install line. Never pretend audio played.
  2. Reply with one short line of text alongside the audio. Always include:

    • The IPA reading (GenAm).
    • The "syllabified" / respelling form (e.g. "KOOB-control").
    • Source of the pronunciation when the dictionary entry has one (creator interview, conference talk, official FAQ). Surface the URL — it's the project's headline feature.
    • For contested readings, mention the alternative and how to play it (say-it --alt <word>).
  3. Use say-it --why <word> to inspect the dictionary entry (IPA, alternates, source, category, confidence) if you need to compose the caption — this is the canonical metadata for the reply.

When the word isn't in the dictionary

say-it <word> still speaks the raw spelling on a miss, but the dictionary is the point — a miss is a chance to add the entry. If --json reports "in_dict": false (or --why says not in dictionary), run:

bash
say-it propose <word>

It prints a 10-column draft TSV row (placeholders for IPA, respelling, source, category, confidence, note), a five-item research checklist, and a prefilled GitHub issue URL whose body carries the draft. It is entirely offline — no network call and no side effects.

Do the research yourself before filing: check the official site/FAQ, look for a creator quote or interview, write the GenAm IPA with stress marks, and write a respelling of English-like words that say reads correctly. Never invent a source_url — leave it empty when unverified. Then paste the result into the issue; if the user can't open a browser, hand them the plain-text body propose prints.

If propose answers that the word is already in the dictionary, don't file an issue — show the existing entry instead (that path prints no issues/new link).

Examples

Example 1 — creator-clarified word:

User: GIF 怎么读?

Tool call:

bash
say-it GIF

Reply:

🔊 /dʒɪf/ — "JIF". Per the creator Steve Wilhite at the Webby Awards 2013. The alternate reading /ɡɪf/ is widespread too — try say-it --alt GIF to hear it.

Example 2 — community-consensus product name:

User: how do you pronounce kubectl

Tool call:

bash
say-it kubectl

Reply:

🔊 /ˈkuːb kənˌtroʊl/ — "KOOB-control". Kelsey Hightower and most K8s maintainers say it this way (talk). "Cube-cuddle" and letter-by-letter "K-U-B-E-C-T-L" both circulate as alternates.

Example 3 — tech term not yet in the dictionary:

User: how do you pronounce containerd

Tool call:

bash
say-it containerd

Reply:

🔊 /kənˈteɪnər diː/ — "container-D" (the D is for "daemon"). Per the containerd docs.

Useful flags

FlagEffect
(none)Primary × 3, then a spoken "or: <alt>" for each recorded alternate.
--soloPrimary × 3 only — silence the "or:" tail.
--alt [N]Focus on the Nth alternate (default N=1) instead of the primary.
--allPrimary AND every alternate, each repeated, chained with "or:".
--whyPrint the dict entry's IPA, source URL, category, confidence, notes (no audio).
--jsonPrint the entry as JSON (in_dict, alt arrays, source) — the cleanest form to parse when composing the caption (no audio).
--mdPrint a ready-to-paste markdown card (no audio).
--copyCopy the respelling to the clipboard after speaking.
--no-dictBypass the dictionary; let the TTS engine interpret the raw spelling.
-n 5Repeat 5 times instead of 3.
-r 110Slower rate (110 wpm; default is 130).
-o /tmp/word.aiffSave to file instead of playing.

Why the default chains alternates. Multi-reading words (GIF, SQL, GUI, kubectl, char, ...) carry useful context: the user should know there's debate. Chaining alternates audibly with "or:" makes that perceptible without forcing them to read the terminal. Use --solo when the user has already grasped the multi-reading status and just wants the primary again.

Notes

  • The CLI auto-detects a TTS backend: macOS say, Linux espeak-ng/espeak, or Windows PowerShell. macOS quality is the gold standard; the others are functional best-effort. If no backend is found, the CLI prints install hints, but the text-only flags (--why, --json, --md) still work — fall back to a text IPA + respelling reply in that case.
  • If the user says "stop playing audio" or "just text", skip the speak step for the rest of the conversation.
  • Tech context only. This skill targets project names, product names, programmer jargon, and acronyms (kubectl, nginx, Pydantic, JSON, GIF, regex, ...). For general English vocabulary the user wants spoken (rare), say-it <word> still works (falls through to raw TTS), but the dictionary's editorial scope is tech-only.
  • The dictionary is American English (GenAm) only. UK/AU/etc. readings are explicitly out of scope.

常见问题

Pronounce Word AI 技能有什么作用?

当用户询问英文单词或项目/产品名称的读音时使用(“how to pronounce X”“pronounce X”“X 怎么读”“X 怎么发音”“读一下 X”)。通过 `say-it` CLI 生成音频,让用户真正听到单词的读音——默认播放三遍——而不只是提供国际音标或音节提示。该 CLI 会查询由社区维护的发音词典(kubectl → “koob-control”、GIF → “jif”、JSON → “jay-son” 等),再将近似英语拼读的文本交给系统 TTS 引擎(macOS `say`、Linux `espeak-ng` 或 Windows PowerShell),使项目名称的读法符合工程师的实际习惯。适用于用户明确要求读出单个单词或简短短语的情况。

为什么在 TypingMind 中使用 Pronounce Word?

因为您只需安装一次,就能搭配任何模型使用。Pronounce Word 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pronounce Word?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/anzy-renlab-ai/pronounce/tree/main/skills/pronounce-word。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pronounce Word?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pronounce Word 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pronounce Word 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pronounce Word AI 技能免费吗?

是的。anzy-renlab-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇