Comparison
Apothem vs raw Gemini CLI config
Hand-maintaining Gemini CLI's GEMINI.md rules file versus rendering it from Apothem's shared profile.
Gemini CLI reads a single GEMINI.md rules file. Apothem's gemini-cli adapter
renders it from the shared profile. This page contrasts hand-maintaining that
config against managing it with Apothem.
Effort comparison
| Task | Raw hand-config | Apothem-managed |
|---|---|---|
| Author rules | Hand-edit one GEMINI.md | Rendered: shared rules embedded into GEMINI.md |
| Keep rules aligned with other harnesses | Manual, per tool | Automatic on apothem update |
| Install / remove the config | Write and delete GEMINI.md by hand | apothem install / apothem uninstall |
| Verify the config is correct | Manual inspection | apothem verify --harness gemini-cli |
What Apothem manages
The gemini-cli adapter embeds the shared rules into a single GEMINI.md. Gemini
CLI has no PreToolUse hook, so guardrail intent is expressed in the rule prose
rather than a tool-call interception point. Every change to the shared rules
re-renders GEMINI.md on the next apothem update.
Migration path
- Run
apothem profile initto create the shared profile if you have not yet. - Move the rules from your existing
GEMINI.mdinto the shared corpus. - Run
apothem install --harness gemini-clito render and writeGEMINI.md. - Run
apothem verify --harness gemini-clito confirm the config landed. - Use
apothem update --harness gemini-clifor every later change.