final version seems
This commit is contained in:
+11
-6
@@ -6,13 +6,18 @@ disable-model-invocation: true
|
||||
allowed-tools: Bash
|
||||
---
|
||||
|
||||
Run the health check script and report findings to the user:
|
||||
Run the health check script:
|
||||
|
||||
```bash
|
||||
bash ~/.claude/doctor.sh
|
||||
bash $HOME/.claude/doctor.sh 2>/dev/null || {
|
||||
REPO=$(dirname "$(readlink "$HOME/.claude/CLAUDE.md" 2>/dev/null)" 2>/dev/null)
|
||||
bash "$REPO/doctor.sh"
|
||||
}
|
||||
```
|
||||
|
||||
After displaying the output:
|
||||
- If errors are found, suggest the specific fix commands shown in the output.
|
||||
- If only warnings, note them but confirm the setup is functional.
|
||||
- If all checks pass, confirm the setup is healthy.
|
||||
After displaying the doctor.sh output:
|
||||
- **CRITICAL token (>30%)** → suggest `/plugin-check` to disable unused plugins; list the heaviest ones.
|
||||
- **WARNING token (>15%)** → note which toggle plugins are active and not needed.
|
||||
- **Errors (symlinks, agents)** → show the exact fix command (`bash link.sh`).
|
||||
- **Warnings only** → confirm setup is functional, note any action recommended.
|
||||
- **All pass** → confirm healthy and operational.
|
||||
|
||||
Reference in New Issue
Block a user