Add /help and /status commands
- /help: Shows available commands and skills with descriptions - /status: Quick dashboard overview across all domains - System health (disk, memory, updates) - Kubernetes status (nodes, pods, alerts) - Email summary (unread, urgent) - Calendar (today's events, next meeting) Both commands added to component-registry.json with aliases: - /help: /commands, /skills - /status: /overview, /dashboard Updated commands/README.md with new entries. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
70
commands/status.md
Normal file
70
commands/status.md
Normal file
@@ -0,0 +1,70 @@
|
||||
---
|
||||
name: status
|
||||
description: Quick status overview across all domains
|
||||
aliases: [overview, dashboard]
|
||||
---
|
||||
|
||||
# /status Command
|
||||
|
||||
Show a quick status overview across all managed domains.
|
||||
|
||||
## When Invoked
|
||||
|
||||
Run quick checks and present a dashboard:
|
||||
|
||||
```
|
||||
📊 Status Overview
|
||||
|
||||
═══ System ═══
|
||||
💻 Workstation: Healthy
|
||||
Disk: 45% used | Memory: 68% | Load: 0.5
|
||||
Updates: 3 pending
|
||||
|
||||
═══ Kubernetes ═══
|
||||
☸️ Cluster: Healthy
|
||||
Nodes: 3/3 Ready | Pods: 42 Running
|
||||
Alerts: 0 firing
|
||||
|
||||
═══ Email ═══
|
||||
📧 Inbox: 12 unread (3 urgent)
|
||||
Last checked: 2 mins ago
|
||||
|
||||
═══ Calendar ═══
|
||||
📅 Today: 3 events
|
||||
Next: Team standup in 45 mins
|
||||
```
|
||||
|
||||
## Implementation
|
||||
|
||||
Run these checks in parallel for speed:
|
||||
|
||||
### System Check
|
||||
```bash
|
||||
~/.claude/skills/sysadmin-health/scripts/health-check.sh | head -20
|
||||
```
|
||||
|
||||
### Kubernetes Check
|
||||
```bash
|
||||
~/.claude/skills/k8s-quick-status/scripts/quick-status.sh | head -10
|
||||
```
|
||||
|
||||
### Email Check
|
||||
```bash
|
||||
~/.claude/skills/gmail/scripts/check_unread.py 1 10
|
||||
```
|
||||
|
||||
### Calendar Check
|
||||
```bash
|
||||
~/.claude/skills/gcal/scripts/agenda.py today
|
||||
```
|
||||
|
||||
## Output Format
|
||||
|
||||
- Use emoji indicators for quick scanning
|
||||
- Keep each section to 2-3 lines
|
||||
- Highlight any issues in red/warning
|
||||
- Show "Last checked" for cached data
|
||||
|
||||
## Autonomy
|
||||
|
||||
Read-only - runs without confirmation.
|
||||
Reference in New Issue
Block a user