coze-file-send SKILL.md skillA

coze-file-send from ethanyoq/skill-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ethanyoq/skill-hub/coze-file-send@git:20260912.84c6c93

Pins git:20260912.84c6c93 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ethanyoq/skill-hub
Path
archives/user-installed-skills/coze-file-send/c38411dafecd7435/coze-file-send/SKILL.md
Versions recorded
1
Latest version
git:20260912.84c6c93, committed Sep 12, 2026
Size
11,134 bytes
Repository stars
11
License
MIT

在 Coze 聊天里需要把文件、图片、截图、图表、PDF、报告或任何可视化/二进制产物送达用户时使用——本地文件 (你刚生成的) 和群文件 (你从 `coze agent` 拿到群文件路径的) 两种来源都走这个技能。聊天默认纯文本, 生成的文件不会自动送达用户。触发: 用户明说要看 ("把图发我"、"send me the chart"); 隐式产出 (你刚生成 plot.png 用户在等结果); 主动展示 (做完该让用户看到的文件); 群文件转发 (你通过 `coze agent` 命令上传/获取到群文件路径后)。不适用于: 纯文本回答、短代码块、大于 50MB 的本地文件。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# coze-file-send: 把文件 / 图片发给用户

你跟用户在 coze 平台聊天, 对话默认纯文本。生成的**图片 / PDF / 报告 / 图表**等文件用户**不会自动看到** — 必须用 `coze-bridge send` 主动发, 用户才能在聊天界面看到。

## 先决条件: 从 `<coze-context>` 提取身份 ID

**每条用户消息开头**云端会注入一段身份上下文块。Coze 有两种聊天形态, 上下文块格式不同:

**单聊消息**:
```
<coze-context>
单聊消息
account_id: 7639...001
agent_id: 7639...571
session_id: 7639...999
</coze-context>
```

**群聊消息** (多了 `group_id`):
```
<coze-context>
群聊消息
account_id: 7639...001
agent_id: 7639...571
session_id: 7639...999
group_id: 7639...888
</coze-context>
```

调 `coze-bridge send` 时**必须**用 `--agent-id` 和 `--session-id` flag 把对应 ID 带上。命令无状态, 每次调用都要带, 不带会 exit 4。

## 两种模式: 决策树

```
你要发的文件在哪里?
├─ 本地 (你刚生成 / cp 来的) → 模式 A (本地文件)
└─ 已在群文件里 (你从 coze agent 拿到 path) → 模式 B (群文件)
                                                 需要群聊上下文, 单聊场景没有这种 path
```

**关键差异**:

| 维度 | 模式 A: 本地文件 | 模式 B: 群文件 |
|---|---|---|
| 适用场景 | 单聊 / 群聊均可 | **仅群聊** (需要 group_id 来源) |
| `<path>` 含义 | 本地文件路径 | 群文件路径 (原样透传) |
| 是否上传 | 是 (走 HTTP API) | 否 (直接 WS 通知 IM) |
| `--mime` | 自动探测 (忽略) | **必填** |
| 大小限制 | ≤ 50MB | 无 (云端管) |

## 命令调用规范
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ethanyoq/skill-hub/coze-file-send@sha256:c0f5ce83f647e648

The line at the top of this page pins the label git:20260912.84c6c93, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fbwlq5uc4ulijnwj.svg)](https://markdownregistry.com/a/art_fbwlq5uc4ulijnwj)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 12, 2026.

versioncommittedcommitsizeaudit
git:20260912.84c6c93 latest2026-09-12 84c6c93 11,134 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11134 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ethanyoq/skill-hub · 11 stars · license MIT · pushed 2026-11-07 · branch mine

API

GET https://markdownregistry.com/api/v1/artifacts/art_fbwlq5uc4ulijnwj
GET https://markdownregistry.com/api/v1/resolve?ref=ethanyoq/skill-hub/coze-file-send
GET https://markdownregistry.com/api/v1/blob/c0f5ce83f647e6483771a30bc4259461ca842e2cc5ce46c59f0952213a881570

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ethanyoq/skill-hub

AGENTS.md AGENTS.md file
ethanyoq/skill-hub · AGENTS.md
git:20260730.c96ba6e · audit A · 11 stars
aact-bulk-trials SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/aact-bulk-trials/e07736f27453c7b6/aact-bulk-trials/SKILL.md · 使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据仓库进行批量、历史、聚合性临床试验数据挖掘。Use this skill when the user…
git:20260912.c74de71 · audit A · 11 stars
aact-bulk-trials SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/aact-bulk-trials/e171d39ba5bce7c9/aact-bulk-trials/SKILL.md · 使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据库进行大批量临床试验历史分析与数据挖掘。触发场景包括:AACT 查询、临床试验批量分析、PostgreSQL…
git:20260912.c74de71 · audit A · 11 stars
adaptive-quality-gate SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/adaptive-quality-gate/b5189ce6c1bdba9b/adaptive-quality-gate/SKILL.md · Use when work produces a deliverable, factual claim, dataset, code change, decision, publication, deployment…
git:20260912.c74de71 · audit A · 11 stars
add-changeset SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/add-changeset/eca9273317fbdf81/add-changeset/SKILL.md · Create a changeset file in .changeset/ that describes a user-facing change for the release notes
git:20260912.84c6c93 · audit A · 11 stars
add-competitor SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/add-competitor/72939df8cfcf87bc/add-competitor/SKILL.md · Add a new competitor to the AI Visibility Tool Directory — researches the tool, generates data, takes a screenshot, and…
git:20260912.84c6c93 · audit A · 11 stars
add-lang SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/add-lang/00700e7d79525f4e/add-lang/SKILL.md · Add tree-sitter language support to codegraph end-to-end — wire the grammar + extractor, write tests, then benchmark…
git:20260912.84c6c93 · audit A · 11 stars
aesthetic SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/aesthetic/a4c80565d9241341/aesthetic/SKILL.md · Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing…
git:20260912.84c6c93 · audit A · 11 stars
agent-eval SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/agent-eval/61ca5bbbd5c736b7/agent-eval/SKILL.md · Benchmark CodeGraph retrieval quality on a real codebase by comparing agent behavior with vs without CodeGraph. Use…
git:20260912.84c6c93 · audit A · 11 stars
agent-reach SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/agent-reach/330e35da8cf10b5e/agent-reach/SKILL.md · MUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g. 全网调研 X / 帮我调研一下 X / 查一下 X…
git:20260912.84c6c93 · audit A · 11 stars
agent-reach SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/agent-reach/81c9cf0fc08ce044/agent-reach/SKILL.md · MUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g. 全网调研 X / 帮我调研一下 X / 查一下 X…
git:20260912.84c6c93 · audit A · 11 stars
aliyun-swas-manage SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/aliyun-swas-manage/1f89c6ea527741b3/aliyun-swas-manage/SKILL.md · Use when managing Alibaba Cloud Simple Application Server (SWAS OpenAPI 2020-06-01) resources end-to-end, including…
v1.0.0 · audit A · 11 stars

Every file in ethanyoq/skill-hub

Browse by kind, by grade A, or by owner.