Feishu Message Recall logo

Feishu Message Recall

Community
wulaosiji
feishu-message-recall

飞书消息撤回/删除工具 / Feishu message recall tool. 撤回或删除已发送的普通群消息和话题(Thread)消息,支持批量删除和话题消息列表查询。 Use when: "撤回飞书消息", "recall feishu message", "删除群消息", "delete group message", "批量撤回", "batch recall", "话题消息删除", "thread message deletion", "清理误发消息", "clean up accidental messages". 只能删除自己发送的消息,超过 24 小时可能无法撤回,支持单条删除和话题批量删除。Cross-references: feishu-chat-monitor, feishu-group-welcome, feishu-chat-extractor. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-message-recall
Stars
28
Forks
11
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by wulaosiji on GitHub. Read the source before you install it.

Installation

Install the Feishu Message Recall AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/wulaosiji/skills/tree/main/feishu-message-recall
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wulaosiji/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/feishu-message-recall .claude/skills/feishu-message-recall
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Message Recall in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Feishu Message Recall on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Feishu Message Recall is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Feishu Message Recall

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

When to Use

Use this skill when:

  • 需要删除自己误发的单条群消息时
  • 需要批量删除话题(Thread)中的多条消息时
  • 需要清理测试消息或历史垃圾消息时
  • 需要查询话题中的消息列表以便选择性删除时

Do NOT use this skill if:

  • 需要删除别人发送的消息 → 飞书 API 仅支持删除自己发送的消息
  • 消息发送已超过 24 小时 → 可能无法撤回
  • 需要撤回系统消息或机器人自动消息 → 权限可能受限

Typical triggers:

  • 「撤回这条消息」「删除话题里的消息」
  • "批量清理我刚才发的消息", "Recall the last Feishu message I sent"

Workflow

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

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

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

  4. 执行 (Execute)

bash
# 删除单条消息
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) 确认删除成功,返回成功/失败计数。检查消息是否已从群聊中移除。

  2. 交付 (Deliver) 返回操作结果摘要,清理临时文件。

Output

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

Guardrails

Anti-patterns

  • NEVER 尝试删除别人发送的消息(飞书 API 不支持)
  • Do NOT 在未查询话题消息列表的情况下批量删除
  • Do NOT 对超过 24 小时的消息强行撤回(可能失败)
  • 禁止删除操作后不验证(可能部分失败)

Constraints

  • 只能删除自己发送的消息
  • 超过 24 小时的消息可能无法删除
  • 话题消息的删除权限与普通群消息相同
  • 批量删除前建议先用 --list-thread 查询话题中的消息列表
  • 删除操作不可恢复,请谨慎执行
  • APP_ID 和 APP_SECRET 从环境变量或 config.py 读取,需要 Python 3.8+ 和 requests

API Limitations

  • APP_ID 和 APP_SECRET 从环境变量或 config.py 读取
  • 需要 Python 3.8+ 和 requests
  • 飞书 API 仅支持删除自己发送的消息
  • 超过 24 小时的消息可能无法撤回

Usage Examples

bash
# 删除单条消息
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

  • feishu-chat-monitor — 检查遗漏的 @提及
  • feishu-group-welcome — 群聊欢迎消息管理
  • feishu-chat-extractor — 提取和分析聊天记录

About UniqueClub

Part of the UniqueClub toolkit. 🌐 https://uniqueclub.ai

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Feishu Message Recall AI skill do?

飞书消息撤回/删除工具 / Feishu message recall tool. 撤回或删除已发送的普通群消息和话题(Thread)消息,支持批量删除和话题消息列表查询。 Use when: "撤回飞书消息", "recall feishu message", "删除群消息", "delete group message", "批量撤回", "batch recall", "话题消息删除", "thread message deletion", "清理误发消息", "clean up accidental messages". 只能删除自己发送的消息,超过 24 小时可能无法撤回,支持单条删除和话题批量删除。Cross-references: feishu-chat-monitor, feishu-group-welcome, feishu-chat-extractor. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Message Recall on TypingMind?

Because you install it once and use it with any model. Feishu Message Recall is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Feishu Message Recall in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wulaosiji/skills/tree/main/feishu-message-recall. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Feishu Message Recall?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Feishu Message Recall?

As many as you like. As long as a model supports skills, you can use Feishu Message Recall with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Feishu Message Recall AI skill free?

It is published on GitHub by wulaosiji. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇