跳到正文
cccskills
免费在 GitHub 公开

peon-ping-config

Adjust peon-ping sound and notification settings, including volume, active packs, and session rotation. Enable or disable sound categories and individual files, control desktop popups, and assign specific packs to working directories.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Update peon-ping configuration — volume, pack rotation, categories, active pack, and other settings. Use when user wants to change peon-ping settings like volume, enable round-robin, add packs to rotation, toggle sound categories, or adjust any config.

查看安装方法

适用场景

  • Set notification sound volume
  • Rotate sound packs in a fixed order
  • Disable selected sounds or desktop popups
  • Assign sound packs to working directories

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

peon-ping-config

Update peon-ping configuration settings.

Config location

The config file is at ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/peon-ping/config.json.

Available settings

  • volume (number, 0.0–1.0): Sound volume
  • default_pack (string): Current sound pack name (e.g. "peon", "sc_kerrigan", "glados"). Legacy key active_pack is also accepted as a fallback.
  • enabled (boolean): Master on/off switch
  • pack_rotation (array of strings): List of packs to rotate through per session. Empty [] uses default_pack only.
  • pack_rotation_mode (string): "random" (default) picks a random pack each session. "round-robin" cycles through in order. "session_override" uses explicit per-session assignments from /peon-ping-use; invalid or missing packs fall back to default_pack and the stale assignment is removed. Legacy value "agentskill" is accepted as an alias.
  • categories (object): Toggle individual CESP sound categories:
    • session.start, task.acknowledge, task.complete, task.error, input.required, resource.limit, user.spam — each a boolean
  • disabled_sounds (object): Disable specific sound files within a pack, keyed by pack name → category → array of filenames (basenames). Example:
    "disabled_sounds": {
      "peon": { "session.start": ["Hello1.wav"] }
    }
    
    If every sound in a category is listed, that category stays silent. Prefer the CLI:
    peon sounds list [pack]
    peon sounds disable <category> <file> [--pack=<name>]
    peon sounds enable  <category> <file> [--pack=<name>]
    
  • annoyed_threshold (number): How many rapid prompts trigger user.spam sounds
  • annoyed_window_seconds (number): Time window for the annoyed threshold
  • silent_window_seconds (number): Suppress task.complete sounds for tasks shorter than this many seconds
  • session_ttl_days (number, default: 7): Expire stale per-session pack assignments older than N days (when using session_override mode)
  • desktop_notifications (boolean): Toggle notification popups independently from sounds (default: true)
  • use_sound_effects_device (boolean): Route audio through macOS Sound Effects device (true) or default output via afplay (false). Only affects macOS. Default: true

How to update

  1. Read the config file using the Read tool
  2. Edit the relevant field(s) using the Edit tool
  3. Confirm the change to the user

Common Configuration Examples

Disable desktop notification popups but keep sounds

User request: "Disable desktop notifications"

Action: Set desktop_notifications: false in config

Result:

  • ✅ Sounds continue playing (voice reminders)
  • ❌ Desktop notification popups suppressed
  • ✅ Mobile notifications unaffected (separate toggle)

Alternative CLI command:

peon notifications off
# or
peon popups off

Adjust volume

User request: "Set volume to 30%"

Action: Set volume: 0.3 in config

Enable round-robin pack rotation

User request: "Enable round-robin pack rotation with peon and glados"

Action: Set:

{
  "pack_rotation": ["peon", "glados"],
  "pack_rotation_mode": "round-robin"
}

Directory pack bindings

Permanently associate a sound pack with a working directory so every session in that directory uses the right pack automatically. Uses the path_rules config key (array of { "pattern": "<glob>", "pack": "<name>" } objects).

CLI commands

# Bind a pack to the current directory
peon packs bind <pack>
# e.g. peon packs bind glados
# → bound glados to /Users/dan/Frontend

# Bind with a custom glob pattern (matches any dir with that name)
peon packs bind <pack> --pattern "*/Frontend/*"

# Auto-download a missing pack and bind it
peon packs bind <pack> --install

# Remove binding for the current directory
peon packs unbind

# Remove a specific pattern binding
peon packs unbind --pattern "*/Frontend/*"

# List all bindings (* marks rules matching current directory)
peon packs bindings

Manual config

The path_rules array in config.json can also be edited directly:

{
  "path_rules": [
    { "pattern": "/Users/dan/Frontend/*", "pack": "glados" },
    { "pattern": "*/backend/*", "pack": "sc_kerrigan" }
  ]
}

Patterns use Python fnmatch glob syntax. First matching rule wins. Path rules override default_pack and pack_rotation but are overridden by session_override assignments.

List available packs

To show available packs, run:

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create a draft PeonPing notification sound pack with a consistent theme. It generates wordless effects or spoken lines for all seven notification categories, along with configuration files, then directs you to review and approve the draft.

中文简介正在准备中。当前显示英语简介。

  • Creating a notification pack with a consistent mood
  • Drafting wordless notification effects
  • Drafting spoken notifications with one voice
PeonPing/peon-ping50842026年10月20日 更新

Record pushup and squat repetitions in Peon Trainer by telling the agent the exercise and count. It reports the updated total, plays a trainer voice line, and can check your progress after logging.

中文简介正在准备中。当前显示英语简介。

  • Logging pushups after a set
  • Recording completed squats
  • Checking progress after logging
PeonPing/peon-ping50842026年10月20日 更新

Regenerate sounds in a draft PeonPing pack based on feedback. This internal workflow revises sound prompts or speech text, preserves the pack's style and voice, renders replacement audio, and records each successful change.

中文简介正在准备中。当前显示英语简介。

  • Soften a sound based on review feedback
  • Apply a correction across an entire sound pack
  • Create a fresh variation of an existing sound
PeonPing/peon-ping50842026年10月20日 更新

Give the current Claude session a custom name that appears in PeonPing desktop notifications and the terminal tab title. Separate tabs in the same repository can have independent names, and an empty command restores automatic naming.

中文简介正在准备中。当前显示英语简介。

  • Naming sessions after their current tasks
  • Distinguishing tabs in the same repository
  • Identifying sessions from desktop notifications
PeonPing/peon-ping50842026年10月20日 更新

Pause or resume peon-ping sounds during a Claude Code session. The master switch also controls desktop and mobile notifications, while requests to change volume, sound packs, or other settings are directed to the configuration skill.

中文简介正在准备中。当前显示英语简介。

  • Mute peon-ping during a meeting
  • Resume sound notifications after a break
  • Pause sounds and notifications together
PeonPing/peon-ping50842026年10月20日 更新

Choose which installed PeonPing character voice pack plays during the current chat. The command checks that the pack exists and enables a mode that prioritizes session assignments, so the selected voice is used for that conversation.

中文简介正在准备中。当前显示英语简介。

  • Selecting GLaDOS for the current chat
  • Assigning different voices to different sessions
  • Switching to an installed character voice pack
PeonPing/peon-ping50842026年10月20日 更新

查看 PeonPing 的全部技能

报告此技能的问题