@@ -83,10 +83,12 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
8383 scope (in your home directory, available everywhere).
8484
8585 A wide range of AI coding agents are supported, including GitHub
86- Copilot, Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Amp,
87- Goose, Junie, OpenCode, Windsurf, and many more.
88- Run %[1]sgh skill install --help%[1]s to see the full list of
89- supported %[1]s--agent%[1]s values, or select interactively.
86+ Copilot, Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Amp,
87+ Goose, Junie, OpenCode, Windsurf, and many more.
88+
89+ Supported %[1]s--agent%[1]s values:
90+
91+ %[2]s
9092
9193 Use %[1]s--agent%[1]s and %[1]s--scope%[1]s to control placement, or %[1]s--dir%[1]s for a
9294 custom directory. The default scope is %[1]sproject%[1]s, and the default
@@ -131,7 +133,7 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
131133 When run interactively, the command prompts for any missing arguments.
132134 When run non-interactively, %[1]srepository%[1]s and a skill name are
133135 required.
134- ` , "`" ),
136+ ` , "`" , registry . AgentHelpList () ),
135137 Example : heredoc .Doc (`
136138 # Interactive: choose repo, skill, and agent
137139 $ gh skill install
@@ -196,7 +198,8 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
196198 },
197199 }
198200
199- cmdutil .StringEnumFlag (cmd , & opts .Agent , "agent" , "" , "" , registry .AgentIDs (), "Target agent" )
201+ agentFlag := cmdutil .StringEnumFlag (cmd , & opts .Agent , "agent" , "" , "" , registry .AgentIDs (), "Target agent" )
202+ agentFlag .Usage = "Target agent (see supported values above)"
200203 cmdutil .StringEnumFlag (cmd , & opts .Scope , "scope" , "" , "project" , []string {"project" , "user" }, "Installation scope" )
201204 cmd .Flags ().StringVar (& opts .Pin , "pin" , "" , "Pin to a specific git tag or commit SHA" )
202205 cmd .Flags ().StringVar (& opts .Dir , "dir" , "" , "Install to a custom directory (overrides --agent and --scope)" )
0 commit comments