Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/ayutaz/piper-plus/review-languagegit clone --depth 1 https://github.com/ayutaz/piper-plusWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ayutaz/piper-plus/review-language)<a href="https://agentmods.dev/commands/ayutaz/piper-plus/review-language"><img src="https://agentmods.dev/badge/commands/ayutaz/piper-plus/review-language.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02217 |
| Opus 5 | $0.00000 | $0.01108 |
| Sonnet 5 | $0.00000 | $0.00443 |
| Haiku 4.5 | $0.00000 | $0.00222 |
Grade A, and why
review-language scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
新言語実装レビュー
piper-plus の新言語実装を徹底的にレビューするスキルです。引数 $ARGUMENTS に言語コード (例: sv, de) を指定してください。
前提条件
- Python テストは
uv run python -m pytestで実行 - 10エージェント並列でレビュー実施
- 全プラットフォーム (Python/Rust/C++/C#/JS) を検証
レビュー手順
Step 1: 10エージェント並列レビュー
以下の10エージェントを 並列 で起動してレビューを実施:
Agent 1: Python G2P 品質
src/python/piper_train/phonemize/$ARGUMENTS.pyを読み、全G2Pルールの正確性を検証- 代表的な10単語のスポットチェック (言語固有の音韻規則に基づく)
- 例外語リストの完全性確認
- IPA シンボルの正確性 (ɡ≠g, ɧ≠ɕ 等)
Agent 2: Python 前処理・推論パス
src/python/piper_train/preprocess.py—--language $ARGUMENTSが動作するかsrc/python/piper_train/infer_onnx.py— ヘルプテキスト、_detect_dominant_languagesrc/python/piper_train/tools/prepare_multilingual_dataset.py— LANGUAGE_ID_MAPsrc/python/piper_train/phonemize/registry.py— 登録確認src/python/piper_train/phonemize/multilingual_id_map.py— LANGUAGE_PHONEMES- config.json 生成パス (phoneme_id_map, language_id_map, num_languages)
Agent 3: PUA 整合性 (全5プラットフォーム)
- Python
token_mapper.py— FIXED_PUA_MAPPING、_PUA_START - Rust
token_map.rs— FIXED_PUA_MAP、PUA カウントテスト - C++ ソース — PUA 定数定義
- C#
OpenJTalkToPiperMapping.cs— TokenToChar エントリ - 全プラットフォームで同一コードポイントを使用しているか
- 既存言語との PUA 衝突がないか
Agent 4: Rust 実装完全性
src/rust/piper-core/src/phonemize/$ARGUMENTS.rs— 全ルール実装src/rust/piper-core/src/phonemize/mod.rs— module exportsrc/rust/piper-core/src/voice.rs— ケース処理 + default_latinsrc/rust/piper-core/src/phonemize/multilingual.rs— 言語検出src/rust/piper-cli/src/main.rs— SUPPORTED_LANGUAGES- TODO/FIXME/unimplemented! の有無
Agent 5: C++ 実装完全性
src/cpp/$ARGUMENTS_phonemize.cpp/.hpp— 全ルール実装src/cpp/piper.cpp— ディスパッチ + #includesrc/cpp/language_detector.cpp/.hpp— 言語検出CMakeLists.txt— ビルド設定src/cpp/tests/CMakeLists.txt— テストターゲット- ASCII化されたダイアクリティカルマーク (ö→o 等) がないか 要注意
Agent 6: C# 実装完全性
- G2P エンジン — Python の全ルールが移植されているか
- Phonemizer ラッパー — IPhonemizer 準拠
- PUA マッピング — OpenJTalkToPiperMapping
- UnicodeLanguageDetector — 言語検出
- CLI Program.cs — ケース処理
- スタブ実装でないことを確認 (TODO/character-level fallback 検出)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 180 lines · 0 tokens per session scan A 29fece1d6f06
review-language is a command published in the GitHub repository ayutaz/piper-plus (204 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,217 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
python-compat
Check Python version compatibility with installed AI libraries and detect dependency cascades.
pina-agentic
../../.opencode/commands/pina-agentic.md.
rl-new-project
Scaffold a Python RL project — custom Gymnasium env, SB3 training script with EvalCallback + VecNormalize, Optuna tuning stub, and validation targets in a Makefile.
hypothesis
Generate hypotheses and define how to test them.
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…
azure-graph-dotnet:deploy-azure
Deploy a C# Azure Functions or Container Job project to Azure — provision infrastructure with Bicep, push image to ACR, assign Managed Identity Graph permissions, and generate or update GitHub Actions or Azure DevOps CI/CD pipelines.