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
آخر نشاط في المصدر
٢ أغسطس ٢٠٢٦ في ٠١:٠٦
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٣
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.