Something went wrong. Try again.
Claude Code plugins for better development
Something went wrong. Try again.
1234567891011121314151617181920212223#!/usr/bin/env bash# SessionStart hook for orual-plan-and-execute plugin
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"PLUGIN_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
using_plan_content=$(cat "${PLUGIN_ROOT}/skills/using-plan-and-execute/SKILL.md" 2>&1 || echo "Error reading using-plan-and-execute skill")
using_plan_escaped=$(echo "$using_plan_content" | sed 's/\\/\\\\/g' | sed 's/"/\\"/g' | awk '{printf "%s\\n", $0}')
cat <<EOF{ "hookSpecificOutput": { "hookEventName": "SessionStart", "additionalContext": "<EXTREMELY_IMPORTANT>\n**The content below is from skills/using-plan-and-execute/SKILL.md - your introduction to using skills:**\n\n${using_plan_escaped}\n</EXTREMELY_IMPORTANT>" }}EOF
exit 0