Go to work to learn and contribute. If you are doing that, it will always be interesting, you will always be growing, and you will always have value. Gladly accept new challenges and you will become the person who can do it all.
Periodically rewrite your resume for yourself and see what it says to you - what you want more of and less of.
In a new job, accept those first few invitations to lunch or happy hour. If you decline them, for whatever reason, they will stop, and you may find yourself an inadvertent outsider.
In every job I've ever had, there has been someone who found a reason to dislike me or feel threatened by me. Some people are just like that. Don't engage and they'll be out of the picture sooner than you'd think.