gemini-cli - 💡(How to fix) Fix Unable to silence subagents discovery and enabling prompt [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26168Fetched 2026-04-30 06:45:06
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

Code Example

> /about
# paste output here
CLI Version                                                                                 0.40.0Git Commit                                                                                  3d5bdc052                                                                                                                                                                   │ 
Model                                                                                       gemini-3-flash-preview                                                                                                                                                      │ 
Sandbox                                                                                     no sandbox                                                                                                                                                                  │ 
OS                                                                                          linux                                                                                                                                                                       │ 
Auth Method                                                                                 compute-default-credentials                                                                                                                                                 │ 
Tier                                                                                        Gemini Code AssistGCP Project                                                                                 cloudshell-gca                                                                                                                                                              │ 
IDE Client                                                                                  Cloud Shel
RAW_BUFFERClick to expand / collapse

What happened?

<img width="1307" height="540" alt="Image" src="https://github.com/user-attachments/assets/ea63a2bc-79a2-4b06-9ae4-fd4d2c547f60" />

I have a bunch of subagents that I am testing. However everytime that I run any command to enable / disable subagents, I am continuously getting a prompt to enable certain subagents.

I don't want these subagents enabled. However the only options I get is to enable, or to ask again next time. I want to tell it to never ask again.

What did you expect to happen?

The subagent enablement prompt is spammy. I need it to stop. I don't want to enable any subagents.

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
│ CLI Version                                                                                 0.40.0                                                                                                                                                                      │ 
│ Git Commit                                                                                  3d5bdc052                                                                                                                                                                   │ 
│ Model                                                                                       gemini-3-flash-preview                                                                                                                                                      │ 
│ Sandbox                                                                                     no sandbox                                                                                                                                                                  │ 
│ OS                                                                                          linux                                                                                                                                                                       │ 
│ Auth Method                                                                                 compute-default-credentials                                                                                                                                                 │ 
│ Tier                                                                                        Gemini Code Assist                                                                                                                                                          │ 
│ GCP Project                                                                                 cloudshell-gca                                                                                                                                                              │ 
│ IDE Client                                                                                  Cloud Shel
</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

Disable the subagent enablement prompt by finding a configuration option or command to suppress the prompt permanently.

Guidance

  • Investigate the /about command output for any configuration or setting related to subagent enablement prompts.
  • Look for a command or option to disable the prompt, such as a flag or a setting to never ask again.
  • Check the documentation or help section of the gemini CLI for any information on customizing or disabling subagent enablement prompts.
  • If no direct option is available, consider reaching out to the development team or support for further assistance.

Notes

The provided information does not include a clear solution, and the exact steps to disable the prompt are unclear. Further investigation into the gemini CLI and its configuration options is necessary.

Recommendation

Apply workaround: Investigate and utilize any available configuration options or commands to disable the subagent enablement prompt, as a direct solution is not immediately apparent from the provided information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix Unable to silence subagents discovery and enabling prompt [1 participants]