TLDW logo

Secret Command: How to get PLAN mode on Gemini CLI

By Curiosa Felicitas

Summary

## Key takeaways - **Gemini CLI's Hidden Plan Mode**: On Gemini CLI you still have the ability to have a custom plan mode like on Google Cloud that would help you plan ahead upstream your tasks and projects. [00:01], [00:23] - **Trigger with Simple 'plan' Command**: I have my command which is plan that would basically trigger the plan mode uh immediately. [00:30], [00:49] - **AI Asks Smart Clarifying Questions**: Gemini CLI in this case will basically go through the planning mode uh itself and here you can see the additional uh uh insights it will request to clarify the project uh approach. [01:25], [02:02] - **Generates Full plan.md File**: Gemini in this case is basically providing the full uh plan before even moving into the execution and consolidating everything into what we call a plan mode uh MD file. [02:43], [03:21] - **Detailed Plan Breakdown Example**: Setup and the foundation using the Xcode um platform, language, UI, etc. Core features: guided meditation, mood tracking, gamification, user experience flow with five subtasks, technical implementation details like audio, data storage, notifications. [03:26], [04:30]

Topics Covered

  • CLI Plan Mode Preempts Execution
  • Generates Comprehensive Plan Markdown
  • Breaks Down Features and UX Flows

Full Transcript

Okay. Did you know that on Gemini CLI you still have the ability to have a custom plan mode like on Google Cloud

that would help you plan ahead upstream your um tasks and projects. So in this

case I'll show you um the uh approach but let's start with the example itself.

So I have my command which is plan that would basically trigger the plan mode uh immediately and I'm share the request

and let's say we are building a specific uh mobile app

that is a meditation assistant that helps you track every day your mood but also um help you add specific specific

times of the day and uh uh specific windows to take the time to reflect and

to pause and to cool down. Um

so this is the uh the prompt or the request and once we trigger it with that plan mode activated

instead of starting executing on it um Gemini CLI in this case will basically go through the planning mode uh itself

and here you can the additional uh uh insights it will request to clarify the the

project uh approach and from there uh move forward. So let's say we're going

move forward. So let's say we're going to answer these for the target audience. We're going to focus on the millennials first. And in

terms of the core features, we're going to keep this uh minimalists uh features with a focus on um guidance,

mood tracking, and uh progress uh gamification.

And the app is focused for the time being on the um iOS system. And there is no monetization planned for the time being.

There you go.

we launch the uh updated uh input and then Gemini in this case is

basically providing the full uh plan before even moving into the

execution and consolidating everything into what we call a plan mode

uh MD. D file that you can see here the

uh MD. D file that you can see here the plan MD that will be reviewed we will review it and then apply any

particular changes etc. But first let's review the the plan itself.

Okay. So based on your requirements create a plan for an iOS meditation. And

here's the proposed plan. So you give it a name. We have the setup and the

a name. We have the setup and the foundation using the Xcode um platform,

language, UI, etc. And on the structure, you can start seeing already the files and the project attributes. In terms of core features, we have a good breakdown

based on what we shared, guided meditation, mood tracking, gamification, and then something that we didn't uh specifically request which is the

user experience flow and in this case five subtasks on uh on that and the technical implementation details, audio,

data storage, notification and everything else is written in the file with the legend for the

checklist that is part of the uh uh initial prompt for the planning.

Where are the check-in milestones for review, confirmation, and validation?

And some of the examples on how um to use that the rational for the choices and all of these are embedded into uh

the plan um itself. Um hope this is helpful and I'll uh follow up next.

Loading...

Loading video analysis...