tts-dict

TTS発音辞書管理。英単語のカタカナ読み登録・適用・確認。LLM自動読み取得にも対応。「辞書登録して」「英単語の読みを登録」「発音確認」で発動。

16 stars

Best use case

tts-dict is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

TTS発音辞書管理。英単語のカタカナ読み登録・適用・確認。LLM自動読み取得にも対応。「辞書登録して」「英単語の読みを登録」「発音確認」で発動。

Teams using tts-dict should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/tts-dict/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/tts-dict/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/tts-dict/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How tts-dict Compares

Feature / Agenttts-dictStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

TTS発音辞書管理。英単語のカタカナ読み登録・適用・確認。LLM自動読み取得にも対応。「辞書登録して」「英単語の読みを登録」「発音確認」で発動。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# TTS Dictionary Manager

英単語の読み方をTTSエンジン(COEIROINK等)に登録する辞書管理プラグイン。

## 使用タイミング

- TTS生成前に英単語の発音を登録するとき
- 「辞書登録して」「英単語の読みを登録」と依頼されたとき
- TTS出力の発音を確認・修正するとき

## クイックスタート

```bash
# 1. 辞書の健全性チェック(TTS前に必須)
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js healthcheck

# 2. 英単語を自動登録(LLM経由で読み取得)
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js auto-add Claude OpenAI ChatGPT --apply

# 3. 発音を確認
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js verify Claude OpenAI ChatGPT
```

## コマンド

| コマンド | 説明 |
|---------|------|
| `healthcheck` | 辞書の健全性チェック(**TTS前に必須**) |
| `auto-add <words...> --apply` | LLMで読み取得→登録→適用 |
| `scan --input <file> [--apply] [--with-case-variants]` | テキスト/JSONから英単語を自動抽出→登録 |
| `add <word> <yomi>` | 手動登録 |
| `check <words...>` | 登録確認 |
| `verify <words...>` | エンジンの実際の発音を確認 |
| `apply` | エンジンに辞書を適用 |
| `list` | 一覧表示 |
| `reset` | 辞書をリセット |

## グローバルオプション

| オプション | 説明 | デフォルト |
|------------|------|------------|
| `--api-base` | TTS API基本URL | http://127.0.0.1:50032 |

## チェックリスト(TTS生成前)

- [ ] `dict.js healthcheck` が成功
- [ ] TTSエンジンが起動している
- [ ] 主要な英単語(Git, GitHub等)が**大文字・小文字両方で登録済み**
- [ ] `dict.js verify <主要単語>` で発音を確認済み

## 使用例

### テキストから英単語を自動抽出→登録(scan)

```bash
# dialogue.json からスキャン → プレビュー
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js scan --input dialogue.json --dry-run

# テキスト直接指定 → 未登録単語をLLM登録 → エンジン適用
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js scan --text "Claude CodeのPlan ModeでTypeScriptを書く" --apply

# dialogue.json からスキャン → 自動登録 + 適用
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js scan --input dialogue.json --apply

# ケースバリアント(大文字・小文字・Pascal)も自動登録
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js scan --text "Claude Code" --with-case-variants --apply
# → Claude, claude, CLAUDE, Code, code, CODE を一括登録
```

#### scan オプション

| オプション | 説明 |
|-----------|------|
| `--input <file>` | 入力ファイル(JSONダイアログまたはテキスト) |
| `--text <string>` | テキスト直接入力 |
| `--dry-run` | プレビューのみ(変更なし) |
| `--apply` | 登録+エンジン適用まで実行 |
| `--with-case-variants` | ケースバリアント自動登録(lowercase, UPPERCASE, Pascal) |

### 自動登録(LLM経由・単語指定)

```bash
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js \
  auto-add Claude OpenAI ChatGPT Kubernetes --apply
```

### 手動登録

```bash
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js add "Claude" "クロード"
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js add "claude" "クロード"
node ${CLAUDE_PLUGIN_ROOT}/scripts/dict.js apply
```

### 英単語の読み取得のみ(辞書登録なし)

```bash
node ${CLAUDE_PLUGIN_ROOT}/scripts/get-english-reading.js Claude OpenAI ChatGPT
```

## よくある問題

### 大文字の単語が正しく読まれない

COEIROINKは大文字小文字を区別する。"git" と "Git" は別エントリとして両方登録が必要。

### ハイフン付き単語

`obsidian-skills` のようなハイフン付き単語は辞書マッチングが不安定。
TTS用テキスト側でカタカナに置換することを推奨。

## OpenAI TTS使用時の辞書について

OpenAI TTSは多言語対応のため、英単語の辞書登録は基本的に不要です。

特殊な読み方が必要な場合は、ttsプラグインの `instructions` パラメータで直接指示できます:

```json
{
  "instructions": "Read 'LLM' as 'エルエルエム', 'API' as 'エーピーアイ', 'Claude' as 'クロード'"
}
```

このプラグイン(tts-dict)はCOEIROINK/VOICEVOX等のローカルTTSエンジン専用です。

## 前提条件

- Node.js 18+
- COEIROINK: localhost:50032(またはVOICEVOX互換エンジン)
- LLM API: `ZAI_API_KEY` または `OPENROUTER_API_KEY`

Related Skills

prediction-markets-gina

16
from diegosouzapw/awesome-omni-skill

Search, Trade, and Automate any strategy on Polymarket with your own agent.

prediction-tracking

16
from diegosouzapw/awesome-omni-skill

Track and evaluate AI predictions over time to assess accuracy. Use when reviewing past predictions to determine if they came true, failed, or remain uncertain.

alphaear-predictor

16
from diegosouzapw/awesome-omni-skill

Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

Xlsx

16
from diegosouzapw/awesome-omni-skill

Excel file processing. USE WHEN xlsx, Excel, spreadsheet. SkillSearch('xlsx') for docs.

xlsx-official

16
from diegosouzapw/awesome-omni-skill

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, ....

xiaohongshu-cover-generator

16
from diegosouzapw/awesome-omni-skill

小红书封面AI绘图提示词生成器。将小红书文案自动转化为Nano Banana Pro/Gemini图片生成提示词,输出内嵌API调用的交互式HTML页面。触发条件:用户说"生成小红书封面"、"小红书封面提示词"、"做小红书配图"、"小红书爆款封面"或提供小红书文案并要求生成封面图时使用。

x-metrics-tracker

16
from diegosouzapw/awesome-omni-skill

Track X account metrics (followers, posts, following) with daily snapshots via browser automation. Use when you need to monitor X profile growth, capture daily analytics, or view historical follower/post trends.

x-engagement

16
from diegosouzapw/awesome-omni-skill

Auto-find and reply to people with relevant pain points when you post on X. Two rounds max (8 replies total) to stay safe from throttling.

writing-skills

16
from diegosouzapw/awesome-omni-skill

Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization

writing-agents

16
from diegosouzapw/awesome-omni-skill

Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool

write-edition

16
from diegosouzapw/awesome-omni-skill

Run the complete Cycle Pulse edition production pipeline — 6 desk agents, compile, verify, Mara audit.