Skip to content
Development
Hook

Hooks

What oh-my-antigravity runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
oh-my-antigravity
20311 skills14 agents2 hooks
Install
$ npx -y skills add Joonghyun-Lee-Frieren/oh-my-antigravity --agent claude-code

Ships with oh-my-antigravity. Installing the plugin gets these hooks.

What fires, and when

BeforeModel

  • node "${extensionPath}/hooks/scripts/hook-bootstrap.js" "${extensionPath}/hooks/scripts/before-model-banner.js"

AfterAgent

  • node "${extensionPath}/hooks/scripts/hook-bootstrap.js" "${extensionPath}/hooks/scripts/learn.js"
Read hooks/hooks.json
Ships withoh-my-antigravity

Antigravity CLI: Gemini CLI will be replaced by Antigravity CLI on June 18th. If you previously installed oh-my-gemini-cli in Gemini CLI, Antigravity CLI will ask whether to import plugins during installation. Check that option to bring your plugin over.

Get the whole plugin