Hooks
What antigravity runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add yuting0624/antigravity-for-claude-code --agent claude-codeShips with antigravity. Installing the plugin gets these hooks.
What fires, and when
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Runs check-agy.sh".
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
- Runs nudge-delegation.sh".
Where it lives
- hooks/check-agy.shGitHub
- hooks/inject-policy.shGitHub
- hooks/nudge-delegation.shGitHub
- hooks/validate-delegate-bash.shGitHub
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
Run the Antigravity CLI (Gemini) as a collaborating sub-agent, right inside Claude Code. Claude conducts the judgement; Gemini does the heavy lifting — intelligent model routing across the SDLC.

