I think the best possible fix would be to update the Agent Profile to select only a specific set of skills for the automation. That way, you can remove this skill from the profile and the automation will run normally.
Otherwise, short of changing the prompt, there isn't much we can do to prevent LLMs from getting confused.
But I would push to implement the above proposed feat/fix, as could improve performance for the automation.