Creating or modifying a Loop Genie task

You can create a new or modify an existing Loop Genie task by defining prompts and selecting tools to automate DevOps workflows.

Before you begin

You must have completed the following tasks:
  • Created a loop

Procedure

  1. Select Control from the What would you like to do today? drop-down in the loop.
    The repository associated with the loop is displayed.
  2. Navigate to your TeamSpace and then select the task repository named as <loop_name>-Tasks.
    When a loop is created, a repository is automatically created to store task definitions as markdown files (.md). For example: <loop_name>~TASKS. You can use this repository to add new task files or modify existing ones.
    Note:
    As this is a standard source control repository, you can clone it locally, make changes using your preferred editor, and push updates, or edit files directly through the UI.
  3. Create a new task file or modify an existing one in the repository.
  4. Define or update the task definition file with the required structure and details. Each task file contains YAML front matter that defines how the task appears and behaves.
    Table 1. YAML front matter for Loop Genie Task
    Field Required Description
    Name Mandatory Specifies the name of the task.
    Description Mandatory Provides a brief description of the task.
    Icon Optional Specifies the icon for the task. Provide a relative path (for example, icons/build.svg) with respect to the current markdown file location. If not provided, a default icon is used.
    Categories Optional Defines the category of the task. If not specified, the task is displayed under Others.
    Tools Optional Lists the tools that the task can use. Tool names must match exactly. If not provided, all available tools based on the configured MCP are used.
    Starters Optional Defines conversational prompts for common actions. Each starter must include a label (displayed in the UI) and a prompt (sent to Loop Genie). The prompt is shown as a tooltip.
    System prompt Mandatory Defines the behavior and instructions that control how the task executes.
  5. Save and commit your changes to the repository.
  6. Click the Loop Genie button.
  7. Navigate to the Tasks tab.

Results

You have created a new or modified an existing Loop Genie task. This task appears in the Tasks tab.