Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Shared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables.
.claude/skills/majiayu000-claude-get-session-info/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-16 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 91% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -65% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -42% | 0% |
Shared utility for session management - not directly invoked.
Usage (source in scripts):
bashsource .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.
Other measured skills in the registry, with their headline benchmark lift.