summaryrefslogtreecommitdiff
path: root/README
blob: 7d9c3ac86c3ad336f84385f226fc9385a33e3070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
claudemon is a simple monitor for claude code sessions.

The idea is to list all current claude code sessions and for each
show their state, idle, prompt or busy.

idle: Waiting for user input (60s delay)
busy: Thinking ...
prompt: Waiting for permission prompt (no delay)

It does this by using claude code hooks.

So to use it add claudemon to your claude code hooks:

In ~/.claude/settings.json:

  ...
  "hooks": {
    "Notification": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "/usr/bin/claudemon --notification"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "/usr/bin/claudemon --notification"
          }
        ]
      }
    ],
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "/usr/bin/claudemon --notification"
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "/usr/bin/claudemon --notification"
          }
        ]
      }
    ]
  },
  ...