Question: how to tell if someone is after your job?
Answer: Coworker finds a new way of doing your tasks that is more efficient. If a coworker is finding new-and-improved ways of doing your tasks, or coming up with great ideas that relate to your position and telling your manager about it, they might be trying to get your job by undermining you.