Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

feishu-doc-scraper

БесплатноЗапускает вложенные скриптыНе проверен

Extracts Feishu/Lark Docs, Wiki, Sheets, and Minutes (妙记) transcripts into faithful local Markdown via the lark-cli API — no LLM paraphrasing, browser-DOM…

daymadeот daymade★ 1 556 звёзд на GitHub

Об этом скилле

Feishu Doc Scraper

Extract a Feishu/Lark source into faithful local Markdown. Prefer the lark-cli API — it extracts the body programmatically (no model paraphrasing), follows a collection's reference graph, and reads permission boundaries from error codes instead of guessing. Treat the rendered browser page as a fallback, not the source of truth: in real collection-scraping work the API path consistently does the whole job while the browser path is never needed.

Scope (read this first)

This skill's contract is faithful per-source Markdown + a record of what was extracted. Naming, indexing, deduplication and knowledge ownership belong to the recipient's archive workflow. For a filing request, including permission to choose a suitable location, first follow archive destination handoff. Temporary extraction may proceed while the destination is unresolved; permanent filing and uploads follow the host's selected ownership and storage contract.

For every document read or archived, load comments and feedback. It owns the body-plus-discussion workflow, selected scope, body-only exception, snapshot commands, interpretation and coverage checks.

Extraction and durable storage are separate decisions. A downloaded MP4/XLSX/DOCX/image is a working copy, not evidence that the file belongs in Git or Git LFS. For a knowledge-base archive, default to:

  • Git: faithful Markdown plus structured CSV/JSON/HTML, source locators, revision/permission state, byte counts, MIME types, and hashes.
  • Platform original: Feishu remains the source of record for raw binary attachments when the stable document/file token is still retrievable. A local download is an optional cache and may be absent on a fresh clone.
  • NAS retention: when the selected archive already uses an authorized NAS backend, follow the NAS storage contract, including original source identity and full retained-file integrity.
  • OSS/object storage: only when the archive needs an independent durable copy or the platform source is not a reliable long-term retrieval path. Uploading is a separate authorized operation, not a fallback the extractor chooses by itself.

Before filing an archive, declare this split in an artifact manifest and run the bundled storage validator. The complete schema and examples are in references/archive-storage-contract.md.

Keep source access instructions with the authorized destination's material entry, following the destination handoff; return them with a password-protected source link. Generate aggregate statistics on demand under the storage contract.

Select the delivery scope from the user's requested result before loading fallback or reader procedures. For original-file downloads, use attachment archives: fetch the body first, enumerate its actual resource types, then load only those handlers. Record body, attachments, independent retention and reader acceptance separately. An attachment batch alone never establishes completion of the document's reference graph.

For website links, Bilibili, YouTube or direct-media links in the body, load external video discovery and handoff. Enumerate clickable and plain-text URLs on every captured body; opaque websites remain link locators until selected for inspection. Use the reference's batch scope/volume preflight before mass acquisition or cloud creation. Discovery, text capture and media acquisition have separate completion states. Delegate authorized acquisition to the installed platform/storage owner with the user's selected part or playlist range.

For failed media exports, original-preview retrieval, or an Obsidian reading handoff, load original media and reader handoff. Use its verified-preview downloader and API-capture renderer before expanding the batch. Its Delivery completion gate (check_reader_delivery.py finalize) is the reader-delivery completion entry; conversion, byte and search success do not replace a current actual-reader evidence record. For a user-selected personal favorites destination, its source catalog producer hands off to favorites-search without changing this Skill's filing ownership.

Choose the path

Before the first linked-resource read, load lark-cli-router and follow its source account binding. Retain the selected profile and identity for every branch below.

What is the source?
├── Minutes / 妙记 URL, or a document references one → PATH C: Minutes transcript
├── Owner-exported .docx → PATH B: faithful Markdown
└── Other Feishu/Lark URL (wiki / docx / sheets / base)
    ├── CLI available and source account
Полный SKILL.md на GitHub

Установить feishu-doc-scraper в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/archive-destination-handoff.mdreferences/archive-storage-contract.mdreferences/attachment-archives.mdreferences/browser-dom-fallback.mdreferences/browser-failure-rules.mdreferences/capture-manifest.mdreferences/comments-and-feedback.mdreferences/docx-export-to-markdown.mdreferences/external-video-resources.mdreferences/feishu-minutes-transcript.mdreferences/lark-cli-api-extraction.mdreferences/original-media-and-reader.mdreferences/permission-and-failure-boundaries.mdreferences/table-capture.mdscripts/archive_attachments.pyscripts/build_feishu_markdown.pyscripts/build_manual_catalog.pyscripts/capture_table.pyscripts/check_archive_storage.pyscripts/check_heading_coverage.pyscripts/check_reader_delivery.pyscripts/download_feishu_images.pyscripts/download_original_preview.pyscripts/feishu_dom_capture.jsscripts/feishu_extract_refs.pyscripts/fetch_comments.pyscripts/lark_result.pyscripts/render_api_capture.pyscripts/restore_docx_headings.py

FAQ

Что делает скилл feishu-doc-scraper?

Extracts Feishu/Lark Docs, Wiki, Sheets, and Minutes (妙记) transcripts into faithful local Markdown via the lark-cli API — no LLM paraphrasing, browser-DOM fallback when lark-cli can't reach content. Use whenever the source is a Feishu/Lark URL and fidelity matters — 导出飞书文档/合集/妙记转写, 把飞书 wiki 转 markdown, or archiving a collection — even if the user just says "save this". Also covers owner-exported .docx → Markdown.

Как установить скилл feishu-doc-scraper?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл feishu-doc-scraper запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить feishu-doc-scraper с