GH-AGENT-TASK(1)
π gh-agent-task(1) β ur girl's guide to agent tasks
okay so bestie, welcome to the GitHub CLI manual page for gh-agent-task. this is the whole vibe, everything u need, no gatekeeping β¨
πΈ NAME πΈ
gh-agent-task β work with agent tasks (preview) π«Ά
π SYNOPSIS π
gh agent-task <command> [flags]
π¦ DESCRIPTION π¦
so working with agent tasks in the GitHub CLI is in preview and subject to change without notice. like, it's giving beta era, main character energy but still cooking π so don't be surprised if stuff shifts under u.
β¨ AVAILABLE COMMANDS β¨
gh-agent-task-create(1)β create an agent task (preview) πgh-agent-task-list(1)β list agent tasks (preview) πgh-agent-task-view(1)β view an agent task session (preview) π
π ALIASES π
u can literally also call it:
gh agent-tasksgh agentgh agents
iykyk, pick whichever one feels right in the moment π
π₯ EXIT CODES π₯
0β successful execution, we ate and left no crumbs β¨1β error π2β command canceled, not me hitting Ctrl+C π4β authentication required π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information, bestie, don't come for me π
β EXAMPLE β
# List your most recent agent tasks
$ gh agent-task list
# Create a new agent task on the current repository
$ gh agent-task create "Improve the performance of the data processing pipeline"
# View details about agent tasks associated with a pull request
$ gh agent-task view 123
# View details about a specific agent task
$ gh agent-task view 12345abc-12345-12345-12345-12345abc
π SEE ALSO π
and that's the whole page, bestie π§ this little gem comes to u from GitHub CLI v2.102.0, dated Oct 2026 β go forth and agent-task responsibly ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms