#!/bin/bash # Stop hook - Executed when Claude Code finishes responding # Purpose: Log completion of tasks # Create logs directory if it doesn't exist mkdir -p .claude/logs # Log the stop event echo "[$(date)] Claude finished responding" >> .claude/logs/session.log # Note: The actual summary generation is done by Claude in the response # This hook just logs the event for tracking purposes