lark
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name LARK_TOKEN or zero doctor check-connector --url https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal --method POST
Token Management
Lark uses tenant access tokens that expire after 2 hours. Use this helper to get or refresh the token:
# Get or refresh token (cached to /tmp/lark_token.json)
get_lark_token() {
local token_file="/tmp/lark_token.json"
local current_time=$(date +%s)
# Check if cached token is still valid
if [ -f "$token_file" ]; then
local expire_time=$(jq -r '.expire_time // 0' "$token_file" 2>/dev/null || echo "0")
if [ "$current_time" -lt "$expire_time" ]; then
jq -r '.tenant_access_token' "$token_file"
Related skills
More from vm0-ai/vm0-skills
hackernews
Hacker News API for stories and comments. Use when user mentions "Hacker
2.7Kcloudflare-tunnel
Cloudflare Tunnel API for secure tunnels. Use when user mentions "Cloudflare
556google-sheets
Google Sheets API for spreadsheets. Use when user mentions "Google Sheets",
409minimax
MiniMax API for AI models. Use when user mentions "MiniMax", "Chinese
342instagram
Instagram API for posts and media. Use when user mentions "Instagram",
317apify
Apify web scraping platform. Use when user mentions "scrape website",
313