From 44653c5aeb1790d8d48f445ccbdbd88e7d68fc4e Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:18:10 -0600 Subject: [PATCH] Add example for --custom-agent usage Added a usage example to the help text demonstrating how to create a task with a custom agent using the --custom-agent flag. --- pkg/cmd/agent-task/create/create.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cmd/agent-task/create/create.go b/pkg/cmd/agent-task/create/create.go index 59b053545..a9176e966 100644 --- a/pkg/cmd/agent-task/create/create.go +++ b/pkg/cmd/agent-task/create/create.go @@ -104,6 +104,9 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co # Select a different base branch for the PR $ gh agent-task create "fix errors" --base branch + + # Create a task using the custom agent defined in '.github/agents/my-agent.md' + $ gh agent-task create "build me a new app" --custom-agent my-agent `), }