A rabbit just scratched on my hand with its nails. But there's no wound. I didn't bleed. My skin also didn't break a bit. Do I need vaccines? Thank you

Infection unlikely. If the scratch did not penetrate through the skin and there was no bleeding you are more than likely not going to develop an infection. Keep a close eye on the area over the next day or so and report back to your doctor if there are any signs of an infection.
No skin injury. What vaccine would you be referring to since you have no injury?