larksync-feishu-local-cacheSync Feishu docs into local cache for OpenClaw-first reading, reducing API calls and token cost. / 把飞书文档同步为本地缓存供 OpenClaw 优先读取,显著降低飞书 API 请求频率与 token 成本。
Install via ClawdBot CLI:
clawdbot install gooderno1/larksync-feishu-local-cache参考:
OPENCLAW_AGENT_GUIDE.md:面向 OpenClaw 代理的自动执行 runbook(首次授权分支、无人值守分支、失败分支)download_only with low-frequency schedule (daily by default).bidirectional and upload_only are supported when explicitly requested.download_only + 每日低频同步(可自定义时间与周期)。bidirectional(双向)和 upload_only,但仅在用户明确要求时启用。download_only)。使用以下脚本作为统一入口(返回 JSON,便于自动化编排):
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py check
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py configure-download --download-value 1 --download-unit days --download-time 01:00
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py create-task --name "OpenClaw 每日同步" --local-path "D:\\Knowledge\\FeishuMirror" --cloud-folder-token "<TOKEN>" --sync-mode download_only
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py run-task --task-id "<TASK_ID>"
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py bootstrap-daily --local-path "D:\\Knowledge\\FeishuMirror" --cloud-folder-token "<TOKEN>" --sync-mode download_only --download-value 1 --download-unit days --download-time 01:00 --run-now
WSL 场景(OpenClaw 在 WSL,LarkSync 在 Windows)推荐入口:
# 先做地址诊断(逐项显示 localhost / host.docker.internal / gateway / resolv nameserver)
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_wsl_helper.py diagnose
# 直接执行原有命令(自动探测可达地址;远程地址自动补 --allow-remote-base-url)
# 若未探测到可达 :8000,会自动在 WSL 本地拉起后端(并自动安装后端依赖)
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_wsl_helper.py check
python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_wsl_helper.py bootstrap-daily --local-path "/mnt/d/Knowledge/FeishuMirror" --cloud-folder-token "<TOKEN>" --sync-mode download_only --download-value 1 --download-unit days --download-time 01:00 --run-now
若全部候选地址不可达,优先确认 Windows 侧:
LARKSYNC_BACKEND_BIND_HOST=127.0.0.1,请改回 0.0.0.0 或移除该变量;8000。无人值守兜底:
localhost:8000。--no-auto-install-backend-deps 关闭。token_store=file(data/token_store_wsl.json)避免 keyring 不可用。默认安全策略:
base-url 仅允许 localhost/127.0.0.1/::1,避免把云目录 token 发送到未知远端地址。python integrations/openclaw/skills/larksync_feishu_local_cache/scripts/larksync_skill_helper.py --base-url "https://larksync.internal.example" --allow-remote-base-url check
check 之前,不执行任务创建或策略变更。download_only 自动切到 bidirectional。npm run dev)。Generated Mar 1, 2026
A company uses Feishu for internal documentation and wants to integrate it with OpenClaw for AI-powered Q&A. By syncing documents to a local cache, they reduce API calls and token costs while ensuring faster, more stable retrieval for employee queries about policies, procedures, or project details.
An educational institution stores course materials and syllabi in Feishu. They use OpenClaw to provide students with instant answers to FAQs. Local caching minimizes reliance on cloud APIs, lowering operational costs and improving response times during peak usage periods like exam seasons.
A healthcare provider maintains patient guidelines and administrative documents in Feishu. Staff use OpenClaw to quickly retrieve information. Syncing to a local cache ensures data privacy by reducing external API calls and provides reliable access even with unstable internet connections in clinical settings.
A financial firm stores regulatory reports and compliance manuals in Feishu. Analysts use OpenClaw for queries. Local caching cuts down on API expenses and token usage, enabling efficient, low-latency access to critical documents for audits and daily operations without frequent cloud requests.
Offer LarkSync as a premium add-on for OpenClaw users, charging a monthly fee for advanced sync features like bidirectional support and priority support. Revenue comes from businesses needing cost-effective, high-performance document retrieval without increasing API costs.
Provide a free version with basic download-only sync and limited tasks, while premium tiers unlock bidirectional sync, higher frequency updates, and advanced security options. This attracts small teams and scales up with larger organizations requiring more robust integrations.
Generate revenue by offering custom setup, configuration, and ongoing support for integrating LarkSync with OpenClaw in complex environments. This includes tailored solutions for specific industries, training, and optimization to maximize efficiency and reduce operational overhead.
💬 Integration Tip
Always run the check command first to verify LarkSync service and auth status before configuring tasks, and use the WSL helper scripts for seamless integration in mixed Windows-Linux environments.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.
Gmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
Manage Feishu (Lark) calendars by listing, searching, checking schedules, syncing events, and marking tasks with automated date extraction.