peon-ping-rename

Solid

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.

AI & Automation 4,785 stars 346 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
90
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash echo "$CLAUDE_SESSION_ID" ``` ### 2. Write name to state ```bash 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. ## Rese...

Details

Author
PeonPing
Repository
PeonPing/peon-ping
Created
3 months ago
Last Updated
2 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

peon-ping-toggle

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.

4,785 Updated 2 days ago
PeonPing
AI & Automation Featured

peon-ping-use

Set which voice pack (character voice) plays for the current chat session. Automatically enables session_override rotation mode if not already set. Use when user wants a specific character voice like GLaDOS, Peon, or Kerrigan for this conversation.

4,785 Updated 2 days ago
PeonPing
AI & Automation Solid

peon-ping-config

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.

4,785 Updated 2 days ago
PeonPing
AI & Automation Listed

headsup-resync-tab

Force-resync the iTerm2 tab color for a Claude Code session whose hook chain has fallen out of sync. Use when a tab's color is visibly stuck on a stale state (e.g., still orange after the user replied, still white after Claude started processing) — that means Claude Code's automatic PreToolUse/PostToolUse/UserPromptSubmit/etc. events aren't reaching the hook. This skill bypasses the automatic path entirely and writes the desired state directly via `~/.claude/hooks/headsup-resync.sh`, then fires the Tier 2 one-shot Python (and the daemon picks it up too) for triple-redundancy. Two invocation forms — current tab, or any tab by UUID.

0 Updated 2 days ago
wasulajr
AI & Automation Listed

headsup-label

Set or change the per-iTerm2-session label — both the window/tab title AND the badge (watermark) for THIS iTerm2 pane only. Use when the user wants a custom name for this specific tab ("call this tab 'deploy debugging'", "label this session 'prod work'", "set the badge to 'frontend'"). Title and badge always share the same string in this skill (per Steve's design — banner and watermark should match). Edits ~/.claude/hooks/headsup-status.d/<session>.conf which is LOCAL ONLY (gitignored, not pushed). For changing colors instead, use /headsup-colors.

0 Updated 2 days ago
wasulajr