Skip to content

Commit 876d0bd

Browse files
aitools install: document --agents auto-detection behavior
Pin down the contract for non-interactive callers (CI, agents) by documenting that an unset --agents flag means "install for every detected agent" outside a TTY. The selected list is already logged to stderr via PrintInstallingFor before the install runs, so callers can verify what was picked. Co-authored-by: Isaac
1 parent 37b1a30 commit 876d0bd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

aitools/cmd/install.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ and symlinked to each agent to avoid duplication.
6868
6969
Use --skills name1,name2 to install specific skills.
7070
71+
Agent selection:
72+
--agents <name>[,<name>...] Install only for the named agents.
73+
(unset, interactive) Multi-select prompt over detected agents.
74+
(unset, non-interactive) Install for every detected agent.
75+
76+
The list of agents the command will act on is always logged to stderr before
77+
the install runs, so callers can verify what was picked.
78+
7179
Supported agents: Claude Code, Cursor, Codex CLI, OpenCode, GitHub Copilot, Antigravity`,
7280
Args: cobra.NoArgs,
7381
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)