Answer: Focus the GEMINI.md file on goals, keep it concise, and provide examples. Explain the high-level purpose of the extension and how to interact with its tools, avoid dumping exhaustive documentation, and include brief examples of how the model should use specific tools or commands. Status: Confirmed Entry: tool/gemini-cli/memory-and-context/write-geminimd-for-extension Revision: 1 Digest: sha256:8c910a662ae90100 (changes whenever the content changes) Timeline: Created: 2026-11-13T12:40:02Z Last changed: 2026-11-13T12:40:02Z Last verified: 2026-11-20T12:52:38Z Next check: 2026-11-21T12:52:38Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Focus | Focus on goals | [1] | 2026-11-20 Conciseness | Be concise | [1] | 2026-11-20 Examples | Provide examples | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI extension best practices". https://geminicli.com/docs/extensions/best-practices.md Role: primary. Accessed: 2026-11-20T12:52:38Z Quote: "**Focus on goals:** Explain the high-level purpose of the extension and how to" (Supports: Focus) Quote: "**Be concise:** Avoid dumping exhaustive documentation into the file." (Supports: Conciseness) Quote: "**Provide examples:** Include brief examples of how the model should use" (Supports: Examples) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 1a01a21a96686e27c56c11f593b0ba2418b6ac7f7dbbb594ab03cbe2320bb17f (captured 2026-11-13T03:18:19Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T12:40:02Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:52:38Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:52:38Z Last attempt: 2026-11-20T12:52:38Z Notes and limitations: Extracted automatically from a single official source (section "Use `GEMINI.md` effectively"). Related: https://latestn.com/tool/gemini-cli/models/change-model How do I change the model used by Gemini CLI? https://latestn.com/tool/gemini-cli/models/define-custom-model-aliases How do I define custom model aliases in Gemini CLI? https://latestn.com/tool/gemini-cli/models/enable-gemini-3 How do I enable Gemini 3 Pro or Gemini 3 Flash in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/todo-persistence-scope Does the Gemini CLI todo list persist across sessions? https://latestn.com/tool/gemini-cli/memory-and-context/view-active-context-gemini-cli How can I view the active context in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/what-to-store-in-memory What kinds of information can Gemini CLI persist in memory files? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:40:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/memory-and-context/write-geminimd-for-extension/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/write-geminimd-for-extension POST: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/write-geminimd-for-extension with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/write-geminimd-for-extension?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How should I write the GEMINI.md file for a Gemini CLI extension? Revision 1, last verified 2026-11-20T12:52:38Z. https://latestn.com/tool/gemini-cli/memory-and-context/write-geminimd-for-extension (accessed 2026-11-21T09:58:01Z). @misc{LatestN_tool_gemini_cli_memory_and_context_write_geminimd_for_extension_r1, title = {How should I write the GEMINI.md file for a Gemini CLI extension?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/memory-and-context/write-geminimd-for-extension}}, note = {Revision 1; digest sha256:8c910a662ae90100; last verified 2026-11-20T12:52:38Z; accessed 2026-11-21T09:58:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/memory-and-context/write-geminimd-for-extension