Feishu-skills feishu-toolkit

Feishu Toolkit

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-toolkit" ~/.claude/skills/autogame-17-feishu-skills-feishu-toolkit && rm -rf "$T"
manifest: feishu-toolkit/SKILL.md
source content

Feishu Toolkit

Description: A consolidated, robust toolkit for Feishu operations (Image, Post, Doc, etc.). Currently features a safer image sender.

Commands

Send Image

Upload and send an image to a chat or user. Uses

util.parseArgs
for robust argument handling.

node skills/feishu-toolkit/send-image.js --target <id> --file <path>

Parameters:

  • --target
    (required): User OpenID (
    ou_...
    ) or Chat ID (
    oc_...
    )
  • --file
    (required): Path to local image file

Example:

node skills/feishu-toolkit/send-image.js --target $TARGET_USER_ID --file ./media/example.png

Internal APIs

  • uploadImage(token, filePath)
    : Uploads image and returns
    image_key
    (cached).
  • sendImageMessage(target, filePath)
    : Uploads and sends message.