Skip to content

Latest commit

 

History

History
95 lines (75 loc) · 2.76 KB

File metadata and controls

95 lines (75 loc) · 2.76 KB

TOOLS.md - Local Notes

Skills define how tools work. This file is for your specifics — the stuff that's unique to your setup.

What Goes Here

Things like:

  • Camera names and locations
  • SSH hosts and aliases
  • Preferred voices for TTS
  • Speaker/room names
  • Device nicknames
  • Anything environment-specific

SSH

Termux (Android)

  • Host: 192.168.82.26
  • Port: 8022
  • Password: Ydwcgiu5okhb
  • 命令: ssh -p 8022 192.168.82.26

ClawGate 服务器

  • Host: 45.207.211.47
  • User: root
  • Password: muikAPAD0178
  • 系统: Ubuntu 24.04, x86_64, 4GB RAM
  • 用途: ClawGate API 中转平台
  • 服务: PM2 clawgate-gateway (端口 3001) + Nginx
  • 域名: xiaoclaw.com (HTTPS)
  • 命令: sshpass -p 'muikAPAD0178' ssh root@45.207.211.47

香港服务器(已重置)

  • Host: 43.154.19.196
  • User: ubuntu
  • Password: Pwj372105
  • 系统: Ubuntu 24.04, x86_64
  • 用途: 待分配(全新系统)
  • 命令: sshpass -p 'Pwj372105' ssh ubuntu@43.154.19.196

Rocket.Chat 服务器

  • Host: 45.207.211.47
  • User: root
  • Password: muikAPAD0178
  • 系统: Ubuntu 24.04, x86_64, 4GB RAM
  • 用途: Rocket.Chat 自部署
  • 服务: Docker (rocketchat + mongodb), 端口 3000
  • 管理员: clawadmin / XiaoClawAdmin2026!
  • Bot: xiaoclaw / XiaoClaw2026!
  • 用户: jj / JJ2026!
  • 命令: sshpass -p 'muikAPAD0178' ssh root@45.207.211.47

Examples

### Cameras
- living-room → Main area, 180° wide angle
- front-door → Entrance, motion-triggered

### SSH
- home-server → 192.168.1.100, user: admin

### TTS
- Preferred voice: "Nova" (warm, slightly British)
- Default speaker: Kitchen HomePod

Why Separate?

Skills are shared. Your setup is yours. Keeping them apart means you can update skills without losing your notes, and share skills without leaking your infrastructure.


Add whatever helps you do your job. This is your cheat sheet.

备份系统

脚本位置

  • 备份: ~/.openclaw/scripts/backup.sh
  • 恢复: ~/.openclaw/scripts/restore.sh
  • 备份目录: ~/Desktop/openclaw-backup/

常用命令

  • bash ~/.openclaw/scripts/backup.sh — 手动备份
  • bash ~/.openclaw/scripts/backup.sh my-name — 指定名称备份
  • bash ~/.openclaw/scripts/backup.sh --list — 列出所有备份
  • bash ~/.openclaw/scripts/backup.sh --clean 10 — 只保留最近10个
  • bash ~/.openclaw/scripts/restore.sh — 列出可恢复的备份
  • bash ~/.openclaw/scripts/restore.sh --latest — 恢复最新备份
  • bash ~/.openclaw/scripts/restore.sh <名称> — 恢复指定备份

自动备份

  • Cron Job: 每 6 小时自动备份一次
  • 最多保留 20 个备份,超出自动清理
  • 恢复前会自动备份当前状态 (pre_restore_*)