---
title: "Research code with Gemini before using Claude"
description: "Research code with Gemini CLI"
canonical: "https://ian.is/gemini-code-research"
language: "en"
---

[Ian Nuttall](https://ian.is/)

# Research code with Gemini before using Claude

June 27, 2025

Claude Code pro tip:

Ask it to use Gemini CLI with its 1M context window and free plan in non-interactive mode to research your codebase, find bugs, and build a plan for Claude to action

Prompt and link below:

![Image from the original X post](https://ian.is/media/tweets/1938695506013601802/1938695506013601802/d5d4938d307d7b22b0acf66f15b856e464255aa7da3b453d0441c34e84bb839e.jpg)

Add this (or a modified version) to your CLAUDE​.md and tell Claude to use gemini manually or it will do it on its own as needed.

Prompt on Reddit:

[https://www.reddit.com/r/ChatGPTCoding/s/Vwf4Tfw008](https://www.reddit.com/r/ChatGPTCoding/s/Vwf4Tfw008)

## Newsletter

Join 9.2k subscribers
