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.

跳到安装

来源信息

仓库
jleechanorg/claude-commands
最近来源活动
2026年8月2日 01:06
检测到的 SKILL.md 语言
英语
星标
3
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。