Original Title: lark-shared
lark-shared is a set of rules maintained by the larksuite team, shared across all lark-* skills in lark-cli: read the reference documentation or use --help before making calls; distinguish between --as user (acting on your behalf, capable of operating your calendar and cloud drive) and --as bot (can only access the application's own resources; querying user resources returns an empty success result); when encountering authorization links, generate a QR code and provide it along with the original link; determine success by checking ok == true rather than code == 0. Security rules include not printing keys in the terminal, confirming intent before writing or deleting, and previewing with --dry-run whenever possible; exit code 10 indicates a high-risk write operation, requiring you to display the action and parameters and obtain your explicit consent before adding confirmation parameters to retry.
Why It Matters Over twenty Feishu skills in the same repository, including documents, spreadsheets, calendars, and emails, depend on it; it clearly defines the distinction between user identity and bot identity, preventing queries that return empty data.
skills.sh Install Count 502775 (+907 / 24h)
Security Audit: Not Audited
- Not yet scanned
Rationale
- skills.sh installs 907 in 24 hours, with a cumulative total of 502775 (indicating only attention level); lark-cli is the official MIT-licensed command-line tool for Feishu / Lark
- High-risk write operations have a clear confirmation process, and SKILL.md explicitly states that silently adding confirmation parameters to bypass checks is strictly prohibited
Usage
- First install lark-cli (npm package @larksuite/cli) and create an application and log in according to the README, then run npx skills add https://github.com/larksuite/cli --skill lark-shared, and add sub-skills such as lark-doc and lark-calendar as needed
Risks
- Not audited: The desktop version has not been scanned, and the website does not display installation commands; the editor read SKILL.md and only calls the local lark-cli, with no additional network addresses or scripts
- Requires a Feishu account and application authorization; the user identity can read and write your personal resources such as calendars and cloud drives, so authorization scopes should be granted on a need-to-know basis