一键导入
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.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Shared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check bash script syntax without executing. Use before committing bash scripts or when verifying syntax correctness.
Return to normal stop behavior. Use PROACTIVELY after completing all tasks in continuous work mode, when work is committed and tests pass, or when reaching natural stopping point. User can invoke with /claude-allow-stop.
Enable continuous work mode. Use PROACTIVELY when user says "keep working", "don't stop", "finish everything", "complete all tasks". Automatically continues until work is complete. User can invoke with /claude-do-not-stop [reason].
Start fresh with cleared history after task completion. Use PROACTIVELY when user says "done"/"finished", all tasks complete, or starting new unrelated work. Clears all history.
Compact context at natural breakpoints to free tokens and continue working. Use PROACTIVELY at phase boundaries, after commits, or when token usage >150k. Better than random auto-compact. Supports custom compaction prompts.
Quick restart to reload configuration changes (skills, settings, hooks, MCP services). Use PROACTIVELY after modifying .claude/ files. Preserves conversation history.
| name | claude-get-session-info |
| description | Shared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables. |
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.