code: def _prepare_skills(self):
      skills = []
      if self.chat_task.agent_id is None:
          return skills
      # Check available skills and translate into a tool.
      agent = self.chat_task.session.agents_controller.get_agent_by_id(
          self.chat_task.agent_id,
          project_name=self.chat_task.project_name,
      )
      if agent is None:
          return skills
      for skill in agent.skills:
          skills.append(skill)
      return skills
  
file_path: mindsdb/mindsdb/interfaces/chatbot/chatbot_executor.py
imports: from .model_executor import ModelExecutor
  from .types import Function, BotException
label_desc: Use image node_id 4 for calling the BotExecutor obj's underlying member method code with example usage: obj._prepare_skills() and returns: skills, skills, skills