lark-cli-router

Routes Feishu and Lark operations through version-matched lark-cli embedded domain guides.

1.4k|216|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/daymade/claude-code-skills --skill lark-cli-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-cli-router
Source: https://github.com/daymade/claude-code-skills/tree/main/daymade-claude-code/lark-cli-router
Command: npx skills add https://github.com/daymade/claude-code-skills --skill lark-cli-router

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli.

What problem does it solve?

Working with Feishu/Lark APIs requires knowing which domain (docs, drive, wiki, minutes, calendar, IM, mail, approval) handles a given task, and static API documentation quickly drifts out of sync with the installed CLI. This Skill eliminates that guesswork by routing every Lark request through the lark-cli binary's own embedded, version-synced domain guides, then executing and verifying the task.

Core Features & Use Cases

  • Intelligent Domain Routing: Matches user intent, URL paths, and tokens (e.g., note_id, minute_token, /wiki/ links) to the correct embedded guide such as lark-doc, lark-drive, lark-minutes, or lark-vc, with an explicit disambiguation table for high-confusion routes.
  • Version-Synced Instructions: Loads the CLI's embedded SKILL.md guides via lark-cli skills read instead of relying on stale static catalogs, with SHA-256 verification before falling back to on-disk bundles.
  • Safe Execution and Verification: Uses --dry-run previews for writes, requires human confirmation for high-risk operations, preserves explicit --profile values, and verifies results via exit codes, JSON envelopes, and domain-specific read-back checks.
  • Use Case: A user pastes a Feishu wiki document URL and asks to update its content. The Skill routes to lark-doc, loads the guide, runs the correct typed command with a dry-run preview, and confirms the change with an independent read.

Quick Start

Use the lark-cli-router skill to fetch the content of this Feishu document and summarize it for me.

Frequently Asked Questions about lark-cli-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Feishu or Lark document operations from the command line?

Use the lark-cli binary, which embeds version-synced domain guides for docs, drive, wiki, and other services. Run lark-cli skills list to find the right guide, read it with lark-cli skills read, then execute the typed commands or shortcuts it documents.

Which lark-cli guide handles a Feishu wiki document URL?

Document content under a /wiki/ path routes to the lark-doc guide, while wiki space management, membership, and node hierarchy route to lark-wiki. The router matches URL paths and tokens against the live skills list rather than guessing from names.

Does lark-cli support dry-run previews before writing changes?

Yes, commands that support it accept a --dry-run flag to preview writes before execution. If a high-risk write exits with code 10, the proposed action is presented for explicit human confirmation rather than auto-appending --yes.

Why does my Lark API call fail with missing scope or authorization errors?

Authorization failures usually mean the wrong identity type (user vs bot) or a missing OAuth scope. Load the lark-shared guide and follow its user/bot and missing-scope branch instead of retrying or falling back to raw API calls.

Can I use this Skill for Tencent IMA notes or knowledge bases?

No, Tencent IMA is a separate product and is explicitly out of scope. Route IMA notes and knowledge-base tasks to the ima-skill instead of the Lark router.

What happens if lark-cli is not installed on the machine?

The Skill fails visibly and reports that lark-cli is required; it does not substitute browser automation, raw curl requests, or guessed API contracts. Install the lark-cli binary first, then rerun the task.