AgentSkillsCN

peon-ping-toggle

开启或关闭peon-ping的声音通知功能。当用户希望在Claude Code会话期间静音、取消静音、暂停或恢复peon的声音时使用。同时支持音量、包轮转、分类等配置的变更——任何peon-ping的相关设置均可轻松调整。

SKILL.md
--- frontmatter
name: peon-ping-toggle
description: Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.
user_invocable: true

peon-ping-toggle

Toggle peon-ping sounds on or off. Also handles any peon-ping configuration changes.

Toggle sounds

Run the following command using the Bash tool:

bash
bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/hooks/peon-ping/peon.sh toggle

Report the output to the user. The command will print either:

  • peon-ping: sounds paused — sounds are now muted
  • peon-ping: sounds resumed — sounds are now active

Configuration changes

For any other peon-ping setting changes (volume, pack rotation, categories, active pack, etc.), use the peon-ping-config skill.