跳到正文
Skillpedia
其他5.1k · #15043

peon-ping-toggle

它能做什么

它用一条命令开启或关闭 peon-ping 声音。适合工作时想暂停声音提醒的人。

适用场景

  • ✓当你想暂时静音 peon-ping 声音时。
  • ✓当你想重新开启 peon-ping 声音时。
  • ✓当你想关闭桌面弹窗但保留声音时。

技能链接

https://github.com/PeonPing/peon-ping/blob/main/skills/peon-ping-toggle/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/PeonPing/peon-ping/blob/main/skills/peon-ping-toggle/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在这次会话剩余的时间里静音 peon-ping 声音。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体为你的系统运行切换命令,该命令会打开或关闭总声音开关,并报告新的状态。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

peon-ping-toggle

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

Toggle sounds

On Unix, run the following command using the Bash tool:

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

On Windows, use the PowerShell tool:

$claudeDir = $env:CLAUDE_CONFIG_DIR
if (-not $claudeDir -or $claudeDir -eq "") {
  $claudeDir = Join-Path $HOME ".claude"
}
& (Join-Path $claudeDir "hooks/peon-ping/peon.ps1") 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

What This Toggles

This command toggles the master audio switch (enabled config). When disabled:

  • ❌ Sounds stop playing
  • ❌ Desktop notifications also stop (they require sounds to be enabled)
  • ❌ Mobile notifications also stop

For notification-only control, use /peon-ping-config to set desktop_notifications: false. This keeps sounds playing while suppressing desktop popups.

Examples

"Mute peon-ping completely" → Sets enabled: false "Just disable the popups but keep sounds" → Sets desktop_notifications: false (use /peon-ping-config instead)

Configuration changes

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

常见问题

静音也会关闭桌面通知吗?

会。关闭声音也会停止桌面和移动端通知,因为它们依赖于声音。

如何保留声音但隐藏弹窗?

使用配置技能把桌面通知设为关闭,声音仍会继续播放。

它支持 Windows 吗?

支持。该技能包含一个适用于 Windows 的 PowerShell 路径。

详情

作者的原始描述

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.

repo: PeonPing/peon-ping

热度

GitHub 星标
5.1k
排名
#15043
许可证
MIT
更新时间
2026/10/19

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能