code: def prepare_game_agent_plugin(game_agent_name):
      plugin_destination_path = f"{offshoot.config['file_paths']['plugins']}/Serpent{game_agent_name}GameAgentPlugin".replace(
          "/", os.sep
      )
  
      shutil.copytree(
          os.path.join(
              os.path.dirname(__file__),
              "templates/SerpentGameAgentPlugin".replace("/", os.sep),
          ),
          plugin_destination_path,
      )
  
      with open(f"{plugin_destination_path}/plugin.py", "r") as f:
          contents = f.read()
  
      contents = contents.replace(
          "SerpentGameAgentPlugin",
          f"Serpent{game_agent_name}GameAgentPlugin",
      )
      contents = contents.replace(
          "serpent_game_agent.py",
          f"serpent_{game_agent_name}_game_agent.py",
      )
  
      with open(f"{plugin_destination_path}/plugin.py", "w") as f:
          f.write(contents)
  
      shutil.move(
          f"{plugin_destination_path}/files/serpent_game_agent.py",
          f"{plugin_destination_path}/files/serpent_{game_agent_name}_game_agent.py",
      )
  
      with open(
          f"{plugin_destination_path}/files/serpent_{game_agent_name}_game_agent.py",
          "r",
      ) as f:
          contents = f.read()
  
      contents = contents.replace(
          "SerpentGameAgent", f"Serpent{game_agent_name}GameAgent"
      )
  
      with open(
          f"{plugin_destination_path}/files/serpent_{game_agent_name}_game_agent.py",
          "w",
      ) as f:
          f.write(contents)
  
imports: import os
  import sys
  import shutil
  import subprocess
  import shlex
  import time
  import offshoot
  from serpent.utilities import clear_terminal, display_serpent_logo, is_linux, is_windows, wait_for_crossbar
  from serpent.window_controller import WindowController
label_desc: Use image node_id 29 for calling a global function with example usage: prepare_game_agent_plugin(game_agent_name) without return types