Borrowing it
Nothing to install: this file belongs to ayutaz/piper-plus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ayutaz/piper-plus/dev/.claude/skills/check-loanword/SKILL.mdgit 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/skills/ayutaz/piper-plus/check-loanword)<a href="https://agentmods.dev/skills/ayutaz/piper-plus/check-loanword"><img src="https://agentmods.dev/badge/skills/ayutaz/piper-plus/check-loanword/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ayutaz/piper-plus/check-loanword"><img src="https://agentmods.dev/badge/skills/ayutaz/piper-plus/check-loanword.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 109 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.1 | $0.00058 | $0.01669 |
| Opus 5.5 | $0.00023 | $0.00668 |
| Sonnet 5.5 | $0.00012 | $0.00334 |
| Haiku 4.5 | $0.00006 | $0.00167 |
Grade A, and why
check-loanword 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 14d 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ZH-EN Loanword Consistency Check
ZH-EN code-switching (Issue #384) で使う loanword 辞書 (zh_en_loanword.json) の同期チェック。Python source を 唯一の真実 とし、docs/spec/loanword-mirrors.toml の 10 runtime mirror + 8 fixture mirror が一致することを保証する。
何をチェックするか
docs/reference/zh-en-loanword/README.md の不変条件:
- 10 mirror byte-for-byte sync — Python source と以下の mirror が SHA256 一致:
- Python runtime (
src/python_run/piper_plus/phonemize/data/zh_en_loanword.json) - Rust 2 crate (
src/rust/piper-plus-g2p/data/,src/rust/piper-core/data/) - Go (
src/go/phonemize/data/zh_en_loanword.json) - C# (
src/csharp/PiperPlus.Core/Phonemize/Data/zh_en_loanword.json) - WASM (
src/wasm/g2p/data/zh_en_loanword.json) - C++ (
src/cpp/data/zh_en_loanword.json) - Kotlin Android (
android/piper-plus-g2p/src/main/assets/zh_en_loanword.json) - Swift G2P (
Sources/PiperPlusG2P/Resources/zh_en_loanword.json)
- Python runtime (
- Schema validation — Python の
_load_loanword_dataと同じ書式 ('<section>.<key>' must be list[str]) でエラーを出すこと - 8 fixture mirror sync —
tests/fixtures/g2p/zh_en_loanword_matrix.jsonと以下の mirror が一致:src/go/phonemize/testdata/src/csharp/PiperPlus.Core.Tests/Phonemize/TestData/src/cpp/tests/fixtures/src/wasm/g2p/test/fixtures/src/rust/piper-plus-g2p/tests/fixtures/,src/rust/piper-core/tests/fixtures/android/piper-plus-g2p/src/androidTest/assets/g2p_fixtures/tests/PiperPlusG2PTests/Fixtures/
- Forward-compat (YELLOW-5) — 各ランタイムの loader が
schema_version: 2未来の追加フィールドを silent ignore すること
実行ステップ
1. ローカルで sync 状態を確認
python scripts/check_loanword_consistency.py
期待: OK All 17 mirror(s) in sync across 2 group(s) で終了 (exit 0)。
2. drift 発見時は自動修復
Python source を canonical とした 一方向コピー で復元:
python scripts/check_loanword_consistency.py --diff # 差分確認 (dry-run)
python scripts/check_loanword_consistency.py --fix # 10 mirror + 8 fixture を Python source に揃える
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.
- 14d ago Changed · +4 lines · -59 tokens per session d6e9ecc87e71
- 2mo ago First seen · 110 lines · 117 tokens per session scan A c2a6dcd858b6
check-loanword is a skill published in the GitHub repository ayutaz/piper-plus (239 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,669 once invoked, about $0.0002 per session on Opus 5.5. 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 skills, from other repositories
transform-model
Add a Hugging Face or local checkpoint to TensorRT-Model-Connect as a self-contained family, or extend the family that already owns it.
compiler-port
Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…
golang-testing
Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…
aspire-integration-testing
Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies.
adk-setup
Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test run. Runs only when explicitly requested, never on its own. Use when asked to set up, bootstrap, or repair a development…