aistrokerobo-feishu-universal
v0.1.6
Published
Feishu/Lark channel + universal OpenAPI plugin for OpenClaw
Readme
Feishu Universal Plugin
Feishu Universal is a full OpenClaw channel plugin that provides:
- A real
feishuchannel integration (gateway, outbound, onboarding, directory, reactions). - Full Feishu/Lark OpenAPI access through SDK passthrough tools.
- Domain-specific skill packs under
skills/. - Automatic object sharing and notification behavior for docs and knowledge assets.
Channel Identity
- Channel ID:
feishu - Package:
@openclaw/feishu-universal - Plugin ID:
feishu-universal - Manifest file:
openclaw.plugin.json
Capability Summary
Channel Runtime
- Inbound monitoring via Feishu event/gateway flow.
- Outbound message delivery (text/media) through channel adapters.
- Account routing for single-account and multi-account deployments.
Tooling Surface
Core utility tools:
feishu_accountsfeishu_access_tokenfeishu_sdk_requestfeishu_openapifeishu_openapi_multipart
Operational tools:
feishu_bot_infofeishu_contacts_listfeishu_chats_listfeishu_message_sendfeishu_smoke_test
Domain tools:
feishu_docfeishu_app_scopesfeishu_wikifeishu_drivefeishu_bitable_*
Auto Distribution Behavior
Auto Share on Create
When these operations succeed, the plugin attempts to share the created object to all
visible contacts from contact.user.list:
feishu_docwithaction: "create"(object type:docx)feishu_bitable_create_app(object type:bitable)feishu_drivewithaction: "create_folder"(object type:folder)feishu_wikiwithaction: "create"when returned object type is shareable
Create responses include auto_share with counters such as shared, skipped, and failed.
Auto Notify on Doc Create
For feishu_doc with action: "create", the plugin also sends the document link as
a text notification to all visible contacts.
- Response field:
auto_notify - Key counters:
sent,failed
Meeting Schedule Broadcast
For feishu_doc with action: "write" or action: "append", if the title/content
matches meeting schedule semantics (Chinese or English meeting keywords), the plugin
broadcasts schedule text plus doc link to all visible contacts.
- Response field:
meeting_broadcast - Key counters:
sent,failed
Skill Packs
Skill definitions are under skills/ and grouped by SDK domain.
feishu-sdk-foundationfeishu-sdk-im-botfeishu-sdk-docs-drivefeishu-sdk-collabfeishu-sdk-org-securityfeishu-sdk-hr-talentfeishu-sdk-finance-projectfeishu-sdk-ai-search-contentfeishu-sdk-industry-ecosystem
Namespace mapping reference: skills/NAMESPACE_COVERAGE.md.
Configuration Contract
Primary channel config path:
channels.feishu
Single Account
channels:
feishu:
enabled: true
appId: "cli_xxx"
appSecret: "xxx"
domain: "feishu" # feishu | lark | https://custom-domainMulti Account
channels:
feishu:
enabled: true
accounts:
default:
enabled: true
appId: "cli_default"
appSecret: "secret_default"
domain: "feishu"
intl:
enabled: true
appId: "cli_intl"
appSecret: "secret_intl"
domain: "lark"Legacy aliases for universal API tools are still accepted:
channels.feishuUniversalchannels.feishu_universalchannels["feishu-universal"]
OpenClaw Usage
Common operational commands:
openclaw plugins list --json
openclaw plugins enable feishu-universal
openclaw doctor --fix
openclaw gateway restartHealth and quick checks:
openclaw agent --session-id main --message "Run a Feishu connectivity smoke test and return accountId/domain/results." --jsonTroubleshooting
404on contact/chat endpoints: bot visibility, installation scope, or endpoint/resource mismatch.403on mutation endpoints: missing tenant/user scopes or missing object-level permission.- Empty wiki spaces: add the bot as a member in each target wiki space.
- Multi-account misrouting: pass explicit
accountIdin tool calls.
Development and Publish Checklist
- Update package metadata in
package.json. - Run
npm install. - Run
npm run typecheck. - Run
npm pack --dry-run. - Publish with
npm publish --access public(or your private registry policy).
