Chuyển đến nội dung
Skillpedia
Khác5.1k · #15040

peon-ping-config

Skill này làm gì

Skill này chỉnh sửa tệp cấu hình peon-ping để thay đổi âm lượng, bộ âm thanh đang dùng, luân phiên bộ và các nhóm âm thanh. Skill dành cho người dùng thông báo âm thanh peon-ping với Claude Code.

Khi nào nên dùng

  • ✓Khi bạn muốn thay đổi âm lượng âm thanh của peon-ping.
  • ✓Khi bạn muốn peon-ping luân phiên qua nhiều bộ âm thanh.
  • ✓Khi bạn muốn bật hoặc tắt một số nhóm âm thanh nhất định.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/PeonPing/peon-ping/blob/main/skills/peon-ping-config/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giảm âm lượng peon-ping xuống 30 phần trăm và luân phiên giữa bộ peon và glados.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent mở tệp cấu hình peon-ping và chỉ thay đổi các cài đặt bạn nêu, giữ nguyên phần còn lại.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Tệp cấu hình peon-ping được lưu ở đâu?

Trong tệp config.json bên trong thư mục hook của peon-ping, nằm trong thư mục cấu hình Claude của bạn.

Các chế độ luân phiên khác nhau thế nào?

Random chọn một bộ mỗi phiên, round-robin luân phiên theo thứ tự, còn session override dùng các bộ bạn gán cho từng phiên.

Tôi có thể ẩn cửa sổ thông báo trên màn hình nhưng vẫn giữ âm thanh không?

Có. Skill nói rằng nên đặt thông báo trên màn hình thành tắt, để âm thanh vẫn phát.

Chi tiết

Mô tả gốc của tác giả

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.

repo: PeonPing/peon-ping

Độ phổ biến

Sao GitHub
5.1k
Vị trí xếp hạng
#15040
Giấy phép
MIT
Cập nhật
19/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự