Lark CLI
Role In The Wiki
lark-cli is the official Lark/Feishu command-line tool from larksuite/cli. It is the main runtime for API-based access to Feishu/Lark resources from Codex.
Current Claims
- EXTRACTED: Official source repository:
https://github.com/larksuite/cli. - EXTRACTED: Installed release:
v1.0.32. - EXTRACTED: Source commit inspected locally:
14a3213038eaf563fb2c1234fe20c92981cc8ed9. - EXTRACTED: The official README describes
lark-clias covering Messenger, Docs, Base, Sheets, Slides, Calendar, Mail, Tasks, Meetings, Markdown, Wiki, and more, with 200+ commands and 24+ AI Agent skills. - EXTRACTED: The Windows AMD64 release zip checksum matched the official release checksum:
8f5fef30ec0485279e1a8b7e949f8ee42df9ada006c7617b0e4fc54177179b9d. - EXTRACTED: The local binary returned
lark-cli version 1.0.32. - EXTRACTED:
lark-cli doctorpassed CLI version and update checks but failed config because no Feishu/Lark app/auth has been configured yet.
Local Installation
- Runtime binary:
D:/Research/vipin's knowledgebase/.wiki-tmp/tools/lark-cli/v1.0.32/bin/lark-cli.exe - Source mirror:
D:/Research/vipin's knowledgebase/skill/lark-cli/ - Installed skills:
.codex/skills/lark-* - Mirrored skills:
skill/lark-*
Installed project-discoverable skills include:
lark-sharedlark-doclark-wikilark-drivelark-baselark-imlark-sheetslark-markdownlark-slideslark-calendarlark-contactlark-openapi-explorerlark-skill-maker
Usage
Use the D-drive binary directly:
$LARK_CLI = "D:\Research\vipin's knowledgebase\.wiki-tmp\tools\lark-cli\v1.0.32\bin\lark-cli.exe"
& $LARK_CLI --version
& $LARK_CLI docs --api-version v2 --help
& $LARK_CLI drive --help
& $LARK_CLI wiki --help
& $LARK_CLI base --helpInitial auth flow, to be completed with the user’s browser:
& $LARK_CLI config init --new
& $LARK_CLI auth login --recommend
& $LARK_CLI auth statusFor docs v2:
& $LARK_CLI docs +fetch --api-version v2 --doc "<doc URL or token>"
& $LARK_CLI docs +create --api-version v2 --content "<title>Test</title><p>Hello</p>"For Drive/Wiki/Base discovery:
& $LARK_CLI drive +search --help
& $LARK_CLI wiki +space-list --help
& $LARK_CLI base +record-list --helpVerification Record
- EXTRACTED:
--version, root--help,docs --api-version v2 --help,wiki --help,drive --help,base --help,im --help,config init --help, andauth login --helpall executed successfully from the D-drive binary. - EXTRACTED:
auth login --helpconfirms a--no-waitmode and a resumable--device-codeflow. - EXTRACTED:
config init --newcompleted with user browser assistance and stored the Feishu CLI app config. - EXTRACTED: User OAuth completed for user
使用者419003;auth status --verifyreturnedtokenStatus: validandverified: true. - EXTRACTED:
lark-cli doctorreturnedok: trueafter OAuth, including local and server token validation. - EXTRACTED: Drive search succeeded after incremental
search:docs:readauthorization; a short query found the test document by title. - EXTRACTED: Wiki read succeeded:
wiki +space-list,wiki +node-list, anddocs +fetchon the sample Wiki page all returned content. - EXTRACTED: Docs write/read succeeded:
docs +create --api-version v2createdCodex Feishu Bridge Smoke Test 2026-05-17, thendocs +fetch --api-version v2returned the expected XML content. - EXTRACTED: Base read succeeded:
base +table-liston a sample Base token returned eight table names. - AMBIGUOUS: Real user-provided private Feishu materials have not been ingested into the public wiki; only neutral smoke-test metadata is recorded.
Safety Boundary
- Treat OAuth URLs as opaque strings and forward them exactly when generated.
- Prefer personal user OAuth for the user’s own Feishu/Lark resources unless a bot/app identity is explicitly requested.
- Do not commit runtime caches, tokens, browser profiles, or app secrets.
- Avoid public wiki copies of private Feishu content.