Add session, maintenance, and backup commands

New commands:
- /summarize: Save session decisions/preferences to memory
- /maintain: Configuration maintenance (validate, backup, restore, etc.)

New automation scripts:
- backup.sh: Create timestamped config backup (excludes secrets)
- restore.sh: Restore config from backup (with validation)

Updates:
- component-registry.json: Added new commands
- commands/README.md: Updated with new entries
- automation/README.md: Documented utility scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 12:11:52 -08:00
parent cbed85edf5
commit f682d781a0
7 changed files with 432 additions and 0 deletions

View File

@@ -60,6 +60,34 @@ The `scheduler.sh` script wraps Claude CLI invocations:
- Workflow logs: `~/.claude/logs/workflows/`
- Journal logs: `journalctl --user -u <service-name>`
## Utility Scripts
| Script | Purpose |
|--------|---------|
| `validate-setup.sh` | Validate configuration |
| `quick-status.sh` | Dashboard status overview |
| `backup.sh` | Create configuration backup |
| `restore.sh` | Restore from backup |
| `generate-registry.py` | Regenerate component registry |
| `validate-registry.py` | Validate component registry |
### Usage
```bash
# Validate setup
./validate-setup.sh
# Quick status
./quick-status.sh
# Backup
./backup.sh
# Restore (lists backups, or restores specific file)
./restore.sh
./restore.sh ~/.claude/backups/claude-config-TIMESTAMP.tar.gz
```
## Maintenance
```bash