Pilot Database Bridge

👤 teoslayer 📦 v1.0.0 ⭐ 3.9 ⬇️ 541 下載
🔒 IT運維與安全 免費

📖 技能介紹

Pilot Database Bridge

Secure database access through Pilot Protocol tunnels for remote PostgreSQL, MySQL, MongoDB, and Redis.

Commands

Start Gateway

pilotctl --json gateway start

Map Remote Database

pilotctl --json gateway map db-server 192.168.100.10

List Mappings

pilotctl --json gateway list

Stop Gateway

pilotctl --json gateway stop

Workflow Example

#!/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

Supported Databases

# 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

Dependencies

Requires pilot-protocol skill, running daemon, and database clients (psql, mysql, mongosh, redis-cli).

7w4.net小蔥技能站,你的AI助手技能庫。

🤖 AI 評測

這個 Skill 質量中規中矩。優點是文件寫得很清楚,新手也能看懂怎麼用,支援的資料庫型別比較全。缺點是內容太少,只有兩三個檔案,缺少實際案例和常見問題解答,遇到麻煩時不太好找到幫助。整體來看,它更像是一個命令列工具的使用說明書,而不是一個功能完整的解決方案,適合嚐鮮但不建議作為生產環境的主力工具。

📊 多維度評分

適應性4.3
規範性3.8
有效性3.9
可靠性3.5
可信度4.3

📁 包含檔案 (2 個)

📄 SKILL.md 2.1 KB
📄 _meta.json 140 B