Gemini Prompts Guide: 7 Templates That Use the 1M Token Context
How to write Gemini prompts that exploit the 1M token window — for codebases, long PDFs, meeting transcripts and Google Workspace.
Nirmal Rabari
AI Trainer · Cyber Security Educator
Gemini's superpower is its 1M+ token context window and tight Google Workspace integration. The best Gemini prompts feed it a lot of data — entire codebases, hour-long meeting transcripts, full PDFs — and ask one sharp question.
When to choose Gemini over ChatGPT or Claude
- You need to analyze a long document, video, or codebase in one shot.
- You're inside Gmail, Docs, Sheets, or Meet and want context-aware help.
- You want grounding in fresh Google Search results without leaving the chat.
1. The "entire codebase" prompt
I'm uploading our full repo (zip).
1) Map the architecture in a tree diagram with 1-line purpose per folder.
2) Identify the 3 files most worth refactoring and why.
3) Suggest one architectural change that would 10x maintainability.2. Long PDF research prompt
Read the attached 80-page report.
Return: TL;DR (150 words), 10 strongest claims with page numbers,
3 claims I should fact-check, and 5 quotes I could use in a presentation.3. Meeting recording → action plan
Transcript of a 60-min meeting attached.
Give me: decisions, owners, deadlines, unresolved threads,
and a draft follow-up email to the client.4. Gmail triage (inside Gemini for Workspace)
Scan my last 7 days of email.
Group into: needs reply today, FYI, can be archived.
For "needs reply today", draft a 2-line response in my voice.5. Sheets formula + chart prompt
Here is my sales sheet. Add a column "Quarter" derived from the date.
Build a pivot of revenue by Quarter x Region.
Recommend the best chart and write the formula to populate the helper column.6. Grounded "search the web" prompt
Using Google Search, find the 5 most recent (2026) sources on {topic}.
Summarize each in 2 sentences with the link.
Then write a 300-word brief that cites them inline.7. Image + spec prompt
I'm uploading a screenshot of a competitor's dashboard.
Reverse-engineer the information hierarchy.
Propose a v2 design brief: layout, components, copy tone, must-have metrics.Gemini-specific tips
- Don't waste the context window — feed real source material, not summaries.
- When grounded search is on, ask for citations explicitly.
- Use Gems (custom Gemini agents) for recurring workflows.
- For Workspace tasks, write the prompt as if you're delegating to a junior PM.
If your work lives inside Google's ecosystem, Gemini quietly removes more friction than any other model. Pair it with ChatGPT for ideation and Claude for long-form writing and you cover 95% of real work.
Want this delivered live to your team?
I run corporate AI workshops, college sessions and executive briefings across India, the UAE, the UK and the US. Get a tailored agenda for your team.
Book a training session