Skip to content

Commit bdbeda1

Browse files
committed
Replace Gemini CLI with Antigravity in install paths
- Switch ~/.gemini/GEMINI.md → ~/.gemini/AGENTS.md (Antigravity v1.20.3+ cross-tool rules file) - Antigravity replaces the deprecating Gemini CLI; AGENTS.md is the supported cross-tool location - Updates: install.sh write+verify, README verify block, data/agent-locations.md table, install loop, verify loop, per-agent notes - Historical bench/research/philosophy docs left untouched (they describe what was actually tested)
1 parent 60dbec4 commit bdbeda1

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ For chat apps or web UIs, paste the file into custom instructions, project instr
4747
The install script prints this automatically, but here is the manual check:
4848

4949
```bash
50-
for p in ~/.claude/CLAUDE.md ~/.gemini/GEMINI.md ~/.codex/AGENTS.md \
50+
for p in ~/.claude/CLAUDE.md ~/.gemini/AGENTS.md ~/.codex/AGENTS.md \
5151
~/AGENTS.md ~/.config/opencode/AGENTS.md \
5252
~/.factory/AGENTS.md ~/.pi/agent/AGENTS.md; do
5353
[ -f "$p" ] && grep -q "^# TLDR" "$p" && echo "$p" || echo "$p"

data/agent-locations.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Where to drop `TLDR.md` (or `TLDR.blunt.md`) for each supported coding-agent CLI
99
| # | Agent | File path | Mode |
1010
|---|---|---|---|
1111
| 1 | claude (Claude Code) | `~/.claude/CLAUDE.md` | full overwrite |
12-
| 2 | gemini (Google Gemini CLI) | `~/.gemini/GEMINI.md` | full overwrite |
12+
| 2 | antigravity (Google Antigravity IDE/CLI) | `~/.gemini/AGENTS.md` | full overwrite |
1313
| 3 | codex (OpenAI Codex CLI) | `~/.codex/AGENTS.md` | full overwrite |
1414
| 4 | agent (Cursor Agent CLI) | `~/AGENTS.md` | full overwrite |
1515
| 5 | opencode (SST opencode) | `~/.config/opencode/AGENTS.md` | full overwrite |
@@ -59,7 +59,7 @@ TLDR_URL=https://raw.githubusercontent.com/jqbit/TLDR.md/main/TLDR.blunt.md
5959
# (uses $TLDR_URL from above; default to TLDR.md if unset)
6060
: ${TLDR_URL:=https://raw.githubusercontent.com/jqbit/TLDR.md/main/TLDR.md}
6161

62-
for d in ~/.claude/CLAUDE.md ~/.gemini/GEMINI.md ~/.codex/AGENTS.md \
62+
for d in ~/.claude/CLAUDE.md ~/.gemini/AGENTS.md ~/.codex/AGENTS.md \
6363
~/AGENTS.md ~/.config/opencode/AGENTS.md \
6464
~/.factory/AGENTS.md ~/.pi/agent/AGENTS.md; do
6565
mkdir -p "$(dirname "$d")" && curl -fsSL "$TLDR_URL" -o "$d"
@@ -77,10 +77,11 @@ curl -fsSL "$TLDR_URL" -o ~/.hermes/SOUL.md
7777

7878
## Per-agent notes
7979

80-
### claude / gemini / droid / pi
80+
### claude / antigravity / droid / pi
8181

8282
The TLDR.md marker appears at column 1 of the file. These agents read their global instruction file at session start and apply it to every turn. No flags needed.
8383

84+
- **antigravity** (Google's agent-first IDE/CLI) reads `~/.gemini/AGENTS.md` since v1.20.3 (Mar 2026) as the cross-tool rules file. It replaces the soon-to-be-deprecated Gemini CLI, which used `~/.gemini/GEMINI.md`. If both files exist, Antigravity-specific `GEMINI.md` overrides `AGENTS.md`; we install only `AGENTS.md` for clean cross-tool behaviour.
8485
- **droid** runs as `droid exec --auto medium "<prompt>"` for non-interactive mode. The `--auto` flag bypasses droid's permission prompts (which would otherwise hang in headless mode).
8586

8687
### Cursor Agent
@@ -109,7 +110,7 @@ Then `cursor-agent -p "your prompt"` will produce TLDR.md-compliant output.
109110
After deploying, sanity-check that every file carries the TLDR prompt:
110111

111112
```bash
112-
for p in ~/.claude/CLAUDE.md ~/.gemini/GEMINI.md ~/.codex/AGENTS.md \
113+
for p in ~/.claude/CLAUDE.md ~/.gemini/AGENTS.md ~/.codex/AGENTS.md \
113114
~/AGENTS.md ~/.config/opencode/AGENTS.md \
114115
~/.factory/AGENTS.md ~/.pi/agent/AGENTS.md; do
115116
[ -f "$p" ] && grep -q "^# TLDR" "$p" && echo "$p" || echo "$p"

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ write_standard_path() {
111111

112112
install_standard_locations() {
113113
write_standard_path "$HOME/.claude/CLAUDE.md"
114-
write_standard_path "$HOME/.gemini/GEMINI.md"
114+
write_standard_path "$HOME/.gemini/AGENTS.md"
115115
write_standard_path "$HOME/.codex/AGENTS.md"
116116
write_standard_path "$HOME/AGENTS.md"
117117
write_standard_path "$HOME/.config/opencode/AGENTS.md"
@@ -221,7 +221,7 @@ fi
221221

222222
printf '\nVerification:\n'
223223
verify_path "$HOME/.claude/CLAUDE.md"
224-
verify_path "$HOME/.gemini/GEMINI.md"
224+
verify_path "$HOME/.gemini/AGENTS.md"
225225
verify_path "$HOME/.codex/AGENTS.md"
226226
verify_path "$HOME/AGENTS.md"
227227
verify_path "$HOME/.config/opencode/AGENTS.md"

0 commit comments

Comments
 (0)