feishu-update-doc

feishu-update-doc is a skill for Claude Code, Codex from larksuite/openclaw-lark. It costs 40 tokens per session (2,144 once invoked), scanned A, a copy of feishu-update-doc, MIT.

A guide for updating Feishu cloud documents, including replacing, adding, inserting, or deleting selected content.

In plain words
What is it for?
Use it to make local or full-document edits, update titles, append content, insert text around a match, or remove a selected range.
Why use it?
It helps target the intended text or section and reduces the risk of clearing unrelated document content, images, or comments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to make local or full-document edits, update titles, append content, insert text around a match, or remove a selected range.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/larksuite/openclaw-lark/feishu-update-doc
About the project

OpenClaw Lark/Feishu Plugin connects an OpenClaw agent to Lark or Feishu workspaces, allowing it to work with messages, documents, databases, spreadsheets, calendars, and tasks. It is for OpenClaw users who want their agent to read and update Lark/Feishu workspace data. The catalogue skills provide the agent workflows for operating those connected workspace features.

larksuite/openclaw-lark · 2,374 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add larksuite/openclaw-lark --skill feishu-update-doc
Clone the repo
git clone --depth 1 https://github.com/larksuite/openclaw-lark

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for feishu-update-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/larksuite/openclaw-lark/feishu-update-doc/github.svg)](https://agentmods.dev/skills/larksuite/openclaw-lark/feishu-update-doc)
Your own site
<a href="https://agentmods.dev/skills/larksuite/openclaw-lark/feishu-update-doc"><img src="https://agentmods.dev/badge/skills/larksuite/openclaw-lark/feishu-update-doc/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.

agentmods 80×15 button for feishu-update-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/larksuite/openclaw-lark/feishu-update-doc"><img src="https://agentmods.dev/badge/skills/larksuite/openclaw-lark/feishu-update-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.02144
Opus 5 $0.00020 $0.01072
Sonnet 5 $0.00008 $0.00429
Haiku 4.5 $0.00004 $0.00214

Measured 9d ago against content hash 88290c8674d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

feishu-update-doc 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 9d 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.

Origin

This is a copy

89% identical to feishu-update-doc — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/feishu-update-doc/SKILL.md · 286 lines

How it starts

The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.

feishu__update_doc

更新飞书云文档内容,支持 7 种更新模式。优先使用局部更新(replace_range/append/insert_before/insert_after),慎用 overwrite(会清空文档重写,可能丢失图片、评论等)。

定位方式

定位模式(replace_range/replace_all/insert_before/insert_after/delete_range)支持两种定位方式,二选一:

selection_with_ellipsis - 内容定位

支持两种格式:

  1. 范围匹配开头内容...结尾内容

    • 匹配从开头到结尾的所有内容(包含中间内容)
    • 建议 10-20 字符确保唯一性
  2. 精确匹配完整内容(不含 ...

    • 匹配完整的文本内容
    • 适合替换短文本、关键词等

转义说明:如果要匹配的内容本身包含 ...,使用 \.\.\. 表示字面量的三个点。

示例:

  • 你好...世界 → 匹配从"你好"到"世界"之间的任意内容
  • 你好\.\.\.世界 → 匹配字面量 "你好...世界"

建议:如果文档中有多个 ...,建议使用更长的上下文来精确定位,避免歧义。

selection_by_title - 标题定位

格式:## 章节标题(可带或不带 # 前缀)

自动定位整个章节(从该标题到下一个同级或更高级标题之前)。

示例

  • ## 功能说明 → 定位二级标题"功能说明"及其下所有内容
  • 功能说明 → 定位任意级别的"功能说明"标题及其内容

可选参数

new_title

更新文档标题。如果提供此参数,将在更新文档内容后同步更新文档标题。

特性

  • 仅支持纯文本,不支持富文本格式
  • 长度限制:1-800 字符
  • 可以与任何 mode 配合使用
  • 标题更新在内容更新之后执行

返回值

成功

{
  "success": true,
  "doc_id": "文档ID",
  "mode": "使用的模式",
  "message": "文档更新成功(xxx模式)",
  "warnings": ["可选警告列表"],
  "log_id": "请求日志ID"
}

异步模式(大文档超时)

{
  "task_id": "async_task_xxxx",
  "message": "文档更新已提交异步处理,请使用 task_id 查询状态",
  "log_id": "请求日志ID"
}

使用返回的 task_id 再次调用 update-doc(仅传 task_id 参数)查询状态。

错误

{
  "error": "[错误码] 错误消息\n💡 Suggestion: 修复建议\n📍 Context: 上下文信息",
  "log_id": "请求日志ID"
}

使用示例

append - 追加到末尾

{
  "doc_id": "文档ID或URL",
  "mode": "append",
  "markdown": "## 新章节\n\n追加的内容..."
}

replace_range - 定位替换

使用 selection_with_ellipsis

{
  "doc_id": "文档ID或URL",
  "mode": "replace_range",
  "selection_with_ellipsis": "## 旧章节标题...旧章节结尾。",
  "markdown": "## 新章节标题\n\n新的内容..."
}

使用 selection_by_title(替换整个章节):

{
  "doc_id": "文档ID或URL",
  "mode": "replace_range",
  "selection_by_title": "## 功能说明",
  "markdown": "## 功能说明\n\n更新后的功能说明内容..."
}

replace_all - 全文替换

与 replace_range 类似,但支持多处同时替换(replace_range 要求匹配唯一):

{
  "doc_id": "文档ID或URL",
  "mode": "replace_all",
  "selection_with_ellipsis": "张三",
  "markdown": "李四"
}

Read the full file on GitHub · 286 lines

Changes

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.

  1. 9d ago First seen · 286 lines · 40 tokens per session scan A 88290c8674d0

Subscribe to this mod's changes

feishu-update-doc is a skill published in the GitHub repository larksuite/openclaw-lark (2,374 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 2,144 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to feishu-update-doc, differing in 11 lines, and is treated as a copy.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens