Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

claude-code-hook-block-exit-code

النجوم٠
التفرعات١
آخر تحديث٢ يونيو ٢٠٢٦ في ٠٧:٥٣

Claude Code PreToolUse hooks must exit 2 to block tool execution — exit 1 signals hook failure but allows the tool to proceed. TRIGGER when: writing a Claude Code PreToolUse hook that should prevent a tool from executing, implementing access control or guardrails in a hook, debugging a hook that runs but does not block the tool.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
2 ملفات
SKILL.md
readonly