#!/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 <\n**The content below is from skills/using-plan-and-execute/SKILL.md - your introduction to using skills:**\n\n${using_plan_escaped}\n" } } EOF exit 0