name: pilot-database-bridge description: > Query remote databases through Pilot Protocol tunnels.
Use this skill when: 1. You need to access databases behind NATs or firewalls 2. You want to query remote databases without direct network access 3. You're building agents that need secure database connectivity
Do NOT use this skill when: - Database is already publicly accessible - You have direct VPN or network access - The daemon is not running tags: - pilot-protocol - integration - database - bridge - sql license: AGPL-3.0 compatibility: > Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start). metadata: author: vulture-labs version: "1.0" openclaw: requires: bins: - pilotctl homepage: https://pilotprotocol.network allowed-tools: - Bash
Secure database access through Pilot Protocol tunnels for remote PostgreSQL, MySQL, MongoDB, and Redis.
pilotctl --json gateway start
pilotctl --json gateway map db-server 192.168.100.10
pilotctl --json gateway list
pilotctl --json gateway stop
#!/bin/bash
# Access remote PostgreSQL
pilotctl --json daemon start
pilotctl --json find postgres-prod
pilotctl --json gateway start
pilotctl --json gateway map postgres-prod 192.168.100.10
# Connect with standard client
psql -h 192.168.100.10 -p 5432 -U dbuser -d production
# PostgreSQL
pilotctl --json gateway map postgres-server 192.168.100.10
psql -h 192.168.100.10 -p 5432 -U user -d database
# MySQL
pilotctl --json gateway map mysql-server 192.168.100.11
mysql -h 192.168.100.11 -P 3306 -u root -p
# MongoDB
pilotctl --json gateway map mongo-server 192.168.100.12
mongosh mongodb://192.168.100.12:27017
# Redis
pilotctl --json gateway map redis-server 192.168.100.13
redis-cli -h 192.168.100.13 -p 6379
Requires pilot-protocol skill, running daemon, and database clients (psql, mysql, mongosh, redis-cli).
这个 Skill 质量中规中矩。优点是文档写得很清楚,新手也能看懂怎么用,支持的数据库类型比较全。缺点是内容太少,只有两三个文件,缺少实际案例和常见问题解答,遇到麻烦时不太好找到帮助。整体来看,它更像是一个命令行工具的使用说明书,而不是一个功能完整的解决方案,适合尝鲜但不建议作为生产环境的主力工具。