The present invention provides compounds useful as inhibitors of protein kinase. The present invention also provides compositions thereof, and methods of treating Raf-mediated diseases.