Назад към всички

claude-get-session-info

// Shared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables.

$ git log --oneline --stat
stars:2
forks:0
updated:December 2, 2025
SKILL.mdreadonly
SKILL.md Frontmatter
nameclaude-get-session-info
descriptionShared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables.

Get Session Info

Shared utility for session management - not directly invoked.

Usage (source in scripts):

source .claude/skills/claude-get-session-info/scripts/get-session-info.sh
echo "Claude PID: $CLAUDE_PID"
echo "Session ID: $SESSION_ID"

Exports CLAUDE_PID and SESSION_ID environment variables.