← Files AI PsychiatryARCHIVED FILE

hooks/session-start.sh

316 Bytes · Oct 2, 2026 · 00:30 UTC

↓ Download file

#!/bin/sh
# AI-Psychiatry SessionStart hook: the always-on contract, printed from the one
# skill's reference so it has a single source.
set -u
HERE=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
CONTRACT="$HERE/../skills/all-the-medicine/references/always-on.md"
[ -f "$CONTRACT" ] && tr -d '\r' < "$CONTRACT"
exit 0

SHA-256: e333bd9f96f412b58ca82bb227149fd36600ab54f75c8d88b03d482d4490f870