Remix.run Logo
hadlock 2 hours ago

Opus is so slow these days what I really want is a bell sound to ring when it's done. I kick off some task and then it takes 3-12 minutes to complete. It's wrong, so I tell it to revert and try again with slightly different instructions.

momentmaker 2 hours ago | parent | next [-]

You can use edit your settings.json in ~/.claude and put a hook for it like this:

    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "afplay ~/.claude/hooks/chime.wav",
            "async": true
          },
hombre_fatal an hour ago | parent [-]

That hook is also called when subagents stop which means you'll get a lot of false positives.

Ideally you are only notified when the main agent stops, the main agent has a question, or a subagent has a question.

I created a script that figures out if any of those states apply before emitting a macOS notification and then called it in each hook:

    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "script.sh",
            "timeout": 10
          }
        ]
      }
    ],
    "PreToolUse": ...
    "PermissionRequest": ...
    "Elicitation": ...
emson 2 hours ago | parent | prev | next [-]

Have you tried analysing all your prompts, and then telling it to "figure out" what custom skills might improve your prompts? I do actually have another project I'm working on that does this... it's been super useful for seeing how I prompt, what Skills I use and getting them to evolve and improve (I know Hermes does some of this, but it's been interesting rolling my own - will release soon!!)

sathish316 an hour ago | parent | prev | next [-]

Cmux notifications does this too

bicepjai 2 hours ago | parent | prev [-]

Try superset, it does that