You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/config/SKILL.md
+57-11Lines changed: 57 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,70 @@ description: Configure claudewatch status line settings interactively
4
4
allowed-tools: Bash, Read, Write, AskUserQuestion
5
5
---
6
6
7
-
Configure the claudewatch status line. Read the current config from `~/.config/claudewatch/config.toml` first to show current values, then ask the user what they want to change.
7
+
Configure the claudewatch status line. Read the current config from `~/.config/claudewatch/config.toml` first to show ALL current values to the user.
8
8
9
-
## Questions to ask
9
+
## Step 1: Show current config
10
10
11
-
Ask the question, showing the current value as context:
11
+
Read and display the full current config as a formatted summary, e.g.:
Since AskUserQuestion only supports 4 options, split into two questions:
38
+
1. First ask with 4 popular options + indicate "Other" for more
39
+
2. If they pick "Other", show the remaining themes
40
+
41
+
## Step 3b: Segments (if selected)
42
+
43
+
Show all segment toggles with their current values. Ask which segments to toggle (multi-select):
44
+
- show_plan (Plan name in model bracket)
45
+
- show_5h (5-hour usage quota)
46
+
- show_7d (7-day usage quota)
47
+
- show_extra (Pay-as-you-go extra usage)
48
+
- show_cost (Session cost)
49
+
- show_cwd (Working directory name)
50
+
- show_branch (Git branch)
51
+
52
+
Note: model name and context window are always shown and cannot be disabled.
53
+
54
+
Selected segments will be TOGGLED (true→false, false→true).
16
55
17
-
## After collecting answers
56
+
## Step 4: Write config
18
57
19
-
Write the updated config to `~/.config/claudewatch/config.toml`:
58
+
Write the FULL updated config to `~/.config/claudewatch/config.toml` with ALL keys explicitly set. Example:
20
59
21
60
```toml
22
-
theme = "<theme>"
61
+
theme = "dracula"
62
+
show_plan = true
63
+
show_5h = true
64
+
show_7d = true
65
+
show_extra = true
66
+
show_cost = false
67
+
show_cwd = false
68
+
show_branch = false
23
69
```
24
70
25
-
Tell the user the config has been updated. If they changed the theme, tell them to restart Claude Code to see the new theme.
71
+
## Step 5: Confirm
26
72
27
-
Note: Plan type and usage limits are auto-detected from your Claude Code credentials — no configuration needed.
73
+
Show the updated config summary. If the theme changed, tell them to restart Claude Code. Segment changes take effect on the next status line refresh (automatic).
6.**Write config**: Write to `~/.config/claudewatch/config.toml`:
23
-
```toml
24
-
theme = "<chosen-theme>"
25
-
```
22
+
6.**Write config**: Read the existing config from `~/.config/claudewatch/config.toml`, update only the theme value, and write it back preserving all other keys.
26
23
27
-
7.**Done**: Tell the user to restart Claude Code. Plan type and usage limits are auto-detected from credentials — no configuration needed.
24
+
7.**Done**: Tell the user to restart Claude Code. Plan type and usage limits are auto-detected from credentials. Mention they can run `/claudewatch:config` to toggle individual segments on/off.
Copy file name to clipboardExpand all lines: skills/uninstall/SKILL.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,8 @@ Uninstall claudewatch from Claude Code.
8
8
9
9
## Steps
10
10
11
-
1.**Confirm**: Ask the user if they are sure they want to uninstall claudewatch. This will remove the status line, config, and cache.
11
+
1.**Confirm**: Ask the user if they are sure they want to uninstall claudewatch. This will remove the status line, cache, and binary. Config is preserved at `~/.config/claudewatch/config.toml` for future reinstalls.
12
12
13
-
2.**Run uninstall**: Run `claudewatch uninstall`
13
+
2.**Run uninstall**: Run `claudewatch uninstall` — this removes the statusLine from settings, clears the cache, and removes the binary. Config is kept.
14
14
15
-
3.**Remove binary**: Run `rm -f $(which claudewatch)`
16
-
17
-
4.**Done**: Tell the user claudewatch has been fully removed. Restart Claude Code to apply.
15
+
3.**Done**: Tell the user claudewatch has been removed. Config was preserved at `~/.config/claudewatch/` in case they reinstall. Restart Claude Code to apply.
0 commit comments