🛠️ 偶合 OppHub 上手
完成 5 步后即可开始撮合 · 当前 0/5
💡 skill 是 IM 里跟 bot 对话的命令, 装在 OpenClaw runtime.
plugin 是常驻进程, 装在同一 runtime, 管 token 维护 + WS 推送 + 同步 IM 通道.
3 种触发方式: IM 群聊/私聊 @bot · OpenClaw 后台 · cron 定时.
plugin 是常驻进程, 装在同一 runtime, 管 token 维护 + WS 推送 + 同步 IM 通道.
3 种触发方式: IM 群聊/私聊 @bot · OpenClaw 后台 · cron 定时.
1
装 skill + plugin (clawhub)
skill 在 IM 里跟 bot 对话, plugin 管 token + WS 推送
在终端跑 (两条都要装, skill 在 clawhub npm registry, plugin 在 clawhub 仓 registry):
openclaw skills install @mtty-ai/opphub
openclaw plugins install clawhub:@mtty-ai/opphub
# 装完自动重启 gateway
opphub plugin-check --json # 应返回 installed: true
或者在飞书群 @bot 直接说:
偶合装插件
✅ 自查清单 (对照数据库字段)
□
opphub skills list 显示 @mtty-ai/opphub□
opphub plugin-check --json → installed: true□
user_account.device_id + client_version 字段有值 (plugin 上报)□
user_account.device_reported_at ≤ 5 分钟前 (在线心跳)2
去偶合 activate 页面注册账号
邮箱/手机 + 验证码, 拿 user_id
去偶合官方注册页 (邮箱/手机 + 6 位验证码):
🔗 打开 /register 注册页 →注册流程: 填邮箱或手机 → 收验证码 → 输 6 位 → 注册成功. 拿 user_id 后用 bot 操作.
(注: /activate 是 OAuth device flow 激活页, 不是注册 — 那是 Step 3 bot 引导你打开的)
✅ 自查清单 (对照数据库字段)
□
user_account 表有 user_id (user_xxx 格式)□
user_account.email 或 phone 有值□
kycLevel ≥ 1 (已认证)3
飞书群 @bot 偶合登录 (OAuth)
bot 弹浏览器, 点同意, token 写 plugin 的 Keychain
在飞书群 (或私聊) @偶合 bot 说:
偶合登录
bot 透传 openclaw opphub login --device:
- bot 私聊发你
https://api.opphub.ruiplus.cn/activate?user_code=***(不在群里贴) - 浏览器自动开 → 打开链接 → 点同意 (本机已登录的账号直接过)
- token 自动写到 plugin 管的 macOS Keychain / Linux AES-256-GCM
- bot 答 ✅
user_id = user_xxx
⚠️ bot 不能帮你点 OAuth 同意, 要你自己点.
✅ 自查清单 (对照数据库字段)
□
bot 回复 "✅ 登录成功"□
user_account.last_login_at 是最近时间□
user_channel 表至少 1 条 is_default=true (plugin 上报的本机 IM 通道)4
@bot 偶合录入 [公司名]
bot 自动查工商 / 拆能力 / 跑匹配 / 6 步入库, 只问你 1 次
在飞书群 @偶合 bot 说:
偶合录入 杭州某医美咨询有限公司
偶合录入 北京某律师事务所
bot 自动 6 步跑 (你只会被问 1 次"是否入库"):
- 联网查工商 / 业务 / 招聘 / 项目
- 推断行业 (MCN / SaaS / 律所 / 制造)
- 拆能力卡片 + 上下游
- 给 1 张清单让你确认
- 批量入库 (幂等, 重复跑不冲突)
- 跑上下游匹配, 列结果
✅ 自查清单 (对照数据库字段)
□
user_company 表有 company_name + companyType + legalPerson + teamSize□
user_profile 表有 mainSkill + sub_skills 数组 ≥ 3□
user_trust_score 表有新分数 (匹配后系统给的)5
@bot 偶合状态 验证就绪
bot 自动检查 plugin / token / 知识库 3 项, 报 ready = 全部 OK
在飞书群 @偶合 bot 说:
偶合状态
bot 自动检查 3 件事, 报 ready 表示全部就绪:
- plugin 装没装 (调
plugin-check) - token 状态 (valid / expired / needs_refresh)
- 知识库 (公司 / 能力 / 子技能是否齐)
或者直接看本工作台顶上 "账号状态" 卡, 三项状态实时显示.
✅ 自查清单 (对照数据库字段)
□
bot 回复 "✅ ready" / "全部就绪"□
工作台 "账号状态" 3 项都 ✓ 已就绪🔧 故障排查 (在飞书群 @bot)
• bot 说 "❌ plugin 未装" → 跑 Step 1 的
openclaw plugins install• bot 说 "❌ token 失效" → 跑
偶合登录 重新走 device flow• 浏览器没弹 → 复制 bot 私聊里的
URL 手打开• 撮合想秒收但只在 09:00 收到 → plugin 没装, 回去 Step 1
• 录入撞同行业了 → bot 弹卡片让你选
• 录入冲突了 → bot 列新旧版本让你选保留
📖 bot 自然语言命令速查