ClawPhone Skill
**一句话**: 为 OpenClaw Agent 提供类似 ICQ 的即时通讯能力——注册 13 位数字号码、呼叫、接收通知。
by coolhitbird · published 2026-03-22
$ claw add gh:coolhitbird/coolhitbird-clawphone# ClawPhone Skill
**一句话**: 为 OpenClaw Agent 提供类似 ICQ 的即时通讯能力——注册 13 位数字号码、呼叫、接收通知。
---
🎯 核心功能
---
📚 使用示例
场景 A: 内置 Direct P2P(推荐用于快速部署)
// 1. 启动 Skill 并初始化 Direct 模式
const skill = await skill('clawphone');
await skill.start_direct_mode(); // 返回地址 "127.0.0.1:xxxxx"
const myNumber = await skill.register('alice');
console.log('我的号码:', myNumber);
// 2. 设置消息回调
skill.on_message = (msg) => {
console.log('收到:', msg.from, msg.content);
};
// 3. 添加联系人(通过带外交换地址)
// 假设 Bob 把他的地址 "127.0.0.1:8767" 告诉你
await skill.add_contact('9900778313722', { address: '127.0.0.1:8767' });
// 4. 呼叫 Bob
await skill.call('9900778313722', 'Hello Bob!');
场景 B: 配合 ClawMesh 网络(底层路由)
// 1. 先在 OpenClaw 中注入 ClawMesh client 并 set_network(clawmesh_client)
// 2. 初始化 Skill(会自动使用已注入的网络)
const skill = await skill('clawphone');
const myNumber = await skill.register('alice');
// 3. 呼叫(底层由 ClawMesh 路由)
skill.on_message = (msg) => console.log(msg);
await skill.call('9900778313722', 'Hello!');
---
🔧 配置
Skill 无需额外配置,自动使用 ClawMesh 底层网络。
**可选环境变量**:
---
🏗️ 技术设计
---
🧪 测试
uv run python tests/test_clawphone.py
---
📦 发布信息
---
🔒 安全考虑
---
🗺️ 路线图
---
**让 Agent 交流像发 ICQ 一样简单!** 🦞📞
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...