This sounds like a muscle spasm from how you're describing the pain (intermittent, yet occurs all day). What do you mean the "top" of your wrist? Do you mean opposite your palm (this is called the dorsum of your wrist)? There are several tendons which insert at this point, which could be causing your problem.