HeadsUpAI

Gemini CLI 0.26 Adds Hooks and Skills for Agent Customization

· Updated

Gemini CLI, Google's open-source agentic coding CLI, ships Hooks and Agent Skills in v0.26. Hooks are scripts that execute at lifecycle events like BeforeTool or AfterAgent. They work as middleware: intercept any agent action to validate outputs, inject data, enforce policies, or trigger automations. Full control over the agentic loop without modifying source code.

Agent Skills are markdown files in .gemini/skills/ that package domain expertise, procedural workflows, and task-specific resources. The agent activates them only when your prompt needs that knowledge, keeping context focused instead of loading everything upfront.

The release also adds /rewind for rolling back to previous checkpoints when something goes wrong, plus persistent permission policies. Update with npm i -g @google/gemini-cli@latest.

SP
Srinath Padmanabhan
@SriThreePO
X

Here is Gemini CLI’s January 26th weekly update for v0.26.0 - 🧩Skills: Introducing Agent Skills that allow you to extend Gemini CLI with specialized expertise, procedural workflows, and task-specific resources. (vid, pr by NTaylorMullen) - Introduced the built-in skill-creator for generating tools - Added security consent prompts to ensure safer, easier management of agent capabilities. - 🪝Hooks: Now officially enabled by default, hooks provide a way to fully control and customize the agentic loop. (gif, work by Edilmo and abhipatel12) https://t.co/zF0eqckTsr - 🎉Gemini CLI Extensions: - Supabase https://t.co/NGGwuEQCd2 - Connect AI assistants directly to Supabase projects to manage tables, run migrations, and query data seamlessly without context switching. - ⏪New /rewind Command: Implemented the /rewind slash command, including a confirmation dialog and a new viewer component for navigating past states. If something goes wrong you now have the ability to revert both history and changes to a previous point in time. - Persistent "Always Allow" Policies: Users can now save "Always Allow" decisions for tool executions, with granular control over specific shell commands and multi-cloud platform tools. - Folder Trust: - Opening Gemini CLI in a folder for the first time will now surface a trust dialog - Enable or disable checking folder trust holistically with folderTrust in your settings.json. Discussion Post: https://t.co/cdnWW3lyVW 🧵

19retweets147likes
View on X

Share this update