Feishu-skills feishu-message

Unified CLI for Feishu (Lark) messaging operations including fetching messages by ID, sending audio voice bubbles, creating group chats, listing pinned messages, and adding emoji reactions.

install
source · Clone the upstream repo
git clone https://github.com/autogame-17/feishu-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/autogame-17/feishu-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/feishu-message" ~/.claude/skills/autogame-17-feishu-skills-feishu-message && rm -rf "$T"
manifest: feishu-message/SKILL.md
source content

feishu-message

Unified CLI for Feishu messaging -- fetch, send audio, create chats, list pins, and add reactions through a single entry point.

Prerequisites

  • feishu-common
    installed with valid
    FEISHU_APP_ID
    and
    FEISHU_APP_SECRET
    .

Commands

All commands use the unified CLI:

node skills/feishu-message/index.js <command> [options]

Get Message

Fetch message content by ID. Use

--recursive
for merged/forwarded messages.

node skills/feishu-message/index.js get <message_id> [--raw] [--recursive]

Send Audio

Send an audio file as a voice bubble to a user or chat.

node skills/feishu-message/index.js send-audio --target <ou_xxx|oc_xxx> --file <path> [--duration <ms>]
  • --target
    : User OpenID (
    ou_
    ) or ChatID (
    oc_
    ).
  • --file
    : Path to audio file (mp3/wav/etc).
  • --duration
    : (Optional) Duration in ms.

Create Group Chat

Create a new group chat with specified users.

node skills/feishu-message/index.js create-chat --name "Project Alpha" --users "ou_1" "ou_2" --desc "Description"

List Pins

List pinned messages in a chat.

node skills/feishu-message/index.js list-pins <chat_id>

Add Reaction

Add an emoji reaction to a message.

node skills/feishu-message/reaction.js --message-id <msg_id> --type <emoji_type>

Supported types:

THUMBSUP
(default),
HEART
,
LAUGH
,
WOW
,
SAD
,
ANGRY
.

Legacy Scripts

Standalone scripts remain available for backward compatibility:

get.js
,
send-audio.js
,
create_chat.js
,
list_pins_v2.js
.

Dependencies

  • axios
  • form-data
  • music-metadata
  • commander