Feishu Doc
openclaw/openclaw
Feishu document read/write workflows. An agent skill from openclaw/openclaw.
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collab --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/feishu-doc-collab .claude/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.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/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .claude/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collabType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collab --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/feishu-doc-collab .agents/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .agents/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collab --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/feishu-doc-collab .cursor/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .cursor/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/feishu-doc-collab--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collab --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/feishu-doc-collab .gemini/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .gemini/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collabInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/feishu-doc-collab .github/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .github/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills feishu-doc-collab --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/feishu-doc-collab .opencode/skills/feishu-doc-collab && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "feishu-doc-collab" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/feishu-doc-collab into .opencode/skills/feishu-doc-collab/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "feishu-doc-collab", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
feishu-doc-collabPatches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
A Feishu document edit fires a drive.file.edit_v1 event, which this skill's patched monitor turns into a call to an isolated agent session through /hooks/agent; the agent then reads the document, checks for new messages and appends a reply. Status flags such as a red editing marker and a green done marker stop the AI from replying while someone is still mid-sentence, and the bot ignores its own edits to avoid a reply loop.
Setup has five steps: enable hooks in openclaw.json with a generated token, run scripts/patch-monitor.sh to apply the monitor patch, set the agent's name and display name in config.json, restart the gateway, and copy the DOC_PROTOCOL_TEMPLATE.md into the workspace to define the participant roster. Messages inside the document follow a fixed format naming sender and receiver with a status flag, which supports several humans and several agents working in one document at once.
An optional Bitable integration adds a spreadsheet-style task board, triggered by a bitable_record_changed event, for teams that want structured task tracking alongside the free-form document chat.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (TypeScript and Shell), which the agent can run.
Shell commands in SKILL.md call:
bashopensslFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Feishu Document Collaboration loads about 2k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 201 tokens; SKILL.md has 726 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 726 words, ~1,999 tokens.
.claude/skills/feishu-doc-collab/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Turn any Feishu document into a real-time human-AI collaboration space.
This skill patches OpenClaw's Feishu extension to detect document edit events and trigger isolated agent sessions. Combined with a structured in-document chat protocol, it enables:
drive.file.edit_v1 — document edit eventsdrive.file.bitable_record_changed_v1 — (optional) bitable record changesopenclaw.json:{
"hooks": {
"enabled": true,
"token": "your-hooks-token-here"
}
}Add the hooks section if not present:
# Generate a random token
TOKEN=$(openssl rand -hex 16)
echo "Your hooks token: $TOKEN"
# Then add to openclaw.json:
# "hooks": { "enabled": true, "token": "<TOKEN>" }bash ./skills/feishu-doc-collab/scripts/patch-monitor.shThis patches monitor.ts in the Feishu extension to:
drive.file.edit_v1 events/hooks/agentEdit ./skills/feishu-doc-collab/config.json:
{
"agent_name": "MyBot",
"agent_display_name": "My AI Assistant"
}The patch script uses this to set up message routing (who the agent responds as).
openclaw gateway restartCopy the protocol template to your workspace:
cp ./skills/feishu-doc-collab/assets/DOC_PROTOCOL_TEMPLATE.md ./DOC_PROTOCOL.mdEdit DOC_PROTOCOL.md to fill in your participant roster.
User edits Feishu doc
↓
Feishu sends drive.file.edit_v1 event
↓
Patched monitor.ts receives event
↓
Checks: is this the bot's own edit? → Yes: skip (anti-loop)
↓ No
POST /hooks/agent with isolated session instructions
↓
Agent reads DOC_PROTOCOL.md for message format
↓
Agent reads the document, finds last message block
↓
Checks: status=🟢? addressed to me? not from me?
↓ Yes
Agent composes reply and appends to documentMessages in the document follow this format:
---
> **Sender Name** → **Receiver Name** | 🟢 完成
Your message content here.Status flags:
Routing:
→ AgentName — addressed to a specific AI agent→ all — broadcast to all participantsThis solves a critical problem: Feishu auto-saves continuously while typing, which would trigger multiple premature AI responses without the status flag mechanism.
For structured task management alongside document collaboration:
Create a Bitable with these fields:
Configure in config.json:
{
"bitable": {
"app_token": "your_bitable_app_token",
"table_id": "your_table_id"
}
}The patch also handles bitable_record_changed_v1 events for task routing.
⚠️ OpenClaw updates overwrite monitor.ts. After any update:
bash ./skills/feishu-doc-collab/scripts/patch-monitor.sh
openclaw gateway restartThe patch script is idempotent — safe to run multiple times.
| Field | Type | Required | Description |
|---|---|---|---|
agent_name | string | Yes | Internal name used in protocol routing |
agent_display_name | string | Yes | Display name shown in doc replies |
bitable.app_token | string | No | Bitable app token for task board |
bitable.table_id | string | No | Bitable table ID for task board |
The patch reads from ~/.openclaw/openclaw.json:
hooks.token — authentication for /hooks/agent endpointgateway.port — gateway port (default: 18789)Problem: Feishu sends multiple drive.file.edit_v1 and bitable_record_changed_v1 events
for a single logical edit. Bitable edits are especially bad — changing one record field can trigger
10-20+ events in rapid succession. Without debounce, each event spawns a separate isolated agent
session (using the full model), causing massive token waste.
Real-world impact: A single bitable task edit triggered 15+ Hook sessions consuming 350k+ tokens, all running in parallel and all reaching the same conclusion: "nothing to do".
Solution: 30-second debounce per fileToken (implemented in patch-monitor.sh v2):
Map<string, number> tracks the last trigger timestamp per file/table/hooks/agent call, so no session is createdBot self-edit loop: When the agent updates a bitable record (e.g., changing status to "处理完"),
that edit triggers MORE events. The bot self-edit check (comparing operator_id to botOpenId)
catches most of these, but the debounce provides a critical safety net for cases where the
operator ID doesn't match (e.g., API calls vs. bot identity).
Important: Already-running sessions cannot be stopped by debounce. If an event storm has already started, the sessions will run to completion. Debounce only prevents NEW triggers.
OpenClaw updates overwrite monitor.ts. After any update:
bash ./skills/feishu-doc-collab/scripts/patch-monitor.sh
openclaw gateway restartThe patch script is idempotent — checks for both /hooks/agent and _editDebounce markers.
drive.file.edit_v1 event subscription approvalCreated by dongwei. Inspired by the need for real-time human-AI collaboration in Chinese enterprise workflows using Feishu/Lark.
MIT
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references, assets) in skills/feishu-doc-collab of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Feishu Document Collaboration 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Feishu Document Collaboration this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~2k | Automated safety check: Pass | MIT | |
| Feishu Docopenclaw/openclaw | 392k | — | ~516 | Automated safety check: Pass | MIT | |
| Feishu Docraucvr/Group-Goki | 112 | 3 repos | ~592 | Automated safety check: Pass | MIT | |
| Feishu Driveraucvr/Group-Goki | 112 | 3 repos | ~587 | Automated safety check: Pass | MIT | |
| Feishu Permraucvr/Group-Goki | 112 | 3 repos | ~630 | Automated safety check: Pass | MIT | |
| Feishu Safety GuideSafeAI-Lab-X/ClawKeeper | 1k | — | ~3.6k | Automated safety check: Pass | None |
openclaw/openclaw
Feishu document read/write workflows. An agent skill from openclaw/openclaw.
raucvr/Group-Goki
Feishu document read/write operations. An agent skill from raucvr/Group-Goki.
raucvr/Group-Goki
Feishu cloud storage file management. An agent skill from raucvr/Group-Goki.
raucvr/Group-Goki
Feishu permission management for documents and files. An agent skill from raucvr/Group-Goki.
SafeAI-Lab-X/ClawKeeper
One-click deployment Skill for Feishu security governance and message anti-data-leakage guide, responsible for Feishu message security, credential protection, permission auditing, interaction…
y49/tlive
tlive — remote approvals (Telegram/Feishu/web), live web terminal, and session monitoring for Claude Code / Codex.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
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.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
LeoYeAI/openclaw-master-skills
Humanize AI-generated text by detecting and removing patterns typical of LLM output.
Works with
Categories
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space. edit_v1 event, which this skill's patched monitor turns into a call to an isolated agent session through /hooks/agent; the agent then reads the document, checks for new messages and appends a reply. Status flags such as a red editing marker and a green done marker stop the AI from replying while someone is still mid-sentence, and the bot ignores its own edits to avoid a reply loop.
Feishu Document Collaboration fits situations like: turning a shared Feishu document into a live back-and-forth with an AI agent; letting several people and several agents collaborate in one document; adding a lightweight task board on top of document-based collaboration.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a claude-code`. Or copy the skill folder (skills/feishu-doc-collab in LeoYeAI/openclaw-master-skills) into .claude/skills/feishu-doc-collab in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -a codex`. Or copy the skill folder (skills/feishu-doc-collab in LeoYeAI/openclaw-master-skills) into .agents/skills/feishu-doc-collab in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill feishu-doc-collab -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-doc-collab, .gemini/skills/feishu-doc-collab, .github/skills/feishu-doc-collab and .opencode/skills/feishu-doc-collab in your project.
Going by SKILL.md and its folder, Feishu Document Collaboration needs TypeScript and a shell for the scripts in its folder and the command-line tools its instructions call (bash and openssl). Our summary lists: OpenClaw with a configured Feishu channel (app ID and secret); Feishu event subscriptions for drive.file.edit_v1 and, optionally, bitable_record_changed_v1; Hooks enabled in openclaw.json.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Feishu Document Collaboration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Feishu Document Collaboration: Feishu Doc (openclaw/openclaw, 392k stars), Feishu Doc (raucvr/Group-Goki, 112 stars), Feishu Drive (raucvr/Group-Goki, 112 stars) and Feishu Perm (raucvr/Group-Goki, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.