跳到正文
cccskills
免费在 GitHub 公开

peon-ping-rename

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.

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

原文查看原文说明

Rename the current Claude session for peon-ping notifications and terminal tab title. Use when user wants to give this session a custom name like "/peon-ping-rename Auth Refactor". Call with no argument to reset to auto-detect.

查看安装方法

适用场景

  • Naming sessions after their current tasks
  • Distinguishing tabs in the same repository
  • Identifying sessions from desktop notifications
  • Restoring automatic session naming

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

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

peon-ping-rename

Give the current session a custom name shown in desktop notification titles and the terminal tab title.

How it works

When the user types /peon-ping-rename <name>, a UserPromptSubmit hook intercepts the command before it reaches the model:

  1. Extracts the session ID and name
  2. Writes session_names[session_id] = name to .state.json
  3. Immediately updates the terminal tab title via ANSI escape sequence
  4. Returns confirmation (zero tokens used)

On every subsequent hook event, peon.sh reads session_names[session_id] as the highest-priority project name. Multiple tabs in the same repo each get independent names.

Usage

/peon-ping-rename Auth Refactor
/peon-ping-rename API: payments
/peon-ping-rename          ← reset to auto-detect

Names are capped at 50 characters. Allowed: letters, numbers, spaces, dots, hyphens, underscores.

Manual fallback (if hook fails)

1. Get the session ID

echo "$CLAUDE_SESSION_ID"

2. Write name to state

python3 -c "
import json, os, time
state_path = os.path.expanduser('~/.claude/hooks/peon-ping/.state.json')
try:
    state = json.load(open(state_path))
except:
    state = {}
state.setdefault('session_names', {})['SESSION_ID_HERE'] = 'My Session Name'
json.dump(state, open(state_path, 'w'), indent=2)
"

3. Trigger a hook event to refresh the tab title

Submit any prompt — peon.sh will pick up the new name on the next UserPromptSubmit or Stop event.

Reset

/peon-ping-rename

Or remove the session ID from session_names in .state.json directly.

Priority

/peon-ping-rename > CLAUDE_SESSION_NAME env var > .peon-label file > notification_title_script > project_name_map > notification_title_override > git repo name > folder name

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

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.

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

  • Set notification sound volume
  • Rotate sound packs in a fixed order
  • Disable selected sounds or desktop popups
PeonPing/peon-ping50882026年10月20日 更新

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-ping50882026年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-ping50882026年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-ping50882026年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-ping50882026年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-ping50882026年10月20日 更新

查看 PeonPing 的全部技能

报告此技能的问题