Add SessionStart hook to install rea-agents in cloud sessions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FXVsD1DgdzZLiPuwtKzMSY
This commit is contained in:
2 files changed
+26
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Only run in Claude Code cloud sessions.
|
||||
if [ "${CLAUDE_CODE_REMOTE:-}" != "true" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Install the rea CLI (used by the reverse-engineer-anything skill) if missing.
|
||||
if ! command -v rea >/dev/null 2>&1; then
|
||||
npm install --global rea-agents
|
||||
fi
|
||||
Reference in new issue
Block a user