feishu-image — Claude Code skill: send images and screenshots to Feishu
feishu-image — a skill for Claude Code, Codex, Cursor and other platforms that sends images and screenshots to Feishu (Lark) messaging.
no license 278 installs ★ 15 updated 2026-10-11
npx skills add zrong/skills --skill feishu-image -a claude-codeWhat feishu-image does
The skill operates in two modes. Inside OpenClaw it reads Feishu configuration automatically and requires no setup. Used standalone via CLI or Node.js library, it needs environment variables FEISHU_APP_ID and FEISHU_APP_SECRET. Before the first run, create an app in the Feishu Developer Console, enable permissions for image upload (im:resource) and sending messages (im:message), then publish it to your organization.
From the CLI, node feishu-image.js --image path/to/file.png --to ou_identifier sends an image to a user; the --chat flag targets a group instead. Add text with --text. At the code level, instantiate FeishuImage with appId and appSecret, then call sendImage() with the file path and recipient ID. Errors are coded: MISSING_CREDENTIALS means keys are not set; AUTH_FAILED indicates wrong app credentials; FILE_NOT_FOUND means the file does not exist; UPLOAD_FAILED or SEND_FAILED signal network or permission issues. File size and supported formats (PNG, JPG, GIF) are governed by the Feishu API.
What it helps with
- send a screenshot to Feishu directly from your code editor
- upload diagrams or charts to Feishu servers and share with teammates
- automate delivery of visual content to Feishu groups
- integrate image sending into CI/CD pipelines
Example prompts for the agent
- Take a screenshot and send it to my Feishu contact
- Export this table as PNG and post the chart to the Feishu team group
- Upload
report.pngto Feishu for userou_12345
How to install feishu-image
1Skills CLI (Vercel)
npx skills add zrong/skills --skill feishu-image -a claude-code2Manually: put the files in place
~/.claude/skills/feishu-image/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/feishu-image/
1Skills CLI (Vercel)
npx skills add zrong/skills --skill feishu-image -a codex2Manually: put the files in place
.agents/skills/feishu-image/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add zrong/skills --skill feishu-image -a cursor2Manually: put the files in place
.cursor/skills/feishu-image/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install zrong/skills feishu-image2Manually: put the files in place
.github/skills/feishu-image/SKILL.md1Skills CLI (Vercel)
npx skills add zrong/skills --skill feishu-image -a gemini-cli2Platform CLI
gemini skills install https://github.com/zrong/skills --path feishu-imageManually: put the files in place
.devin/skills/feishu-image/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add zrong/skills --skill feishu-image -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about feishu-image
How do I install feishu-image in Claude Code?
Run npx skills add zrong/skills --skill feishu-image -a claude-code. The skill installs to ~/.claude/skills/feishu-image/. For other platforms, change the -a flag: codex, cursor, gemini-cli, or opencode.
What credentials does feishu-image need?
Create an app in the Feishu Developer Console, get its App ID and App Secret, and set them as environment variables FEISHU_APP_ID and FEISHU_APP_SECRET. Inside OpenClaw, config loads automatically. The app must have permissions for im:resource (upload) and im:message (send).
Can I use feishu-image as a standalone tool outside OpenClaw?
Yes. Use Node.js or CLI: node feishu-image.js --image path/to/file.png --to ou_identifier. This requires app credentials in environment variables or a .env file.