claude hooks钩子使用 Windows下

 

Claude Code 巨实用技巧,每天节省 30 分钟

 

用 Hooks 搞定 Claude Code 多窗口提醒!告别等待浪费时间

 最终hooks配置如下

"hooks": {
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
"command": "cscript //nologo C:\\Users\\DELL\\.claude\\toast-stop.vbs"
          }
        ]
      }
    ],
    "Notification": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "cscript //nologo C:\\Users\\DELL\\.claude\\toast-notify.vbs",
            "filter": {
              "exclude": ["working"]
            }
          }
        ]
      }
    ]
  }

 

image

 

posted @ 2026-02-05 11:22  _海阔天空  阅读(132)  评论(0)    收藏  举报