The definition of smart cookie is:
(noun) a smart person
A: How is your son doing in school?
B: Great! He is getting great marks! He is a smart cookie! How is your son?
A: Terrible! I am jealous!
My new dog is a real smart cookie. She knows how to sit, stay, beg and bark all night.
smart cookie is often used in an affectionate way
From the Blogs: