Sly as a fox

To be smart and clever.

The storeowner is as sly as a fox and you can never make a good deal with him.