<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Greg Baugues</title>
    <description>The latest articles on Forem by Greg Baugues (@greggyb).</description>
    <link>https://forem.com/greggyb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F28270%2Feca1feb1-8104-45a8-a3b2-368c4e91fdfe.jpg</url>
      <title>Forem: Greg Baugues</title>
      <link>https://forem.com/greggyb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/greggyb"/>
    <language>en</language>
    <item>
      <title>Unlocking Gemini CLI with Skills, Hooks &amp; Plan Mode</title>
      <dc:creator>Greg Baugues</dc:creator>
      <pubDate>Fri, 20 Mar 2026 13:00:00 +0000</pubDate>
      <link>https://forem.com/googleai/unlocking-gemini-cli-with-skills-hooks-plan-mode-2bgf</link>
      <guid>https://forem.com/googleai/unlocking-gemini-cli-with-skills-hooks-plan-mode-2bgf</guid>
      <description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=ZXYuiEMm21s" rel="noopener noreferrer"&gt;In Unlocking Gemini CLI with Skills, Hooks &amp;amp; Plan Mode&lt;/a&gt;, we moved past the basics and into the "power user" features of &lt;a href="https://t.co/Ly0c8zpKnr" rel="noopener noreferrer"&gt;Gemini CLI&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;I was joined by Jack Wotherspoon from the Gemini CLI team to show how developers can exert more control over their AI agents and handle complex, multi-step projects with confidence.&lt;br&gt;
From a 20-minute app build to the introduction of a "read-only" research mode, this episode was packed with tools designed to bridge the gap between AI autonomy and developer intent.&lt;/p&gt;
&lt;h2&gt;
  
  
  The 20-minute build: From idea to deployment
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/X1hyhOf0mkD"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;




&lt;p&gt; &lt;/p&gt;

&lt;p&gt;To set the stage, Jack showcased Memory Wall, a digital bulletin board built using React, Three.js, and Firebase. The kicker? It took only 20 minutes to go from a blank slate to a live-deployed application.&lt;/p&gt;

&lt;p&gt;This served as the playground for the day's deep dives:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Deterministic control with hooks
&lt;/h2&gt;

&lt;p&gt;One of the biggest hurdles with AI agents is their non-deterministic nature. &lt;a href="https://goo.gle/Gemini-Cli-Hooks" rel="noopener noreferrer"&gt;Hooks&lt;/a&gt; change that. They are scripts that run at specific lifecycle points—like at session start or before a tool call.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/JfX6yDNTMKY"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;ul&gt;
&lt;li&gt;The "dev server" hook: Jack demonstrated a hook that checks if a local dev server is running on startup. If not, Gemini CLI alerts the user and offers to start it.&lt;/li&gt;
&lt;li&gt;Safety first: You can use hooks to run linters or "security guards" that prevent the AI from writing messy code or deleting sensitive files.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Pro tip: Use the new Background Tasks feature (Control + B) to keep your dev servers running in the terminal without blocking your conversation with Gemini.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h2&gt;
  
  
  2. "Expert Hats": These specialized skills help to refine the behavior of these tools
&lt;/h2&gt;

&lt;p&gt;If you’ve ever worried about "context bloat"—where an AI gets confused by too much information—skills are your solution. Jack described these as "library books on a shelf."&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/oGcpod2SJaj"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;




&lt;p&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Progressive disclosure:&lt;/strong&gt; Instead of loading every best practice into every prompt, Skills load specialized knowledge (like Three.js expertise or documentation style guides) only when they are triggered&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The skill creator:&lt;/strong&gt; Gemini CLI now has a built-in skill to help you build skills. Just ask: "Create a docs-writer skill for this project," and the CLI will walk you through a setup interview.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. The "Ask User" tool
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/qxqrxO8etQw"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;p&gt;Gone are the days of the CLI just guessing what you want. With the new &lt;strong&gt;Ask User&lt;/strong&gt; tool, Gemini CLI can pause and present interactive dialogues, multiple-choice questions, and yes/no prompts. This ensures the agent is aligned with your vision before it touches a single line of code.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Look before you leap with Plan Mode (preview)
&lt;/h2&gt;

&lt;p&gt;Perhaps the most anticipated feature is Plan Mode, currently in preview. It transforms Gemini CLI into a read-only researcher.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/WA2F0NqGgwh"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Research first:&lt;/strong&gt; In Plan Mode, the agent explores your codebase and external docs to create a structured "battle plan."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User approval:&lt;/strong&gt; It presents this plan to you for feedback. Only once you give the "green light" does it switch to execution mode to start editing files.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Ready to dive deeper?
&lt;/h2&gt;

&lt;p&gt;Watch: Missed the live demo? &lt;a href="https://www.youtube.com/watch?v=ZXYuiEMm21s" rel="noopener noreferrer"&gt;Catch the full replay&lt;/a&gt; here.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Learn:&lt;/strong&gt; Take the free &lt;a href="https://t.co/N82rRy1bPk" rel="noopener noreferrer"&gt;DeepLearning.ai&lt;/a&gt; course to get hands-on and learn more.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contribute:&lt;/strong&gt; Gemini CLI is open-source! Check out the "Help Wanted" labels on &lt;a href="https://geminicli.com/docs/contributing/" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>gemini</category>
      <category>ai</category>
      <category>cli</category>
    </item>
    <item>
      <title>Getting Started with Gemini CLI</title>
      <dc:creator>Greg Baugues</dc:creator>
      <pubDate>Wed, 11 Mar 2026 17:45:44 +0000</pubDate>
      <link>https://forem.com/googleai/getting-started-with-gemini-cli-17nm</link>
      <guid>https://forem.com/googleai/getting-started-with-gemini-cli-17nm</guid>
      <description>&lt;p&gt;For Google Cloud's &lt;a href="https://www.youtube.com/@googlecloudtech/streams" rel="noopener noreferrer"&gt;new weekly livestream series&lt;/a&gt;, we started with something every developer and knowledge worker is asking about right now: Generative AI, specifically for the command line.&lt;/p&gt;

&lt;p&gt;While &lt;a href="https://gemini.google.com/" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt; is great for chatting, bringing that experience into your terminal is a complete productivity game-changer. As host Stephanie Wong noted, the terminal isn't just for "hacker types," it's the fastest way to get things done without the layers of a browser or constant context switching.&lt;/p&gt;

&lt;p&gt;In this episode, we were joined by Denise Kwan to break down the Gemini CLI stack and demonstrate how to turn your command line into a personal executive assistant.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://goo.gle/Install-Gemini-CLI" class="crayons-btn crayons-btn--primary" rel="noopener noreferrer"&gt;Click here to install Gemini CLI&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Here are the highlights, demos, and takeaways from Episode 1:&lt;/p&gt;

&lt;h2&gt;
  
  
  Stop alt-tabbing: Why the CLI?
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/Aayr7NwUP7f"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;p&gt;The term "CLI" stands for Command Line Interface, and for developers, it represents the shortest path between an idea and an execution. Denise explained that by moving Gemini into the terminal, you remove the "heavy" layers of web applications. Instead of right-clicking through folders or uploading files one by one to a browser, you can interact with your entire local environment using natural language.&lt;/p&gt;


&lt;h2&gt;
  
  
  From zero to first prompt in 2 minutes
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/oLD4NGjtgPp"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;p&gt;If you think setting up AI tooling is a weekend project, think again. Denise demonstrated that you can go from a fresh machine to a live prompt before your coffee gets cold. &lt;/p&gt;

&lt;p&gt;By using npm and Node.js, the installation is a simple copy-paste job. Once installed, just type Gemini to launch.&lt;/p&gt;


&lt;h2&gt;
  
  
  Research at scale: Parallel search
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/gzoslDOikGE"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;




&lt;p&gt;This is the "a-ha!" moment for anyone doing market research or planning. Unlike the standard web interface that processes queries sequentially, Gemini CLI can run Google searches in parallel.&lt;/p&gt;

&lt;p&gt;Whether you are comparing the latest electronics or doing competitive analysis for a product launch, the CLI fetches the "latest and greatest" from the live web simultaneously, allowing you to walk away and come back to a finished report.&lt;/p&gt;




&lt;h2&gt;
  
  
  The "Universal Plug": Understanding MCP
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/k1m1Nv3BinW"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 &lt;br&gt;
How does an AI agent talk to your local files, your databases, or your Google Drive? Enter MCP (Model Context Protocol). Denise described this as the "universal power adapter" for AI.&lt;br&gt;
Instead of building custom integrations for every single tool, MCP provides a standardized way for Gemini to safely communicate with external systems. On top of that, Gemini CLI Extensions package these protocols with custom commands to make the agent even more reliable.


&lt;h2&gt;
  
  
  Demo: Vibe coding Tic-Tac-Toe app
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/WUONTK0jB5l"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;br&gt;
 

&lt;p&gt;We’ve all heard the buzzword, but Denise showed us what "vibe coding" actually looks like.&lt;/p&gt;

&lt;p&gt;Taking a design spec from a Google Doc and a mockup image generated in AI Studio, she asked Gemini CLI to build a functional Tic-Tac-Toe web app from scratch. Because Gemini CLI is multimodal, she simply dragged and dropped the image into the terminal. The agent didn't just write the code—it identified its own errors during implementation and corrected them autonomously.&lt;/p&gt;
&lt;h2&gt;
  
  
  The "Morning Briefing"
&lt;/h2&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://share.descript.com/embed/vnrRskrQr4a"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;




&lt;p&gt;Why should a non-developer care about Gemini CLI? Host Greg Baugues shared his secret weapon: the Morning Briefing.&lt;/p&gt;

&lt;p&gt;By using the &lt;a href="https://geminicli.com/extensions/?name=gemini-cli-extensionsworkspace" rel="noopener noreferrer"&gt;Google Workspace extension for Gemini CLI&lt;/a&gt;, he runs a custom command every morning that analyzes his pings, unread emails, and meeting notes from the previous day. It then cross-references his calendar to remind him of his highest-priority tasks. It’s a way to load your "personal context" so you can start your day focused on what matters.&lt;/p&gt;




&lt;h2&gt;
  
  
  Just get started!
&lt;/h2&gt;

&lt;p&gt;To wrap up the episode, Denise challenged everyone to move past the "intimidation factor" of the terminal. The gap between a "what if" moment and a shipped product is now just a single prompt.&lt;/p&gt;

&lt;p&gt;Don't just take our word for it: Gemini CLI has a free tier. &lt;a href="https://goo.gle/Install-Gemini-CLI" rel="noopener noreferrer"&gt;You can install it&lt;/a&gt;, check the Terms of Service for your own peace of mind, and start vibe coding your own projects today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Missed the episode?&lt;/strong&gt; You can watch the full replay on-demand here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Want to learn more?&lt;/strong&gt; Join this short course to learn how to build real-world applications from the command line using Gemini CLI. &lt;/p&gt;

</description>
      <category>gemini</category>
      <category>cli</category>
      <category>ai</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
