重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
peon-ping-config by peonping/peon-ping
npx skills add https://github.com/peonping/peon-ping --skill peon-ping-config更新 peon-ping 配置设置。
配置文件位于 ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/peon-ping/config.json。
"peon"、"sc_kerrigan"、"glados")。也接受旧键名 active_pack 作为备选。[] 表示仅使用 default_pack。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
"random"(默认)每个会话随机选择一个音效包。"round-robin" 按顺序循环。"session_override" 使用来自 /peon-ping-use 的显式会话分配;无效或缺失的音效包将回退到 default_pack,并且陈旧的分配会被移除。接受旧值 "agentskill" 作为别名。session.start、task.acknowledge、task.complete、task.error、input.required、resource.limit、user.spam — 每个都是布尔值true)true)或通过 afplay 使用默认输出(false)。仅影响 macOS。默认: true用户请求: "禁用桌面通知"
操作: 在配置中设置 desktop_notifications: false
结果:
替代 CLI 命令:
peon notifications off
# 或
peon popups off
用户请求: "将音量设置为 30%"
操作: 在配置中设置 volume: 0.3
用户请求: "启用 peon 和 glados 的 round-robin 音效包轮换"
操作: 设置:
{
"pack_rotation": ["peon", "glados"],
"pack_rotation_mode": "round-robin"
}
将音效包永久关联到工作目录,以便该目录中的每个会话自动使用正确的音效包。使用 path_rules 配置键({ "pattern": "<glob>", "pack": "<name>" } 对象数组)。
# 将音效包绑定到当前目录
peon packs bind <pack>
# 例如 peon packs bind glados
# → 将 glados 绑定到 /Users/dan/Frontend
# 使用自定义 glob 模式绑定(匹配任何具有该名称的目录)
peon packs bind <pack> --pattern "*/Frontend/*"
# 自动下载缺失的音效包并绑定
peon packs bind <pack> --install
# 移除当前目录的绑定
peon packs unbind
# 移除特定的模式绑定
peon packs unbind --pattern "*/Frontend/*"
# 列出所有绑定(* 标记匹配当前目录的规则)
peon packs bindings
也可以直接编辑 config.json 中的 path_rules 数组:
{
"path_rules": [
{ "pattern": "/Users/dan/Frontend/*", "pack": "glados" },
{ "pattern": "*/backend/*", "pack": "sc_kerrigan" }
]
}
模式使用 Python fnmatch glob 语法。第一个匹配的规则生效。路径规则会覆盖 default_pack 和 pack_rotation,但会被 session_override 分配覆盖。
要显示可用音效包,请运行:
bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/hooks/peon-ping/peon.sh packs list
每周安装量
63
仓库
GitHub 星标
4.1K
首次出现
2026年2月14日
安全审计
安装于
opencode62
gemini-cli61
claude-code61
github-copilot60
codex60
amp60
Update peon-ping configuration settings.
The config file is at ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/peon-ping/config.json.
"peon", "sc_kerrigan", "glados"). Legacy key active_pack is also accepted as a fallback.[] uses default_pack only."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.session.start, task.acknowledge, task.complete, task.error, input.required, resource.limit, user.spam — each a booleantrue)true) or default output via afplay (false). Only affects macOS. Default: trueUser request: "Disable desktop notifications"
Action: Set desktop_notifications: false in config
Result:
Alternative CLI command:
peon notifications off
# or
peon popups off
User request: "Set volume to 30%"
Action: Set volume: 0.3 in config
User request: "Enable round-robin pack rotation with peon and glados"
Action: Set:
{
"pack_rotation": ["peon", "glados"],
"pack_rotation_mode": "round-robin"
}
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).
# 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
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.
To show available packs, run:
bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/hooks/peon-ping/peon.sh packs list
Weekly Installs
63
Repository
GitHub Stars
4.1K
First Seen
Feb 14, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode62
gemini-cli61
claude-code61
github-copilot60
codex60
amp60
Lark CLI妙记查询工具:快速获取飞书妙记元信息(标题、封面、时长)
45,100 周安装