Skip to content

Commit 67dced2

Browse files
authored
Enhance gemini.html with warnings and documentation links q
Added warnings and links for token caching and system prompt override.
1 parent e7c62ed commit 67dced2

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

pages/ai/gemini.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ <h2>General stuff</h2>
3232
<h2>Cli</h2>
3333
<script type="editor" data-lang="sh">
3434

35+
WARNING;
36+
There is this thing called "token caching" https://geminicli.com/docs/cli/token-caching/
37+
Apparently it seems to be good idea to login to gemini cli using Gemini API Key to have that
38+
39+
.geminiignore https://geminicli.com/docs/cli/gemini-ignore/#how-to-use-geminiignore
40+
3541
NODE_OPTIONS= gemini
3642

3743
# cheatsheet skills: https://geminicli.com/docs/cli/cli-reference/#skills-management
@@ -53,13 +59,36 @@ <h2>Cli</h2>
5359
/find-skills
5460
/skills list
5561

62+
# commands: https://geminicli.com/docs/cli/custom-commands/
63+
{{args}} - ingest arguments
64+
!{grep -r {{args}} .} - run command
65+
@{...} - reference file
66+
67+
5668
# auto memory https://geminicli.com/docs/cli/auto-memory/#how-to-enable-auto-memory
5769
touch .gemini/settings.json
5870
# to check if enabled
5971
/memory inbox
6072
# from: https://geminicli.com/docs/cli/auto-memory/#how-to-review-extracted-items
6173

74+
# elemetry https://geminicli.com/docs/cli/telemetry/
75+
# .gemini/.env https://geminicli.com/docs/cli/system-prompt/#how-to-enable
76+
77+
# System Prompt Override (GEMINI_SYSTEM_MD) https://geminicli.com/docs/cli/system-prompt/#how-to-enable
78+
GEMINI_WRITE_SYSTEM_MD=1 gemini
79+
# will create .gemini/system.md
80+
6281
# common
82+
/stats
83+
/model - switch to different model https://geminicli.com/docs/cli/model/
84+
/rewind - rewind to previous point of conversation and revert file changes https://geminicli.com/docs/cli/rewind/
85+
# also you can press ESC twice
86+
/settings https://geminicli.com/docs/cli/settings/
87+
and look for "Terminal Notification Method" and set it to "bell"
88+
disable "Enable Plan Mode"
89+
disable "Plan Model Routing"
90+
disable "Auto Theme Switching"
91+
enable "Show Thoughts in Title"
6392
gemini -r - resume where I left off https://geminicli.com/docs/cli/tutorials/session-management/#scenario-resume-the-last-session
6493
/resume - or do it from within gemini
6594
/exit --delete - remove session when exit https://geminicli.com/docs/cli/tutorials/session-management/#scenario-delete-session-on-exit
@@ -68,7 +97,10 @@ <h2>Cli</h2>
6897
/resume resume decision-point
6998

7099
/clear - start new session
71-
GEMINI.md locations: https://geminicli.com/docs/cli/tutorials/memory-management/#scenario-using-the-hierarchy
100+
GEMINI.md locations:
101+
https://geminicli.com/docs/cli/tutorials/memory-management/#scenario-using-the-hierarchy
102+
https://geminicli.com/docs/cli/gemini-md/
103+
# INTERESTING: JIT: Just-in-time (JIT) context files: https://geminicli.com/docs/cli/gemini-md/#:~:text=Just%2Din%2Dtime%20(JIT)%20context%20files%3A
72104
/memory show - to see what is loaded
73105
/memory reload - to reload GEMINI.md https://geminicli.com/docs/cli/tutorials/memory-management/#scenario-refresh-context
74106

0 commit comments

Comments
 (0)