Agent skill

Feishu Document Updater

by op7418 in op7418/CodePilot

Updates Feishu cloud documents in seven modes, from appending and replacing text to inserting or deleting a section, locating content by text range or heading.

Custom licenceAuto-check passedProductivity & Automation

SKILL.md written in Chinese; this summary is our English description.

Install Feishu Document Updater

skills CLI
$ npx skills add op7418/CodePilot --skill feishu-update-doc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install op7418/CodePilot feishu-update-doc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/op7418/CodePilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'资料/feishu-openclaw-plugin/package/skills/feishu-update-doc' .claude/skills/feishu-update-doc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
feishu-update-doc
GitHub stars
6.5k
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
184 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
Custom licence

At a glance

Updates Feishu cloud documents in seven modes, from appending and replacing text to inserting or deleting a section, locating content by text range or heading.

  • Works in 2 steps: 范围匹配:开头内容...结尾内容 → 精确匹配:完整内容(不含 ...)
  • Appending new content to the end of a Feishu document
  • SKILL.md covers selection_with_ellipsis - 内容定位, selection_by_title - 标题定位, new_title and 成功, plus 15 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

The skill describes a Feishu document update tool with seven modes: append, overwrite, replace_range, replace_all, insert_before, insert_after and delete_range. It advises preferring the targeted modes and using overwrite sparingly, because overwrite clears the document and rewrites it, which can lose images and comments. The document is identified by an id or URL.

Targeted modes locate content either with `selection_with_ellipsis`, which matches either a range given as the opening and closing text joined by an ellipsis or an exact string, with literal dots escaped, or with `selection_by_title`, which selects a whole section from its heading. `replace_range` requires a unique match, while `replace_all` replaces every match, reports a `replace_count`, errors if nothing matches and treats an empty replacement as deletion. An optional `new_title` sets the title as plain text of up to 800 characters. Large documents can return a `task_id` for an asynchronous update, which you check by calling again with only that id.

When your agent uses it

  • Appending new content to the end of a Feishu document
  • Replacing one section of a Feishu doc by its heading
  • Replacing every occurrence of a term across a document
  • Inserting or deleting text at a specific spot in a Feishu doc

Example prompts

  • “Append this week's meeting summary to the end of the project notes doc in Feishu.”
  • “Replace the section titled Feature Overview with the updated text.”
  • “Change every mention of the old product name in the Feishu doc to the new one.”

Requirements

  • A Feishu account with access to the document
  • The Feishu plugin that provides the `feishu__update_doc` tool

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. 范围匹配:开头内容...结尾内容
  2. 精确匹配:完整内容(不含 ...)

What it can do on your machine

Read from SKILL.md and the folder at commit 1ae6d76. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feishu Document Updater loads about 1.1k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 184 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 184 words (~1,131 tokens).

name
feishu-update-doc

Read the full SKILL.md on GitHub

Files

Just SKILL.md in 资料/feishu-openclaw-plugin/package/skills/feishu-update-doc of op7418/CodePilot.

Open the folder on GitHubat commit 1ae6d76

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in op7418/CodePilot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Feishu Document Updater next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Feishu Document Updater compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feishu Document Updater this skillop7418/CodePilot6.5k1 repos~1.1kAutomated safety check: PassCustom licence
Google Workspace CLILeoYeAI/openclaw-master-skills2.2k—~2.6kAutomated safety check: NotesMIT
aai-cli Google Driveaai-labs/agent-barn109—~463Automated safety check: PassApache-2.0
Googledocs AutomationComposioHQ/awesome-claude-skills77k3 repos~1.4kAutomated safety check: PassNone
Googleslides AutomationComposioHQ/awesome-claude-skills77k3 repos~1.4kAutomated safety check: PassNone
MoviePilot API Gatewayjxxghp/MoviePilot12k—~5.3kAutomated safety check: PassGPL-3.0

Similar skills

  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check: notes
  • aai-cli Google Drive

    aai-labs/agent-barn

    Finds, inspects, downloads and uploads Google Drive files from the command line with aai-cli, including exports of Docs, Sheets and Slides, and read-only sharing checks.

    109 GitHub stars~463 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Googledocs Automation

    ComposioHQ/awesome-claude-skills

    Automate Google Docs tasks via Rube MCP (Composio): create, edit, search, export, copy, and update documents.

    77k GitHub starsUsed in 3 repos~1.4k tokens
    Productivity & AutomationAuto-check passed
  • Googleslides Automation

    ComposioHQ/awesome-claude-skills

    Automate Google Slides tasks via Rube MCP (Composio): create presentations, add slides from Markdown, batch update, copy from templates, get thumbnails.

    77k GitHub starsUsed in 3 repos~1.4k tokens
    Productivity & AutomationAuto-check passed
  • MoviePilot API Gateway

    jxxghp/MoviePilot

    Operates MoviePilot media, download, subscription and system functions through a structured moviepilot_api gateway that handles authentication and authorization on the host.

    12k GitHub stars~5.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Google Admin Automation

    ComposioHQ/awesome-claude-skills

    Automate Google Workspace Admin tasks via Rube MCP (Composio): manage users, groups, memberships, suspend accounts, create users, add aliases.

    77k GitHub starsUsed in 3 repos~1.7k tokens
    Productivity & AutomationAuto-check passed

More from op7418/CodePilot

All 9 skills in this repo
  • Creates, queries and edits Feishu Bitable tables through tool calls, covering records, fields, views and batch operations with the correct value format for each field type.

    6.5k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Feishu Doc Creator

    op7418/CodePilot

    Creates a new Feishu cloud document from Lark-flavored Markdown through the create-doc MCP tool, in a folder, wiki node or knowledge space.

    6.5k GitHub starsUsed in 1 repo~3.1k tokens
    Auto-check passed
  • Feishu Document Fetcher

    op7418/CodePilot

    Fetches the content of Feishu cloud documents as Markdown, with steps for downloading embedded images, files and whiteboards and for resolving wiki links.

    6.5k GitHub starsUsed in 1 repo~554 tokens
    Auto-check passed
  • Feishu Message Reader

    op7418/CodePilot

    Reads Feishu chat history, thread replies and cross-chat search results, and downloads images and files attached to messages.

    6.5k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Feishu Task Manager

    op7418/CodePilot

    Creates, queries, updates and completes Feishu tasks and task lists through two task tools, with notes on member roles and time formats.

    6.5k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Feishu Troubleshoot

    op7418/CodePilot

    飞书插件问题排查工具。包含常见问题 FAQ 和深度诊断命令(/feishudoctor). An agent skill from op7418/CodePilot.

    6.5k GitHub starsUsed in 1 repo~265 tokens
    Auto-check passed

Works with

Questions about Feishu Document Updater

What does Feishu Document Updater do?

Updates Feishu cloud documents in seven modes, from appending and replacing text to inserting or deleting a section, locating content by text range or heading. The skill describes a Feishu document update tool with seven modes: append, overwrite, replace_range, replace_all, insert_before, insert_after and delete_range. It advises preferring the targeted modes and using overwrite sparingly, because overwrite clears the document and rewrites it, which can lose images and comments.

When should I use Feishu Document Updater?

Feishu Document Updater fits situations like: appending new content to the end of a Feishu document; replacing one section of a Feishu doc by its heading; replacing every occurrence of a term across a document; inserting or deleting text at a specific spot in a Feishu doc.

How do I install Feishu Document Updater in Claude Code?

Run `npx skills add op7418/CodePilot --skill feishu-update-doc -a claude-code`. Or copy the skill folder (资料/feishu-openclaw-plugin/package/skills/feishu-update-doc in op7418/CodePilot) into .claude/skills/feishu-update-doc in your project. Claude Code loads it when a task matches its description.

How do I install Feishu Document Updater in Codex?

Run `npx skills add op7418/CodePilot --skill feishu-update-doc -a codex`. Or copy the skill folder (资料/feishu-openclaw-plugin/package/skills/feishu-update-doc in op7418/CodePilot) into .agents/skills/feishu-update-doc in your project. Codex loads it when a task matches its description.

Can I use Feishu Document Updater in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add op7418/CodePilot --skill feishu-update-doc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feishu-update-doc, .gemini/skills/feishu-update-doc, .github/skills/feishu-update-doc and .opencode/skills/feishu-update-doc in your project.

What does Feishu Document Updater need to run?

SKILL.md names no scripts, command-line tools or credentials: Feishu Document Updater is instructions for the agent only. Our summary lists: A Feishu account with access to the document; The Feishu plugin that provides the `feishu__update_doc` tool.

Does Feishu Document Updater access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Feishu Document Updater safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Feishu Document Updater use?

Feishu Document Updater has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Feishu Document Updater use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Feishu Document Updater?

Skills that share tags, products or a category with Feishu Document Updater: Google Workspace CLI (LeoYeAI/openclaw-master-skills, 2.2k stars), aai-cli Google Drive (aai-labs/agent-barn, 109 stars), Googledocs Automation (ComposioHQ/awesome-claude-skills, 77k stars) and Googleslides Automation (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feishu Document Updater?

op7418 (a GitHub user) maintains it in op7418/CodePilot, which has 6,495 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 22, 2026.

Source: op7418/CodePilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.