feishu-pairing

Feishu group chat pairing approval: triggered when a user cannot talk with the QoderWork bot in a Feishu group chat or private chat (prompted “owner permission required”), or when a user requests to view, approve, or reject a Feishu pairing request. Uses QoderWork's built-in channel pairing API to query and perform approvals.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "feishu-pairing" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7fe028c1b4b835e22476968a073cca094d8171727d84c89c4461b32cbfc17182. Verify the upstream source and version against https://skillhub.cn/skills/user_3fb2cd03/huangzixuan-feishu-pairing before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Feishu group chat pairing approval: triggered when a user cannot talk with the QoderWork bot in a Feishu group chat or private chat (prompted “owner permission required”), or when a user requests to view, approve, or reject a Feishu pairing request. Uses QoderWork's built-in channel pairing API to query and perform approvals.

0 Downloads

Introduction source: third_party · user_3fb2cd03 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: feishu-pairing-approval
description: 飞书群聊配对审批。当用户在飞书群或私聊中无法与 QoderWork 机器人对话(提示"需要机器人主人的允许"),或用户要求查看、审批、拒绝飞书配对请求时触发。通过 QoderWork 内置频道配对 API 完成查询和审批。
version: 1.0.0

飞书群聊配对审批

触发场景

以下任一情况出现时,应使用本技能:

  • 用户报告在飞书群/私聊中收到类似"您暂时还无法与我对话,需要机器人主人的允许。您的请求已发送,获得允许后即可正常使用。"的提示
  • 用户明确要求"查看配对请求"、"审批配对"、"批准/拒绝某人的对话请求"
  • 用户提到"飞书群权限"、"配对审批"、"pairing approval"等关键词
  • 飞书 IM 通道配置了 pairing 访问策略,有新的群聊或用户发起对话请求需要处理

工作流步骤

Step 1: 查询待审批配对列表

使用 qw_query 工具查询飞书通道的配对信息:

工具: qw_query
参数:
  key: "qoderwork.channels.feishu.pairings"

返回结果包含:

  • pending 列表:待审批的配对请求,每条包含 conversationId、senderId、conversationName、conversationType(group/private)、message(用户发送的触发消息)
  • approved 列表:已通过配对的会话

如果 pending 列表为空,告知用户当前没有待审批的请求,并提示可能的原因:机器人未加入该群、飞书频道未连接、或访问策略不是 pairing 模式。

Step 2: 展示待审批信息并确认

将 pending 列表以清晰的格式展示给用户,包含以下字段:

  • 会话名称(群名或用户昵称)
  • 会话类型(群聊 / 私聊)
  • 发送者 ID(senderId)
  • 触发消息内容

让用户选择要批准或拒绝哪些请求。如果只有一条待审批记录且用户意图明确(如"帮我通过审批"),可跳过确认直接执行。

Step 3: 执行审批或拒绝

使用 qw_action 工具执行配对审批:

批准:

工具: qw_action
参数:
  action: "execute"
  key: "qoderwork.channels.feishu.pairings"
  params:
    action: "approve"
    conversationId: "<从 Step 1 获取>"
    senderId: "<从 Step 1 获取>"

拒绝:

工具: qw_action
参数:
  action: "execute"
  key: "qoderwork.channels.feishu.pairings"
  params:
    action: "reject"
    conversationId: "<从 Step 1 获取>"
    senderId: "<从 Step 1 获取>"

执行成功后,告知用户结果并提示对方可以重新尝试对话。

Pitfalls

  • senderId 是必传参数。这是最常见的错误——第一次调用时容易只传 conversationId 而遗漏 senderId,会导致报错 Missing params.senderId and params.conversationId for approve。务必从 Step 1 的查询结果中提取 senderId 并一并传入 params。
  • conversationId 和 senderId 必须来自同一个 pending 记录的对应字段,不要混淆不同记录的 ID。
  • 如果飞书频道未连接,qw_query 可能返回空结果或错误。此时应引导用户先在 QoderWork 中连接飞书频道。
  • 审批操作不可撤销。如果误批准了,需要在频道管理界面手动移除配对。
  • 如果用户从 IM 通道发起此请求(消息含 IM channel 标记),不要使用 AskUserQuestion 工具确认,直接在文本中询问。

验证方法

审批完成后,可通过以下方式验证:

  1. 再次调用 qw_query 查询 qoderwork.channels.feishu.pairings,确认该请求已从 pending 列表移入 approved 列表
  2. 告知用户在对应群聊中重新 @机器人 发送消息,确认能正常收到回复

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决飞书机器人对话权限审批的实际痛点
  • 属于企业 IM 机器人权限管理的高频刚需场景
  • 直接提升团队协作效率
Trigger Precision90/100

Highlights

  • 触发词覆盖完整且边界清晰
  • 包含中英文关键词及典型错误提示语
  • 不易误触或漏触
Structure and Standards95/100

Highlights

  • 三步式工作流清晰完整
  • 包含端到端工具调用示例
  • frontmatter 规范完整
Execution Reliability90/100

Highlights

  • 强调 senderId 必传参数避免常见错误
  • 覆盖 pending 为空、频道未连接等异常场景
  • 对不可逆操作有明确风险提示
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.