Skip to content
Discussion options

You must be logged in to vote

To permanently set a local system prompt alias, you need to add it to your configuration file located at ~/.geminicli/config.toml or your project level .gemini/config.toml.

Under the prompts block, you can map an arbitrary name to either an inline string or a path pointing to a markdown file containing the system instructions. This ensures that every time you initialize the CLI with that flag, the instructions are dynamically loaded into the context window.

It makes structuring reusable workflows significantly faster since you only have to specify the alias name as an argument.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aniruddhaadak80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant