AgentSkillsPool.java and TaskSkillsPool.java refactored