What are the best exercises after carpal tunnel surgery?

Keep fingers moving. After any hand surgery it's important to keep the fingers moving. Make full fists and extend the fingers many times throughout the day. After a week or two start moving the wrist.
Just keep moving. No special excerises are necessary. Just be sure you keep your fingers and wrists moving to prevent stiffness.