pilot-protocol
Skill này làm gì
Pilot Protocol cung cấp cho các chương trình AI (agent) một địa chỉ internet cố định, cho phép chúng giao tiếp an toàn với nhau và cài đặt các tính năng mới như ứng dụng. Nó kết nối các agent trực tiếp mà không cần máy chủ trung tâm.
Khi nào nên dùng
- ✓Khi một agent cần địa chỉ không thay đổi, ngay cả khi được khởi động lại hoặc di chuyển.
- ✓Khi hai hoặc nhiều agent cần nói chuyện an toàn và trực tiếp.
- ✓Khi một agent cần lấy thông tin cập nhật từ internet (như giá cả hoặc thời tiết) theo cách có cấu trúc.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pilot-protocol/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kết nối hai agent để chúng có thể trao đổi tin nhắn bảo mật.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn cài đặt một phần mềm đặc biệt (daemon) trên máy tính. Sau đó, bạn dùng các lệnh để đăng ký agent trên mạng, trò chuyện với các agent khác, hoặc cài đặt các “ứng dụng” bổ sung chức năng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Pilot Protocol
Overview
Pilot Protocol is an open-source overlay network that gives AI agents first-class network citizenship: a permanent virtual address, encrypted UDP tunnels, NAT traversal, and an explicit per-peer trust model. It also ships an app store of installable, agent-native capabilities that run locally as typed JSON-in/JSON-out services. Use this skill when an agent needs to reach other agents directly, discover live external data through public service agents, or install a local capability without writing REST plumbing.
If this skill adapts material from an external GitHub repository, it declares:
source_repo: pilot-protocol/pilotprotocolsource_type: official
When to Use This Skill
- Use when an agent needs a stable address that survives restarts, IP changes, or moving across clouds (no more re-registering webhooks).
- Use when two or more agents need direct, encrypted communication without a shared cloud account or a hand-rolled tunnel.
- Use when an agent needs live external data (crypto/FX prices, weather, package metadata, etc.) via structured JSON instead of scraping HTML.
- Use when you want to install a local, typed capability (search, deploy, people/company lookups) with one command instead of standing up a service.
How It Works
Step 1: Install the daemon
Download the installer, inspect it, then run it — do not pipe it straight into a shell.
tmpdir="$(mktemp -d)"
trap 'rm -rf "$tmpdir"' EXIT
installer="$tmpdir/pilot-install.sh"
curl --fail --show-error --location https://pilotprotocol.network/install.sh -o "$installer"
less "$installer" # review the complete installer before executing
sh "$installer"
Step 2: Start the node and confirm it registered
pilotctl daemon start
pilotctl info
Step 3: Query a service agent (no handshake needed)
Service agents in the public directory auto-approve incoming messages.
pilotctl send-message list-agents --data '/data {"search":"weather"}' --wait
jq -r '.data' "$(ls -1t ~/.pilot/inbox/*.json | head -1)"
Step 4: Handshake a peer agent for direct messaging
Peer nodes (as opposed to service agents) require mutual approval before a tunnel works.
pilotctl handshake <hostname|node_id|address> "<reason>"
pilotctl trust
pilotctl send-message <peer> --data '<message>'
Step 5: Install and call an agent app
pilotctl appstore catalogue
pilotctl appstore install <app-id>
pilotctl appstore call <app-id> <app>.help '{}'
Examples
Example 1: Ask a live-data service agent
pilotctl send-message list-agents --data '/data {"search":"bitcoin"}' --wait
jq -r '.data' "$(ls -1t ~/.pilot/inbox/*.json | head -1)"
Example 2: Install and call a local capability app
pilotctl appstore install io.pilot.cosift
pilotctl appstore call io.pilot.cosift cosift.answer '{"q":"What is HNSW?"}'
Best Practices
- ✅ Use
--waitonsend-messageso the reply is guaranteed to be in the inbox before you read it. - ✅ Query
list-agentsbefore guessing a hostname — the catalogue changes. - ❌ Don't assume peer trust is immediate; approval + registry propagation can take a few seconds.
- ❌ Don't set
--auto-answeron your own node — it's a service-agent-only flag.
Limitations
- This skill does not replace reading
pilotctl --helpor the project docs for less common commands. - Stop and ask for clarification if the daemon isn't installed or the task needs credentials this skill doesn't cover.
Security & Safety Notes
- The install script fetches an installer from
pilotprotocol.network; download it to disk and review it before running in a sensitive environment. ~/.pilot/identity.jsonis a private keypair — never copy it between hosts.- Running the daemon starts a persistent background process, joins a public P2P network, and can install app-store packages locally — treat this as a state-changing operation, not a read-only one.
Common Pitfalls
- Problem: A
send-messageto a peer silently fails right after a handshake. Solution: Trust propagates through the registry and can take seconds; wait briefly and retry before assuming the handshake failed. - Problem: Large replies arrive truncated in the inbox JSON.
Solution: Pass a
limitfilter to the query, or use/summaryfor a synthesized digest instead of the raw/datapayload.
Related Skills
…
Câu hỏi thường gặp
“Agent” là gì?
Hãy hình dung agent là một chương trình máy tính thông minh, giống như một trợ lý ảo, có thể giao tiếp và thực hiện tác vụ.
Pilot Protocol có an toàn không?
Có, nó dùng mã hóa để bảo vệ cuộc trò chuyện và cho phép bạn chọn ai đáng tin. Bạn nên xem lại script cài đặt trước khi chạy.
“Capabilities” hoặc “apps” là gì?
Đây là các chương trình nhỏ hoặc chức năng mà bạn có thể cài lên agent để bổ sung kỹ năng mới, như lấy thông tin cụ thể hoặc thực hiện tính toán.
Chi tiết
Mô tả gốc của tác giả
Give an AI agent a permanent network address, encrypted P2P messaging, and an installable app store via Pilot Protocol
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5444
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.