2026-05-17 Larksuite CLI Feishu Bridge
Provenance
- Source: user-approved implementation plan for Feishu/Lark material access skills.
- Official upstream:
https://github.com/larksuite/cli. - Installed release:
v1.0.32. - Inspected commit:
14a3213038eaf563fb2c1234fe20c92981cc8ed9. - Runtime install location:
.wiki-tmp/tools/lark-cli/v1.0.32/bin/lark-cli.exe. - Source mirror:
skill/lark-cli/. - Local routing skill:
.codex/skills/feishu-bridge/andskill/feishu-bridge/.
What Was Installed
- EXTRACTED: Downloaded official
lark-cli-1.0.32-windows-amd64.zipto the D-drive project-local tool cache. - EXTRACTED: Verified SHA256 against the official release checksum.
- EXTRACTED: Mirrored official
larksuite/cliREADME, license, source trace, and skill tree underskill/lark-cli/. - EXTRACTED: Installed selected official skills under both
.codex/skills/andskill/:lark-shared,lark-doc,lark-wiki,lark-drive,lark-base,lark-im,lark-sheets,lark-markdown,lark-slides,lark-calendar,lark-contact,lark-openapi-explorer, andlark-skill-maker. - EXTRACTED: Created
feishu-bridgeas a local router skill that chooses official API access first and falls back to chrome-automation for web-only Feishu pages and form filling.
Why This Approach
- INFERRED:
anbeime/skilldid not provide a single clean Feishu material-ingestion skill that matched the user’s core pain point. - INFERRED: Feishu bot/assistant-style skills are less relevant for “model reads my Feishu materials” than an official CLI plus browser automation bridge.
- INFERRED:
qiaomu-anything-to-notebooklmremains a second-phase option for Feishu/web/PDF/WeChat-to-NotebookLM analysis, but it is not required for the first usable Feishu bridge.
Smoke Tests
Passed:
- EXTRACTED:
lark-cli --versionreturnedlark-cli version 1.0.32. - EXTRACTED:
lark-cli --helplisted major domains including docs, drive, wiki, base, im, sheets, slides, calendar, mail, tasks, and more. - EXTRACTED:
lark-cli docs --api-version v2 --helplisted+create,+fetch,+update, media, search, and whiteboard commands. - EXTRACTED:
lark-cli wiki --help,drive --help,base --help, andim --helpall returned command lists. - EXTRACTED:
lark-cli doctorpassedcli_versionandcli_update, and reported1.0.32 (up to date). - EXTRACTED: Installed
feishu-bridge,lark-doc,lark-base,lark-wiki,lark-drive, andlark-impassedskill-creatorquick validation after local compatibility normalization. - EXTRACTED: Browser fallback smoke test used
agent-browser 0.27.0on a local HTML form, identified a textbox/button, filled a value, read it back, and saved a screenshot.
Completed with user authorization:
- EXTRACTED:
config init --newcompleted successfully and stored app config forcli_aa83124b8938dcc4with secret masked in CLI output. - EXTRACTED:
auth login --recommendcompleted for user使用者419003;auth status --verifyreturnedtokenStatus: validandverified: true. - EXTRACTED: Incremental
auth login --scope search:docs:readcompleted afterdrive +searchreported the missing scope. - EXTRACTED:
doctorreturnedok: trueafter auth, including server token verification and Feishu endpoint checks. - EXTRACTED:
drive +search --query 'Codex Feishu Bridge'found the smoke-test document. - EXTRACTED:
wiki +space-listfound the sample Wiki space;wiki +node-listfound three nodes;docs +fetchread the欢迎使用知识库sample page. - EXTRACTED:
docs +create --api-version v2createdCodex Feishu Bridge Smoke Test 2026-05-17, anddocs +fetch --api-version v2read back the expected content. - EXTRACTED:
base +table-liston a sample Base token returned eight table names.
Remaining boundaries:
- EXTRACTED: A later same-day user-approved live Feishu shared Base form was filled and submitted successfully through browser fallback; see 2026-05-17-feishu-form-fill-session.
- AMBIGUOUS: Public wiki records should keep private Feishu document contents out unless the user explicitly asks to preserve them.
Concrete Usage Pattern
Read docs:
$LARK_CLI = "D:\Research\vipin's knowledgebase\.wiki-tmp\tools\lark-cli\v1.0.32\bin\lark-cli.exe"
& $LARK_CLI docs +fetch --api-version v2 --doc "<doc URL or token>"Search Drive:
& $LARK_CLI drive +search --helpRead Wiki:
& $LARK_CLI wiki +space-list --help
& $LARK_CLI wiki +node-list --helpRead Base:
& $LARK_CLI base +table-list --help
& $LARK_CLI base +record-list --helpBrowser-fill fallback:
$AB_BIN = "D:\Research\vipin's knowledgebase\.wiki-tmp\tools\agent-browser\bin\agent-browser-win32-x64.exe"
& $AB_BIN open "<feishu URL>" --cdp 9225 --session feishu-fill
& $AB_BIN snapshot -i --cdp 9225 --session feishu-fill
& $AB_BIN fill @e3 "value" --cdp 9225 --session feishu-fillLive-form caveat:
- EXTRACTED: Feishu select fields can show candidate options and selected values in the same DOM region. Required-field validation after clicking
提交is a stronger signal thaninnerTextalone. - EXTRACTED: One-time forms may show a final confirmation dialog before the actual submission. If the user has already explicitly approved submission, click the modal submit button and verify final success text.