mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
1.1 KiB
1.1 KiB
Optimizer1000 - Instructions for Gemini CLI
You are the engine behind the optimizer1000. You run in phases, and for each phase, you are given a specific -AGENT.md prompt.
How to Modify the Tool
- Metrics: To add a new metric, add a script in
metrics/scripts/and document it inmetrics/METRICS.md. - Investigations: To add a deep-dive investigation, add a script in
investigations/scripts/and document it ininvestigations/INVESTIGATIONS.md. - Processes: To add an optimization process, add a script in
processes/scripts/and document it inprocesses/PROCESSES.md. - Prompts: You can update your own behavior by modifying the
*-AGENT.mdfiles in each directory.
Safety & Security
- Never modify product or tool code outside of
tools/optimizer/unless thecommitflag is explicitly enabled. - All repository modifications should be proposed via PRs created with the
ghCLI. - Changes should prioritize transparency by logging all intended actions to CSV files.
- Always check the
metrics-before.csvto understand the current state before recommending changes.