In short.
lark-shared is a shared instruction skill for AI assistants using lark-cli, and its usefulness depends on correct application setup, identity and permissions. Its detailed guidance addresses misleading empty results under bot identity, incorrect success parsing, scoped authorization and confirmation of high-risk writes. The package contains instructions and examples; actual CLI behavior, compatibility and reliability were not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete skills/lark-shared directory: SKILL.md and its six reference files, including Wiki token routing. The repository-root LICENSE is included as a related notice outside that directory. All files are from revision 3d82c85419ad7560ad017db7a3972a596b5fbeb1. Linked external pages, other folders, sibling skills and CLI implementation code are excluded. No commands were executed; authentication, service access, approval enforcement, compatibility and operational reliability remain untested.
The overview
identity
The resource is skills/lark-shared in the larksuite/cli repository [https://github.com/larksuite/cli/tree/main/skills/lark-shared]. Its SKILL.md declares the name lark-shared, version 1.1.0 and a dependency on the lark-cli executable. It provides common operating instructions for other lark-* skills through one entry file and six reference documents.
Most explanatory prose is in Chinese, with CLI commands and structured field names in English. The executable and service-specific skills are separate dependencies.
assessment
This is a useful operating reference for assistants already working through lark-cli. Its strongest detail concerns failures that can look successful: bot identity can return an empty personal-resource result, and checking for a top-level code of zero can misclassify a successful write.
The instructions also distinguish permission failures from approval requests. These distinctions are concrete, but their enforcement and effectiveness in a real assistant integration remain untested.
users
The intended users are AI assistants handling Lark CLI setup and authorization, plus developers integrating those assistants or building command wrappers. Administrators are relevant when application scopes or token-refresh settings need changes.
Beginners receive explanations of user versus bot access and the authorization sequence. Experienced developers receive exact response fields, exit-code handling and argument-passing guidance. Users seeking document editing or calendar operations also need the appropriate service instructions.
capabilities
The skill covers application configuration, login status, scoped authorization, logout, missing permissions, authorization QR codes and update notices. It explains that logout clears local login state, while revoking server-side authorization requires separate account-side action.
Its Wiki reference distinguishes a Wiki node token from the underlying object's token. It documents drive +inspect for discovering the underlying type and canonical token, and wiki +node-get when node fields are needed. Subsequent operations are routed to the relevant document, spreadsheet, Base, slides, drive or Wiki skill.
Using it
requirements
The declared executable requirement is lark-cli. Bot access requires application credentials and enabled application scopes. User access additionally requires the user's authorization; application-side scopes and user consent must both be satisfied.
An assistant following the documented flow needs to present authorization links and QR images and resume after user approval. File arguments must use paths relative to the current working directory. Supported operating systems, minimum CLI version and compatibility with particular assistant hosts are not established.
mechanism
SKILL.md routes the assistant to references for authentication, output parsing, high-risk operations, initial configuration and notices. Identity is selected explicitly with --as user or --as bot, or automatically from configuration and available credentials when omitted. The documentation recommends explicit selection when identity must remain consistent.
The JSON contract places successful responses on stdout with ok: true and exit code zero. Errors go to stderr with ok: false and nested error details. Numeric code belongs inside error; success responses have no top-level code field. The reference warns that incorrect parsing can undermine idempotency handling and cause duplicate writes.
For high-risk writes, the documented approval gate returns exit code 10 with confirmation_required. After explicit approval, the required confirmation flag is appended to the original argument array. Supported commands can expose request details through --dry-run. These are documented contracts, not verified execution results.
setup
The configuration reference begins with lark-cli config init --new, which waits for the user to complete the linked configuration process. Authorization URLs are paired with QR codes generated through lark-cli auth qrcode; PNG output is preferred.
For user login, the identity reference describes requesting scopes with --scope, --domain or --recommend and using --no-wait --json to return an authorization link immediately. The assistant completes login with --device-code in a later interaction after the user approves. Installation of the executable and loading the skill into a particular assistant are not documented.
example
The identity reference gives a read-only calendar authorization example: lark-cli auth login --scope "calendar:calendar:readonly" --no-wait --json. The described sequence uses the returned verification_url to generate a QR code, presents both to the user, and later completes login with lark-cli auth login --device-code <device_code>.
The documented status command is lark-cli auth status --json --verify, with identity, verified and user token-status fields available for interpretation. This example covers authorization and status inspection; calendar retrieval and actual command results were not assessed.
Assessment & evidence
limitations
The skill supplies instructions rather than implementation code or runtime proof. Its approval language and secret-handling rules do not establish that an assistant host will enforce them. Actual authentication, permission boundaries and CLI output behavior remain untested.
Important documented limits include incremental scope accumulation across logins, no CLI operation for revoking one granted scope, and local-only logout. The reference also describes a conditional login outcome without a refresh token: once that identity expires after approximately two hours, it cannot renew automatically. After an administrator enables user-token refresh in the developer console and publishes a new app version, the user must log in again. The reference states that the assistant cannot resolve this on the user's behalf.
reasoning
The skill's practical value comes from connecting account identity, authorization and command-result interpretation. A syntactically valid command can still address the wrong resources, and a successful write can be misread by an incompatible parser. Centralizing these conventions could reduce inconsistent handling across service skills; no measured improvement is supplied.
Its fit is strongest where lark-cli is already the intended integration layer and the assistant can support human authorization and approval.
alternatives
Developers implementing command handling themselves could consult command --help output and lark-cli schema <service>.<resource>.<method> --format json. The references identify these as ways to discover syntax and risk labels. A custom wrapper would still need to implement identity selection, output parsing and approval handling.
Service-specific lark-* skills are complementary resources for actual operations. Their contents, competing integrations and direct API clients were not assessed, so comparative recommendations are unsupported.
evidence
The package consists of SKILL.md and six references covering configuration, identity and permissions, high-risk approval, JSON output, updates and Wiki token routing. The repository-root LICENSE supplies the accompanying legal notice.
The pinned entry file is available at [https://raw.githubusercontent.com/larksuite/cli/3d82c85419ad7560ad017db7a3972a596b5fbeb1/skills/lark-shared/SKILL.md]. Its supplied SHA-256 is 9fa68bb1f3ce564602c6df6c303ea4d2759de02442772f332fe5041d65720a1f. The material establishes documented intent; it contains no execution receipts or benchmark results.
Access & freshness
costs
The MIT license grants software permissions free of charge. It does not establish Lark subscription prices, API charges, quotas, support fees or the cost of the AI assistant using the skill. Total operating cost is unknown.
rights
The captured repository LICENSE is MIT, with copyright attributed to Lark Technologies Pte. Ltd. in 2026. It permits use, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.
The software is supplied without warranty. The license is available at the same pinned revision [https://raw.githubusercontent.com/larksuite/cli/3d82c85419ad7560ad017db7a3972a596b5fbeb1/LICENSE].
freshness
The skill declares version 1.1.0. All supplied files are pinned to repository revision 3d82c85419ad7560ad017db7a3972a596b5fbeb1 and were captured on 2026-11-13 at 10:46:42.844 UTC. The main-branch URL can change independently of that snapshot.
The update reference describes notices for newer CLI releases, mismatched local skills and deprecated commands, and documents lark-cli update as updating both CLI and skills. It does not establish the latest available release or compatibility with a particular installed CLI version.
actions
Keep SKILL.md together with its six reference files and preserve the MIT notice. Before using it, establish the installed CLI version, configure the application and confirm whether the task requires user or bot identity. Request the narrow scopes needed for the task and inspect verified login status.
For an integration, validate stdout and stderr parsing against the documented ok field and exit codes, including the separate exit-10 approval path. Check that the assistant can display authorization links and QR images and resume afterward. These remain adoption tasks; none was executed here.
