Use an inqueue flow and the Set Skills action. Notice this action is a set (I want these skills) not a remove, so you'll set it with just the specialist skill.
If you don't have any other logic in your inqueue flow, use a Hold Music action, in duration mode, for however long you want to wait until changing the skills.
If you do have other logic in your flow, use a decision action to see if it's been long enough. I'd guess you want this at the top of the flow, so it checks every time it loops, but that depends on what other logic you have. This expression shows how to check if the inqueue flow has been running for over 2 minutes 44 seconds.
DateTimeDiff(GetCurrentDateTimeUtc(), Flow.StartDateTimeUtc) > MakeDuration(0, 0, 2, 44)
https://help.mypurecloud.com/articles/set-skills-action/
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------