# feishu-image

feishu-image — a skill for Claude Code, Codex, Cursor and other platforms that sends images and screenshots to Feishu (Lark) messaging.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 278 installs · ★ 15 repo stars
- Author: zrong
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/zrong/skills/tree/HEAD/feishu-image/SKILL.md
- Updated: 2026-10-11
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/feishu-image

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add zrong/skills --skill feishu-image -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/feishu-image/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/feishu-image/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add zrong/skills --skill feishu-image -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/feishu-image/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add zrong/skills --skill feishu-image -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/feishu-image/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install zrong/skills feishu-image
```

2. **Manually: put the files in place**
- File: `.github/skills/feishu-image/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add zrong/skills --skill feishu-image -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/zrong/skills --path feishu-image
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/feishu-image/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add zrong/skills --skill feishu-image -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/zrong/skills/tree/HEAD/feishu-image/SKILL.md

## When to use it
- 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
- 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.png` to Feishu for user `ou_12345`

## Similar
- [feishu-lark](https://affpapa.org/en/nevibecode/skills/feishu-lark.md) — skill · 1600 installs
- [feishu-binding](https://affpapa.org/en/nevibecode/skills/feishu-binding.md) — skill · 1400 installs
- [feishu-user-plugin](https://affpapa.org/en/nevibecode/mcp/feishu-user-plugin.md) — MCP server · ★ 12 repo stars
- [add-feishu](https://affpapa.org/en/nevibecode/skills/add-feishu.md) — skill · 461 installs
- [feishu-notify](https://affpapa.org/en/nevibecode/skills/feishu-notify.md) — skill · 541 installs
- [feishu-channel-rules](https://affpapa.org/en/nevibecode/skills/feishu-channel-rules.md) — skill · 161 installs

From the same set: [zrong/skills](https://affpapa.org/en/nevibecode/by/zrong/skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
