Skip to content

Instantly share code, notes, and snippets.

@kkaehler
kkaehler / GeminiCLI.md
Created September 25, 2025 18:14
Gemini CLI prompts

LLM Prompts and Tools

This document enumerates every large-language-model prompt and tool exposed by the Gemini CLI. Each entry includes a brief description, the source location, and the exact template or schema as it is assembled before being sent to a model. Template variables are left intact.

Instructions

Core System Prompt (getCoreSystemPrompt)

  • Purpose: Primary system-level instruction sent with every conversational session.
  • When used: Generated for each chat turn inside packages/core/src/core/client.ts before starting or continuing a session.
@kkaehler
kkaehler / README.md
Created September 25, 2025 17:55
Codex prompts.

LLM Prompts and Tools

Instructions

Base System Instructions (codex-rs/core/prompt.md)

Default system prompt provided to most model families before each turn.

You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.

LLM Prompts and Tools

Instructions

Base System Instructions (codex-rs/core/prompt.md)

Default system prompt provided to most model families before each turn.

You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.
# LLM Prompts and Tools
## Instructions
### Base System Instructions (`codex-rs/core/prompt.md`)
Default system prompt provided to most model families before each turn.
```text
You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.