piper-plus: Skill for Claude Code

.claude/skills/commit/SKILL.md

commit is a skill for Claude Code from ayutaz/piper-plus. It costs 53 tokens per session (1,881 once invoked), scanned A, original, MIT.

A guided process for reviewing and creating commits in the piper-plus codebase, including checking the branch, changed files, and commit rules.

In plain words
What is it for?
Use it before committing changes to inspect the current state, review the diff, check whether documentation should be updated, and follow repository-specific rules.
Why use it?
It reduces the risk of committing on the wrong branch or accidentally including secrets such as environment files, keys, or certificates.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

This is ayutaz/piper-plus's own configuration. It tells Claude Code how to work on piper-plus itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything piper-plus configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ayutaz/piper-plus/dev/.claude/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ayutaz/piper-plus

Made for: Claude Code.

Wrote 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.

agentmods badge for commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayutaz/piper-plus/commit/github.svg)](https://agentmods.dev/skills/ayutaz/piper-plus/commit)
Your own site
<a href="https://agentmods.dev/skills/ayutaz/piper-plus/commit"><img src="https://agentmods.dev/badge/skills/ayutaz/piper-plus/commit/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.

agentmods 80×15 button for commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayutaz/piper-plus/commit"><img src="https://agentmods.dev/badge/skills/ayutaz/piper-plus/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01881
Opus 5.5 $0.00021 $0.00752
Sonnet 5.5 $0.00011 $0.00376
Haiku 4.5 $0.00005 $0.00188

Measured 3d ago against content hash 3172bef14279, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit 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 3d 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.

.claude/skills/commit/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

piper-plus 向けコミット

CLAUDE.md のコミット規約に従い、ステージ済みまたは指定ファイルを安全にコミットします。

現在の状態

  • ブランチ: !git rev-parse --abbrev-ref HEAD
  • 直近のコミット: !git log -3 --oneline
  • ステージ状態: !git status --short
  • 差分サマリ: !git diff --stat HEAD

手順

💡 大規模変更の場合: /sync-docs を先に呼び出してドキュメント整合性を確認することを推奨します。このスキルはステップ 2.5 でその判定を行います。

1. ブランチ確認

現在のブランチを確認し、dev の場合はユーザーに確認を取る (CLAUDE.md: 通常はフィーチャーブランチで作業)。

2. 変更内容の把握

  • git status --short で変更ファイルを確認
  • git diff で内容を簡単にレビュー
  • .env, .env.*, credentials*, *.pem, *.key 等の秘密情報が含まれていないか 必ず チェック
  • 含まれていたら 即中止 してユーザーに報告

2.5. ドキュメント同期チェック

コード変更のサイズと種類に応じて、ドキュメント更新が必要か判定します。

判定基準

以下のいずれかに該当する場合、/sync-docs skill を呼び出すことを強く推奨:

  • git diff --stat の変更行数が 100 行以上
  • src/python_run/piper_plus/ / src/python/g2p/ / src/rust/piper-core/ / src/cpp/ / src/csharp/ / src/go/ / src/wasm/openjtalk-web/src/ に新規ファイルが追加されている
  • 公開 API (関数シグネチャ、クラス、メソッド、HTTP エンドポイント) に変更がある
  • piper_train / timing / voice / phonemize / config などのコアモジュールが変更されている
  • 新規テストファイル (tests/test_*.py, test/js/test-*.js, etc.) が 3 つ以上追加されている
アクション
  1. 大規模/コア変更 → ユーザーに /sync-docs の実行を促す:

    このコミットには X 件のコア変更が含まれます。/sync-docs でドキュメント整合性を監査してからコミットしますか?

  2. 小規模変更 (< 100 行、ドキュメントのみ、テストのみ、バグ修正) → スキップ可

  3. ユーザーが「スキップ」を選択 → 警告のみ表示して続行

このステップは informational です。ユーザーが明示的にスキップを選べば、コミット自体はブロックしません。

3. ファイルのステージング

  • ユーザーが既にステージしている場合はそのまま使用
  • 必要なら関連ファイルだけを git add <file1> <file2> で個別追加
  • git add -A / git add . は禁止 (誤って秘密情報をステージするリスク)

4. コミットメッセージ生成

$ARGUMENTS がある場合はそれを優先。なければ変更内容から自動生成:

Prefix 規約
Prefix 用途
feat(<scope>): 新機能 (scope = python/rust/cpp/cs/go/wasm/ci/docs)
fix(<scope>): バグ修正
refactor(<scope>): リファクタ (機能変更なし)
docs: ドキュメントのみ
test: テスト追加・修正
chore(<scope>): 依存/雑務
perf(<scope>): パフォーマンス改善
ci: / ci(<scope>): CI workflow / gate の変更
build(<scope>): ビルド設定 (CMake / Cargo / packaging 等)
style(<scope>): フォーマットのみ (挙動変更なし)
revert: 過去コミットの取り消し

Read the full file on GitHub · 149 lines

Changes

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.

  1. 3d ago Changed · +6 lines 3172bef14279
  2. 2mo ago First seen · 143 lines · 53 tokens per session scan A ce9c664697cf

Subscribe to this mod's changes

commit is a skill published in the GitHub repository ayutaz/piper-plus (239 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,881 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.