wily

Definition

Cunning or tricky in a clever way, often to achieve a goal.

Example

"The wily raccoon found a way to open the trash can."