# Send Feishu File to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "feishu-file",
    "name": "Feishu File",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/franklu0819-lang/feishu-file",
    "canonicalUrl": "https://clawhub.ai/franklu0819-lang/feishu-file",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/feishu-file",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-file",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "package.json",
      "scripts/send_file.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "feishu-file",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T01:59:30.247Z",
      "expiresAt": "2026-05-07T01:59:30.247Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-file",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-file",
        "contentDisposition": "attachment; filename=\"feishu-file-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "feishu-file"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/feishu-file"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/feishu-file",
    "downloadUrl": "https://openagent3.xyz/downloads/feishu-file",
    "agentUrl": "https://openagent3.xyz/skills/feishu-file/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-file/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-file/agent.md"
  }
}
```
## Documentation

### Feishu File Sender

A skill to send local files to Feishu users or groups.

### Setup

Requires Feishu App credentials. Ensure these are set in your environment or openclaw.json:

export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"
export FEISHU_RECEIVER="ou_xxx" # Default receiver (optional)

### Basic Usage

Send a file to the default receiver (configured in FEISHU_RECEIVER):

bash scripts/send_file.sh "/path/to/your/file.pdf"

### Specific Receiver

Send to a specific OpenID:

bash scripts/send_file.sh "/path/to/report.xlsx" "ou_abcdef123456"

### Different Receiver Types

Send to a Group (chat_id):

bash scripts/send_file.sh "/path/to/archive.zip" "oc_abcdef123456" "chat_id"

Supported types: open_id, user_id, chat_id, email.

### scripts/send_file.sh

The main script that handles the 3-step process:

Auth: Obtains a tenant_access_token.
Upload: Uploads the file to Feishu's internal storage using POST /im/v1/files.
Send: Sends the file message using POST /im/v1/messages.

### Permissions Required

The Feishu App must have the following permissions:

im:message (Send and receive messages)
im:message:send_as_bot (Send messages as bot)
im:resource (Access and upload resources)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: franklu0819-lang
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T01:59:30.247Z
- Expires at: 2026-05-07T01:59:30.247Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/feishu-file)
- [Send to Agent page](https://openagent3.xyz/skills/feishu-file/agent)
- [JSON manifest](https://openagent3.xyz/skills/feishu-file/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/feishu-file/agent.md)
- [Download page](https://openagent3.xyz/downloads/feishu-file)