Command Guide

  • Project-level Actions
  • Task CRUD
  • Dependencies
  • View
  • Styling
  • Scheduling
  • System

Project-level Actions

generate_project

Create a full project (tasks + links) from a description.

Prompt example: Generate a project called Website Relaunch with Design and QA phases.
clear_all

Clear all tasks, links, markers, and layers from the Gantt.

Prompt example: Clear all data in the Gantt Chart.

Task CRUD

add_task Create a new task. Prompt example: Create task "Design mock-ups" starting 2025-09-01 duration 7.
update_task Modify an existing task. Prompt example: Set task "Design mock-ups" text to "Design mockups".
delete_task Remove a task by ID. Prompt example: Delete task "Design mock-ups".
split_task Split one task into subtasks. Prompt example: Split Design into Wireframes, Mock-ups, Assets and link them FS.

Dependencies

add_link Link two tasks (e.g. finish-to-start). Prompt example: Link task "Design" to task "Web Development" finish-to-start.
delete_link Remove a dependency. Prompt example: Delete link between tasks "Design" and "Web Development".

View

set_skin Set chart theme: terrace, dark, material, contrast-white, contrast-black, skyblue, meadow, broadway. Prompt example: Set the material skin to the Gantt Chart.
zoom Change timeline zoom (hour, day, week, month, quarter, year, fit). Prompt example: Zoom to month view.
set_scales Customize timeline scales and highlight weekends. Prompt example: I want two scales: months on top, days on the bottom, and highlight weekends. Days should be in the format %d %D and months - %F %Y.
hide_weekdays Hide specific weekdays (0=Sunday ... 6=Saturday). Prompt example: Hide weekends (0 and 6).
set_task_tooltip Enable or disable the tooltip for the tasks Prompt example: Disable tooltips for the tasks
add_marker Add a marker to the timeline area (e.g. highlight a date). Prompt example: Add the timeline marker with the label "Today" and today's date

Styling

style_task Change task bar color. Prompt example: Make task "Design Review" red.
set_text_color Change text color inside task bar. Prompt example: Set task "Design Review" text color to blue.
set_progress_color Change task progress bar color. Prompt example: Change progress color of task "Design Review" to green.
style_link Change dependency link color. Prompt example: Set the color of the link between the 3rd and 4th tasks to orange.
set_link_width Change link thickness. Prompt example: Set link width to 4.
show_links Show or hide all dependency links. Prompt example: Hide links.

Scheduling

autoschedule Run auto-scheduling for project. Prompt example: Autoschedule from task 2.

System

undo Undo last action. Prompt example: Undo last change.
export_png Export chart as PNG. Prompt example: Export chart to gantt.png.
export_to_pdf Export chart as PDF. Prompt example: Export chart to report.pdf.

AI Helper for DHTMLX Gantt.

Your AI assistant for managing DHTMLX Gantt from text.

View on GitHub