feishu-drive · openclaw — скилл для Claude Code: что делает и как установить
Скилл для Claude Code управляет файлами, папками и комментариями в Feishu Drive. Ищет, просматривает и перемещает документы, читает и добавляет комментарии.
MIT ★ 395 001 обновлён 2026-10-25
npx skills add openclaw/openclaw --skill feishu-drive -a claude-codeЧто делает feishu-drive
Скилл работает через один инструмент feishu_drive и его схему действий. Он перечисляет файлы в папках, получает сведения о файле по точному токену и типу, создаёт подпапки, перемещает или удаляет объекты. Для ссылки вида https://example.feishu.cn/drive/folder/ABC123 токен папки — ABC123.
Для постраничного списка нужно сохранять тот же folder_token и передавать возвращённый page_token, пока он не исчезнет. Обсуждения читаются через list_comments и list_comment_replies; комментарий к документу добавляется через add_comment, ответ в существующую ветку — через reply_comment. block_id нужен только для комментария к известному блоку Docx.
Без папки, расшаренной боту, личный корень обычно не подходит, а создание объекта в корне аккаунта часто завершается ошибкой. Перед перемещением или удалением нужно точно определить источник и назначение; неясное удаление следует подтвердить. Содержимое файлов и комментариев нужно передавать только в объёме запроса.
Какие задачи решает
- найти файлы в расшаренной папке Feishu
- получить сведения о файле по токену
- обойти страницы списка файлов
- прочитать ветку комментариев документа
- добавить комментарий или ответить в обсуждении
Примеры запросов агенту
- Покажи файлы в папке Feishu по ссылке
https://example.feishu.cn/drive/folder/ABC123. - Прочитай комментарии к этому документу и ответы в каждой ветке.
- Перемести файл в указанную папку, но сначала проверь источник и назначение.
Как установить feishu-drive
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill feishu-drive -a claude-code2Вручную: положить файлы
~/.claude/skills/feishu-drive/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/feishu-drive/
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill feishu-drive -a codex2Вручную: положить файлы
.agents/skills/feishu-drive/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill feishu-drive -a cursor2Вручную: положить файлы
.cursor/skills/feishu-drive/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openclaw/openclaw extensions/feishu/skills/feishu-drive2Вручную: положить файлы
.github/skills/feishu-drive/SKILL.md1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill feishu-drive -a gemini-cli2Командой платформы
gemini skills install https://github.com/openclaw/openclaw --path extensions/feishu/skills/feishu-driveВручную: положить файлы
.devin/skills/feishu-drive/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill feishu-drive -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о feishu-drive
Как установить feishu-drive в Claude Code?
Выполните npx skills add openclaw/openclaw --skill feishu-drive -a claude-code, затем проверьте файл ~/.claude/skills/feishu-drive/SKILL.md.
Что делает feishu-drive?
Скилл управляет файлами и папками Feishu Drive, а также читает, добавляет и продолжает комментарии к документам через feishu_drive.
Что нужно для работы с папками Feishu?
Начинайте с папки, расшаренной боту. Его личный корень обычно непригоден, а создание подпапки в корне аккаунта часто не срабатывает.
Исходный текст
SKILL.md · MIT
--- name: feishu-drive description: | Feishu cloud-storage and comment workflows. Activate when the user mentions cloud space, folders, Drive files, or document comments. --- # Feishu Drive Use the single `feishu_drive` tool and its current action schema. From `https://example.feishu.cn/drive/folder/ABC123`, use `ABC123` as `folder_token`. ## Files and folders - Start from a folder shared with the bot. Bot credentials normally have no usable personal root folder. - For paginated folder listings, keep the same `folder_token` and pass the returned `page_token` until no continuation token remains. - Use `info` with the exact file token and type returned by Drive or wiki discovery. - Resolve the exact source and destination before moving or deleting. Confirm destructive deletes when the user's intent or target is unclear. - Create subfolders inside a shared folder; creating at the account root normally fails for bots. ## Comments - Use `list_comments`, then `list_comment_replies` with the exact `comment_id` to inspect a discussion. - Use `add_comment` for a document-level comment. Include `block_id` only when the user wants a comment on one known Docx block. - Use `reply_comment` for an existing comment thread. - Preserve the file type and pagination fields returned by the tool. The schema is authoritative for which file types each comment action accepts. Only expose or forward file and comment contents needed for the user's request; shared Drive data may be private.
© openclaw · MIT · openclaw/openclaw
Похожие скиллы
Все скиллы по теме «Документы и офис» →Сначала — feishu-drive от других авторов.