Skip to content

设计一个skill,跑完任务后会通知用户 #49

Open

Description

@keting

可以先查找是否已经有这种skill

Activity

  1. 985025074 commented on Aug 30, 2026

    @985025074

    可以使用 hooks 来实现,比如 对于 codex 和 Macos

    {
      "description": "Hooks test",
      "hooks": {
        "Stop": [
          {
            "hooks": [
              {
                "type": "command",
                "command": "osascript -e 'display notification \"task finished\" with title \"asd\"'",
    
                "timeout": 30
              }
            ]
          }
        ]
      }
    }
    

    . Ref: https://learn.chatgpt.com/docs/hooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions