什麼是 meta-hook-creator?
為 Claude Code 建立在工具呼叫、提示和生命週期事件上觸發的事件掛鉤。在自動化工作流程、封鎖危險指令、保護文件或新增通知時使用。用於鉤子、PreToolUse、PostToolUse、事件處理、自動化。 來源:oakoss/agent-skills。
為 Claude Code 建立在工具呼叫、提示和生命週期事件上觸發的事件掛鉤。在自動化工作流程、封鎖危險指令、保護文件或新增通知時使用。用於鉤子、PreToolUse、PostToolUse、事件處理、自動化。
透過命令列快速安裝 meta-hook-creator AI 技能到你的開發環境
來源:oakoss/agent-skills。
Claude Code hooks are user-defined shell commands, LLM prompts, or agent evaluations that execute automatically at specific lifecycle points. Hooks receive JSON context via stdin, take action, and communicate results through exit codes, stdout, and stderr.
When to use: Blocking dangerous commands, auto-formatting after writes, protecting sensitive files, custom notifications, environment setup, enforcing project conventions, auto-approving safe tools, running tests after changes.
When NOT to use: Static context injection (use CLAUDE.md), simple permission rules (use allowlist settings), one-time setup (use shell scripts directly).
為 Claude Code 建立在工具呼叫、提示和生命週期事件上觸發的事件掛鉤。在自動化工作流程、封鎖危險指令、保護文件或新增通知時使用。用於鉤子、PreToolUse、PostToolUse、事件處理、自動化。 來源:oakoss/agent-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/oakoss/agent-skills --skill meta-hook-creator為 Claude Code 建立在工具呼叫、提示和生命週期事件上觸發的事件掛鉤。在自動化工作流程、封鎖危險指令、保護文件或新增通知時使用。用於鉤子、PreToolUse、PostToolUse、事件處理、自動化。 來源:oakoss/agent-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/oakoss/agent-skills --skill meta-hook-creator 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/oakoss/agent-skills