← Back to Skills Marketplace
dxxbb

Feishu New Chat

by dxxbb · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ Security Clean
307
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install feishu-new-chat
Description
Create a new topic in a Feishu topic-group, and optionally add the first in-thread reply (with optional @mention) by sending as the user. Use when the user s...
README (SKILL.md)

Feishu Topic Spawn

Create a new Feishu topic in a dedicated topic-group, then optionally post the first thread reply inside it.

Keep this skill lightweight. Use it for topic creation and first-reply bootstrapping, not for session routing magic.

Validated behavior

This workflow has been verified:

  1. feishu_im_user_message.send to a topic-group chat_id creates a new top-level topic.
  2. feishu_im_user_message.reply with reply_in_thread=true posts inside that topic.
  3. A reply can @ a user by placing Feishu text markup directly in the content:
\x3Cat user_id="ou_xxx">Name\x3C/at> 你好

This is the current working path. Prefer it over assumptions about implicit reply routing.

Preconditions

Require all of the following:

  • The destination is a real Feishu topic-group.
  • The user has explicitly asked to send the message.
  • The user has permission to post in that group.
  • User-auth Feishu messaging is available for feishu_im_user_message.

If user auth is unavailable or expired, stop and ask the user to re-authorize.

If the target group is not a topic-group, explain that the result will only be a normal group message, not a topic.

Default target group

Default to the fixed topic-group configured in TOOLS.md, if one exists.

Do not hardcode a personal/local group name into a public skill.

Use feishu_chat with action=search to resolve the group.

If the user explicitly names a target group, use that group.

If the user does not name a group and no local default is configured:

  • Stop.
  • Ask which Feishu topic-group to use.

If no matching group is found:

  • Stop.
  • Tell the user the topic-group does not exist yet.
  • Ask them to create it manually first.

Workflow

1. Resolve target group

  • If the user explicitly names a group, use that name.
  • Otherwise use the local default topic-group from TOOLS.md, if configured.
  • If no local default exists, ask the user which topic-group to use.
  • Resolve the chat_id with feishu_chat.search.

2. Parse requested action

Support four shapes:

A. Open topic only

Example:

开话题:OpenClaw 多线程 SOP

Send one top-level text message only.

B. Open topic + first thread reply

Example:

开话题:OpenClaw 多线程 SOP|先写一个 5 点大纲

Interpret as:

  • title = OpenClaw 多线程 SOP
  • first thread reply = 先写一个 5 点大纲

C. Open topic + first thread reply + @mention

Example:

开话题:测试 1|回一条:@我 测试

Interpret as:

  • top-level topic title/text
  • then a thread reply
  • optionally prepend a Feishu \x3Cat user_id="...">...\x3C/at> mention

D. Open topic + carry over prior context + ask a new question

Example:

开个新话题聊这个,把前面几条带过去,然后追问:自由现金流有几个指数?有什么区别?

Interpret as:

  • create a clean new topic
  • carry over only the minimum relevant context
  • put both context and the new question into the same top-level topic-opening message
  • make the new question impossible to miss
  • avoid a second seed message unless the user explicitly wants an extra in-thread reply

3. Create the topic

Use feishu_im_user_message.send:

  • action=send
  • receive_id_type=chat_id
  • receive_id=\x3Cchat_id>
  • msg_type=text
  • content={"text":"\x3Ctop-level text>"}

The returned message_id is the topic root.

4. Optionally add the first thread reply

If the user asked for an initial reply, use feishu_im_user_message.reply:

  • action=reply
  • message_id=\x3Ctopic root message_id>
  • reply_in_thread=true
  • msg_type=text
  • content={"text":"\x3Creply text>"}

If an @mention is requested, format it directly in the text:

\x3Cat user_id="ou_xxx">Name\x3C/at> 回复内容

Use the current user open_id when the user says @我.

5. When carrying context into a new topic, keep it simple

For context carry-over + new question, prefer one single top-level message. Do not add a second seed reply unless the user explicitly wants one, because two user messages may trigger two assistant replies.

Use a simple structure:

\x3C标题>

问题:...

前情提要:...

Or, when a short summary reads better:

\x3C标题>

问题:...

前情提要:
- ...
- ...

Rules:

  • Put the real question first.
  • Keep the summary short.
  • Do not add extra instruction-y wording unless absolutely needed.
  • The goal is not to outsmart the model; the goal is to make the follow-up obvious.

Example:

HALO:自由现金流指数有什么区别

问题:
A股里自由现金流目前有几个主流指数?它们分别有什么区别?

前情提要:
- 刚讨论过 HALO 在 A 股的映射,涉及资源、能源、公用事业、电网、交运、央企红利、现金流。
- 这次只是在这个基础上继续追问自由现金流指数。

Parsing guidance

Treat all of the following as likely triggers:

  • 开话题:标题
  • 开个话题:标题
  • 开个新话题:标题
  • /topic 标题
  • /topic 标题|正文
  • 新开一个话题,然后在话题里回复一条
  • 开话题: 标题, 然后在话题里回复 1 条测试并且 at 我

Useful parsing rules:

  • Split on the first / : to isolate the command from the payload.
  • Treat / | as a likely separator between title and first reply.
  • Phrases like 然后回复一条, 回一条, 在话题里回复, 并且 at 我, @我 indicate an in-thread follow-up.
  • Phrases like 把前面几条带过去, 把刚才聊的内容带过去, 新开一个话题聊这个, 继续追问, 新的追问 indicate a context-carrying seed reply rather than a plain freeform reply.
  • If only one segment exists, treat it as topic text only.

Do not overfit parsing. If the message is ambiguous, ask one short clarification question.

Tool preference

Prefer the validated user-message path for this skill:

  • feishu_im_user_message.send
  • feishu_im_user_message.reply

Reason: this path has been validated end-to-end for:

  • topic creation
  • in-thread reply
  • @mention markup

Do not rely on ordinary assistant reply routing to create a fresh topic.

Report back

After success, tell the user briefly:

  • target group
  • topic text/title used
  • whether a thread reply was added
  • whether an @mention was included

Keep it short.

Boundaries

  • This skill only works as intended in a Feishu topic-group.
  • This skill does not create Feishu groups.
  • This skill should not silently send as the user unless the user explicitly asked.
  • This skill is for topic bootstrapping: create the topic, optionally seed the first thread reply, then let later conversation continue inside that topic.
  • If the user wants a normal group message instead of a topic, do not force this skill.

Minimal examples

Example 1: topic only

User:

开话题:测试 4

Action:

  • resolve the configured default topic-group (or ask the user which group to use)
  • send top-level 测试 4

Example 2: topic + thread reply

User:

开话题:测试 3|不 @ 的线程回复测试

Action:

  • create top-level 测试 3
  • reply in thread with 不 @ 的线程回复测试

Example 3: topic + thread reply + @me

User:

开话题:测试 2|@我 再测一次

Action:

  • create top-level 测试 2
  • reply in thread with:
\x3Cat user_id="ou_xxx">Name\x3C/at> 再测一次

Example 4: carry context + ask one new question cleanly

User:

开个新话题聊这个,把前面几条带过去,然后追问:自由现金流有几个指数?有什么区别?

Action:

  • create a fresh topic title focused on the new question
  • send one top-level topic-opening message
  • put 问题:... first
  • then add a short 前情提要:...
  • do not add a second seed reply unless the user explicitly asks for one
Usage Guidance
This skill appears coherent and low-risk: it will send messages into Feishu topic-groups as the authenticated user and may read minimal recent conversation context if asked to carry context into a new topic. Before installing, confirm (1) which Feishu account the agent will use to post, (2) that the account has permission to post in the configured default topic-group in TOOLS.md, and (3) you’re comfortable granting the agent access to the chat history it may pull for context carry-over. Because it can post as the user, be cautious about enabling autonomous invocation if you do not want the agent to send messages without explicit approval.
Capability Analysis
Type: OpenClaw Skill Name: feishu-new-chat Version: 0.1.2 The skill bundle 'feishu-new-chat' (SKILL.md) is designed to automate the creation of topics and threaded replies in Feishu topic-groups. It utilizes standard Feishu API tools (feishu_im_user_message and feishu_chat) to send messages on behalf of the user, but includes explicit instructions to ensure user consent and proper authorization. No indicators of data exfiltration, malicious execution, or unauthorized access were found.
Capability Assessment
Purpose & Capability
The name/description describe creating a Feishu topic and optionally posting the first in-thread reply. The instructions reference only Feishu chat/message APIs (feishu_chat.search, feishu_im_user_message.send/reply) and a configurable default in TOOLS.md — all proportional to that purpose.
Instruction Scope
SKILL.md stays focused on resolving the target group, parsing user intent, creating a top-level topic, and optionally posting a thread reply and mentions. It does assume access to the user's Feishu identity (open_id) for '@我' and may request carrying minimal prior conversation context into a new topic — which requires access to recent conversation history. This is within the feature scope but is a privacy consideration the user should be aware of.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk and no external downloads occur.
Credentials
The skill declares no required environment variables or external credentials in the registry metadata. It does rely on the platform-provided Feishu messaging tool and user auth (as documented). Those dependencies are appropriate and expected for posting as the user in Feishu.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistent presence. It instructs the agent to use existing Feishu user auth; it does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-new-chat
  3. After installation, invoke the skill by name or use /feishu-new-chat
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
Remove the hardcoded local topic-group name from the public skill and make the default target group generic/config-driven.
v0.1.1
Simplify follow-up format: put the question first, keep a short context summary after it, and use one top-level message when carrying context into a new topic.
v0.1.0
Initial public release: create a new Feishu topic in a topic-group, optionally seed the first thread reply, and optionally @mention a user.
Metadata
Slug feishu-new-chat
Version 0.1.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Feishu New Chat?

Create a new topic in a Feishu topic-group, and optionally add the first in-thread reply (with optional @mention) by sending as the user. Use when the user s... It is an AI Agent Skill for Claude Code / OpenClaw, with 307 downloads so far.

How do I install Feishu New Chat?

Run "/install feishu-new-chat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu New Chat free?

Yes, Feishu New Chat is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu New Chat support?

Feishu New Chat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu New Chat?

It is built and maintained by dxxbb (@dxxbb); the current version is v0.1.2.

💬 Comments