본문으로 건너뛰기
Skillpedia
기타5.1k · #15042

peon-ping-rename

하는 일

현재 세션에 이름을 붙여 peon-ping 알림과 터미널 탭을 쉽게 구분하게 합니다. Claude Code 세션을 여러 개 동시에 실행하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Claude Code 세션을 여러 개 실행하면서 각 세션에 이름을 붙이고 싶을 때.
  • ✓알림에 분명한 세션 이름을 보여 주고 싶을 때.
  • ✓세션 이름을 자동 설정으로 되돌리고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PeonPing/peon-ping/blob/main/skills/peon-ping-rename/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 세션 이름을 Auth Refactor로 바꿔 주세요. 터미널 탭에서 찾을 수 있게요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

훅이 이 세션의 이름을 저장하고 터미널 탭 제목을 바로 바꿉니다. 이름 없이 명령을 실행하면 자동 설정으로 돌아갑니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

자주 묻는 질문

세션 이름은 얼마나 길 수 있나요?

이름은 최대 50자로 제한됩니다.

어떤 문자를 쓸 수 있나요?

글자, 숫자, 공백, 점, 하이픈, 밑줄을 쓸 수 있습니다.

이름을 바꾸는 데 모델 토큰이 사용되나요?

아니요. 스킬은 훅이 모델 토큰을 쓰지 않고 명령을 처리한다고 말합니다.

상세 정보

작성자의 원본 설명

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.

repo: PeonPing/peon-ping

인기도

GitHub 스타
5.1k
순위
#15042
라이선스
MIT
업데이트
2026. 10. 19.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬