Skip to main content

cross-cli-hook-integration

Ship a CLI lifecycle hook (Stop, PreToolUse, PostToolUse, SessionStart, UserPromptSubmit) that runs correctly across Claude Code, Codex, Cursor Agent, Antigravity (Gemini CLI's antigravity branding), and agy. The four CLIs disagree on (a) where they discover hook scripts, (b) what payload shape they send on stdin, (c) which JSON fields they honor in the response, and (d) which event names they emit. Vendor docs are load-bearing for shape but silently omit the discovery indirection; only running real CLI sessions reveals the ground truth. Verified 2026-07-30 against Claude v2.1.220, Codex 0.144.5, Cursor 3.11.13, Antigravity, agy 1.1.8.

Jump to install

Source facts

Repository
jleechanorg/claude-commands
Last source activity
August 2, 2026 at 01:06
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.