Learn to set up your first Cursor hook to run a custom script and capture AI agent context before a file is read.