Files
openclaw-config/workspace-sql/TOOLS.md
T

1.7 KiB
Raw Blame History

TOOLS.md - Local Notes

Skills define how tools work. This file is for your specifics — the stuff that's unique to your setup: camera names and locations, SSH hosts and aliases, preferred TTS voices, speaker/room names, device nicknames, anything environment-specific.

MySQL 连接

  • 默认 → VPS: 101.34.227.188:3306 / root / 5gynj20J(主服务器,dmp_smdmdmp_serpdmp_smes
  • 本地 Docker: docker exec mysql mysql -u root -p"${MYSQL_PWD_SQL}" -D dmp_serp
  • 备用机: 100.115.195.191:3306 / root / 5gynj20J(库:dmp_smdm、dmp_serp、dmp_smes 等)
  • 密码环境变量: MYSQL_PWD_SQL=5gynj20J(来自 .env
  • ⚠️ 优先使用本地 mysql 客户端直接连接,不要每次都用 docker exec
  • ⚠️ 默认数据库连接串: mysql -h 101.34.227.188 -u root -p"${MYSQL_PWD_SQL}"

默认规则(AGENTS + 技能):

  • 未指定环境时,默认连接 VPS101.34.227.188
  • 脚本表名必须带库前缀(dmp_xxx.table),因为 VPS 上多库共存
  • 如果操作只涉及本地库(如无 VPS 权限的测试),需明确切换

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.