Feishu message recall

From wulaosiji/skills · View interactive version

Feishu message recall is an AI agent skill from the GitHub repository wulaosiji/skills. 飞书消息撤回/删除工具 / Feishu message recall tool. 撤回或删除已发送的普通群消息和话题(Thread)消息,支持批量删除和话题消息列表查询。 Use when: "撤回飞书消息", "recall feishu message", "删除群消息", "delete group message", "批量撤回", "batch recall", "话题消息删除", "thread message deletion", "清理误发消息", "clean up accidental messages". 只能删除自己发送的消息,超过 24 小时可能无法撤回,支持单条删

How to use this skill

Skill file

Feishu Message Recall

飞书消息撤回/删除工具——用于撤回或删除已发送的普通群消息和话题(Thread)消息,支持批量删除。

When to Use

Use this skill when:

Do NOT use this skill if:

Typical triggers:

Workflow

  1. 探查 (Probe)

确认消息 ID(om_xxx)或话题 ID(omt_xxx),以及是否需要批量删除。

  1. 约束 (Constrain)

只能删除自己发送的消息。超过 24 小时的消息可能无法删除。话题消息的删除权限与普通群消息相同。批量删除前建议先用 --list-thread 查询话题中的消息列表。删除操作不可恢复,请谨慎执行。不降级——尝试删除别人的消息时报告权限错误。

  1. 证据 (Evidence)

确认目标消息由当前应用/用户发送。批量删除前查询话题中的消息列表确认范围。

  1. 执行 (Execute)
# 删除单条消息
python3 skills/feishu-message-recall/scripts/recall.py --msg-id om_x100b5741b264fca0c12f636d26d1cdd

# 删除话题中的所有消息
python3 skills/feishu-message-recall/scripts/recall.py --thread-id omt_1ae2d7a2164f9ce5

# 查询话题中的消息
python3 skills/feishu-message-recall/scripts/recall.py --list-thread omt_xxx
  1. 验证 (Verify)

确认删除成功,返回成功/失败计数。检查消息是否已从群聊中移除。

  1. 交付 (Deliver)

返回操作结果摘要,清理临时文件。

Output

返回操作结果摘要,包含删除的消息数量、成功/失败计数和涉及的消息 ID 列表。

Guardrails

Anti-patterns

Constraints

API Limitations

Usage Examples

# 删除单条消息
python3 skills/feishu-message-recall/scripts/recall.py --msg-id om_xxx

# 删除话题中的所有消息
python3 skills/feishu-message-recall/scripts/recall.py --thread-id omt_xxx

# 查询话题中的消息
python3 skills/feishu-message-recall/scripts/recall.py --list-thread omt_xxx

Related Skills

About UniqueClub

Part of the UniqueClub toolkit.

🌐 https://uniqueclub.ai

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.