feishu-cli is a command-line tool for controlling the Feishu collaboration platform, including documents, knowledge bases, spreadsheets, messages, calendars, and tasks. People and AI coding agents use it to manage Feishu through commands, with particular support for converting Markdown to Feishu documents and back. Its catalogue skills provide ready-made AI-agent workflows for these operations.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/riba2534/feishu-clinpx agentmods add skills/riba2534/feishu-cli/feishu-cli-visualWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-visual)<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-visual"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-visual/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/riba2534/feishu-cli/feishu-cli-visual"><img src="https://agentmods.dev/badge/skills/riba2534/feishu-cli/feishu-cli-visual.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00217 | $0.01345 |
| Opus 5.5 | $0.00087 | $0.00538 |
| Sonnet 5.5 | $0.00043 | $0.00269 |
| Haiku 4.5 | $0.00022 | $0.00135 |
Grade A, and why
feishu-cli-visual scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
飞书可视化与展示
加载工作流后,将其中 references/、scripts/、templates/、examples/ 相对路径按该
workflow.md 所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。
仅在目标是飞书产物时选择下列载体;用户只要本地文件时保留原交付方式。 飞书载体尚未确定时先读 dataviz;已明确载体时直接读取对应工作流。
路由
| 意图 | 读取文件 |
|---|---|
| 未指定载体的数据图表、配色和形式选择 | references/workflows/dataviz/workflow.md |
| 静态画板:SVG/Mermaid/PlantUML 导入、手写节点、取回源码、克隆、质检、导出 | references/workflows/board/workflow.md |
| Slides 幻灯片/PPT:创建、读 XML、按页增删改、截图预览、上传图片 | references/workflows/slides/workflow.md |
| 文档内动态、交互、CSS/JS、ECharts、3D、window.magic 小程序 | references/workflows/htmlbox/workflow.md |
| 妙搭 HTML 应用:创建、发布、查发布状态、访问范围 | references/workflows/apps/workflow.md |
载体边界
- 飞书文档内动态或交互:htmlbox。
- 飞书静态画板且节点可编辑:board。
- 飞书演示文稿:slides。
- 用户要求发布为妙搭 HTML 应用:apps。
- 要消息通知卡片:
feishu-cli-messaging的 card 工作流。
执行规则
- 身份:board、
doc htmlbox、slides 的写命令默认 Bot;操作用户已有的文档、画板或演示文稿时显式传--user-access-token(或FEISHU_USER_ACCESS_TOKEN)。Slides 新建优先用 User:应用未开通 tenant 的slides:presentation:create时 Bot 创建报 99991672(exit 3)。apps全部命令必须 User Token + spark scope。 - 破坏性操作先问用户:
board delete、slides delete-slide、把妙搭应用设为--scope public前先向用户确认。board import/update/create-notes --overwrite会清空整张画板(含其他图表),board update --overwrite先加--snapshot old.json留备份;board delete没有确认门禁、立即执行。删除类命令以退出码 10 返回时是在等确认, 不要自行补--yes,先取得用户同意。 - 不重复写入:画板写入结果不明时,
board update/svg-import/create-notes/import --engine local用同一个--client-token重跑;服务端board import不接受 client token(CLI 自动重试前会回读去重), 命令失败后要重跑先用board nodes确认上次没有落地。 - 妙搭发布需用户明确同意:先
apps html-publish --dry-run,确认would_block=false;--wait或apps release get看到finished才算发布完成,online_url默认仅创建者可见。 - 落地后自检:画板用
board image看缩略图(写入后可能滞后 10–20 秒)、Slides 用slides screenshot、 HTMLBox 落库前跑verify.sh;改动色板或底色后运行 dataviz 校验脚本,原样使用已校验色板无需重复验证。
主题和风格是默认选项,优先满足用户指定的品牌色、明暗主题和载体,并验证可读性。
删除、覆盖类命令返回退出码 10 时,向用户确认目标与影响后追加全局 --yes 重跑,不要自行添加。身份或 scope 报错(如 99991663/99991668/99991672/99991679)读取 ../feishu-cli-platform/references/workflows/auth/references/identity.md;判断成败、编写脚本或处理确认门禁读取 ../feishu-cli-platform/references/workflows/auth/references/agent-contract.md。
What ships with it
41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 5.5 KB
- references/workflows/apps/workflow.md 9.3 KB
- references/workflows/board/references/basic-commands.md 7.9 KB
- references/workflows/board/references/connectors.md 3.0 KB
- references/workflows/board/references/content.md 1.4 KB
- references/workflows/board/references/examples-real.md 14 KB
- references/workflows/board/references/layout.md 6.6 KB
- references/workflows/board/references/mermaid-engines.md 6.7 KB
- references/workflows/board/references/node-api.md 9.3 KB
- references/workflows/board/references/pitfalls.md 8.7 KB
- references/workflows/board/references/plantuml-safe-subset.md 3.0 KB
- references/workflows/board/references/schema.md 12 KB
- references/workflows/board/references/style.md 8.4 KB
- references/workflows/board/references/svg-workflow.md 17 KB
- references/workflows/board/references/typography.md 2.3 KB
- references/workflows/board/scripts/svg_to_board.py 15 KB runs code
- references/workflows/board/scripts/test_svg_to_board.py 8.3 KB runs code
- references/workflows/board/workflow.md 22 KB
- references/workflows/dataviz/references/anti-patterns.md 4.7 KB
- references/workflows/dataviz/references/choosing-a-form.md 3.3 KB
- references/workflows/dataviz/references/palette.md 11 KB
- references/workflows/dataviz/scripts/check_docs.js 6.2 KB runs code
- references/workflows/dataviz/scripts/palette.json 5.5 KB
- references/workflows/dataviz/scripts/validate_palette.js 21 KB runs code
- references/workflows/dataviz/workflow.md 6.5 KB
- references/workflows/htmlbox/examples/supervisor.json 2.2 KB
- references/workflows/htmlbox/references/animated-flowchart.md 3.1 KB
- references/workflows/htmlbox/references/gallery.md 26 KB
- references/workflows/htmlbox/references/geo-3d.md 14 KB
- references/workflows/htmlbox/references/mechanism.md 3.3 KB
- references/workflows/htmlbox/references/pattern-schema.md 2.3 KB
- references/workflows/htmlbox/references/pitfalls.md 12 KB
- references/workflows/htmlbox/references/window-magic.md 7.6 KB
- references/workflows/htmlbox/scripts/animate_diagram.py 31 KB runs code
- references/workflows/htmlbox/scripts/test_animate_diagram.py 2.5 KB runs code
- references/workflows/htmlbox/scripts/test_verify_html.py 4.1 KB runs code
- references/workflows/htmlbox/scripts/verify_html.py 5.7 KB runs code
- references/workflows/htmlbox/scripts/verify.sh 338 B runs code
- references/workflows/htmlbox/workflow.md 9.5 KB
- references/workflows/slides/references/xml-schema-quick-ref.md 4.6 KB
- references/workflows/slides/workflow.md 14 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago Changed · +18 lines · +107 tokens per session 07095f4c240d
- 1mo ago Changed · -3 lines · -57 tokens per session 345855363fa8
- 1mo ago First seen · 40 lines · 167 tokens per session scan A a846ad9160d6
feishu-cli-visual is a skill published in the GitHub repository riba2534/feishu-cli (1,425 stars, last pushed 15d ago), licensed MIT. It adds 217 tokens to every session and 1,345 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.