Hold the smith bar and lean forward.
Keep your elbows tucked in and then flex and extend at the elbows.
Smith Machine Bodyweight Skullcrusher Exercise Guide - Triceps Workout | MuscleWiki