Skip to main content

Gemini

Gemini CLI searches for GEMINI.md files as context. The slash target writes .gemini/commands/engram.toml so /engram <args> becomes a project custom command in Gemini CLI.

Engram also treats gemini as the advertised target for Antigravity 2.0, Antigravity CLI, and Antigravity IDE because current Google docs still tie Antigravity context and skills to Gemini-compatible locations. The hidden antigravity and antigravity-cli target names remain explicit compatibility paths, but they are not shown in engram link list, help, completion, or all.

Install

engram link gemini

Files written

FilePurpose
GEMINI.mdProject context bootstrap
.gemini/commands/engram.toml/engram slash adapter
.gemini/settings.jsonSessionStart and BeforeAgent hooks
Gemini MCP configMCP registration

Global install

engram link --global gemini

Writes ~/.gemini/GEMINI.md, ~/.gemini/skills/engram/SKILL.md, and the Gemini MCP config file.

Runtime-first target

Gemini is a runtime-first target. GEMINI.md contains short bootstrap instructions that rely on MCP tools and hooks for detailed protocol; the Agent Skill file carries the full write/approval workflow.

Hook behavior

Gemini supports startup and prompt-time hookSpecificOutput.additionalContext injection via SessionStart and BeforeAgent events.

Antigravity compatibility

For hooks, gemini is also the public Antigravity fallback. The hidden antigravity and antigravity-cli hook targets normalize to Gemini hook behavior and paths until Google publishes stable primary Antigravity hook/config documentation.

Next steps