lark-cli-workflow
Routes and manages Lark/Feishu CLI tasks. Facilitates interaction with docs, drive, sheets, and communication tools.
Install
mkdir -p .claude/skills/lark-cli-workflow && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18303" && unzip -o skill.zip -d .claude/skills/lark-cli-workflow && rm skill.zipInstalls to .claude/skills/lark-cli-workflow
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Coordinate Lark/Feishu CLI tasks from Codex. Use when a request involves Feishu/Lark docs, wiki, Drive files, Sheets, Base, Calendar, Minutes, IM, Mail, Tasks, Contacts, Slides, whiteboards, approvals, attendance, or when a Lark URL/token must be read, edited, summarized, routed, or turned into a real work artifact.Key capabilities
- →Classify Lark objects and actions
- →Inspect or unwrap Lark URLs or opaque tokens
- →Pick identity deliberately for `--as user` or `--as bot`
- →Read Lark documents, wiki, Drive files, Sheets, Base, Calendar, Minutes, IM, Mail, Tasks, Contacts, Slides, whiteboards, approvals, attendance
- →Write to Lark documents, Base records, Sheet ranges, tasks, calendar events, email drafts, or IM messages
- →Preserve comments, highlights, citations, permissions, and document structure during writes
How it works
The skill classifies Lark objects and actions, inspects URLs/tokens, manages identity, and routes tasks to appropriate `lark-*` CLI handlers for reading or writing various Lark resources.
Inputs & outputs
When to use lark-cli-workflow
- →Fetching Lark document content
- →Managing Drive files
- →Syncing Feishu sheets
About this skill
Lark CLI Workflow
This is a thin routing skill. Prefer the official lark-* skills and lark-cli shortcuts for domain details; use this skill to choose the right path, identity, safety level, and final artifact shape.
Default Route
- Classify the object and action.
- Docs / Wiki text:
lark-doc, withdocs +fetch --api-version v2. - Wiki hierarchy / members:
lark-wiki. - Drive files, file permissions, comments, import/export:
lark-drive. - Sheets:
lark-sheets. - Base / Bitable:
lark-base. - Calendar / meeting-room scheduling:
lark-calendar. - Past meetings and transcripts:
lark-vcorlark-minutes. - IM messages, groups, files in chats:
lark-im. - Mail:
lark-mail. - Contacts / people resolution:
lark-contact. - Tasks, OKR, approval, attendance, slides, whiteboard: use the matching
lark-*skill.
- Docs / Wiki text:
- For any Lark URL or opaque token, inspect or unwrap it before acting.
- Wiki URLs often point to a node wrapper; resolve the real object token before document fetch/update.
- Do not assume a docx token, sheet token, bitable token, wiki node token, and drive file token are interchangeable.
- Pick identity deliberately.
- Use
--as userfor personal docs, Drive, calendar, mail, IM history, wiki spaces, and most user-owned resources. - Use
--as botonly for app-owned resources or when the user explicitly wants an app identity. - If a command returns missing scopes, follow the CLI hint and request the minimum needed
auth login --scope ....
- Use
Read Pattern
- Start narrow: outline, keyword, section, or metadata before full document fetch.
- For Docx v2, always pass
--api-version v2. - Use JSON output when the result will feed another command.
- If a document contains embedded sheets, bitables, synced blocks, media, or whiteboards, extract the referenced token and switch to the matching skill instead of summarizing the tag itself.
- Treat internal links, auth URLs, media URLs, access tokens, user IDs, and chat IDs as private unless the user explicitly asks for them in chat.
Write Pattern
- Prefer real work artifacts: create or update the Lark doc, Base record, Sheet range, task, calendar event, email draft, or IM message instead of only producing copy-paste text.
- Before writing, identify the intended object, block/range/record, and command.
- Prefer block-level or section-level updates over whole-document overwrite.
- Preserve comments, highlights, citations, permissions, reviewer-visible formatting, and document structure unless the user asks to replace them.
- High-risk actions need explicit intent or a dry run first: delete, overwrite, permission change, bulk send, group membership change, task closeout, or external sharing.
Repo Safety
- Do not write internal Lark URLs, temporary media/auth URLs, access tokens, chat IDs, internal people/team details, or non-public implementation details into tracked repository files.
- If an internal source has reusable public lessons, write only the generalized lesson and cite public/open sources when available, such as the Lark CLI public repository: https://github.com/larksuite/cli
- Put private source notes, exact internal links, and sensitive judgments under
.local/when a local record is useful. - For CS-Notes tasks, update
AGENTS.md,.trae/,.codex/skills/, orNotes/only when the result improves the durable workflow; avoid demo-only files.
Completion Check
- Say which Lark object was read or changed, using a safe title or type when links are sensitive.
- Report identity used (
userorbot) when it matters. - Mention missing permissions, unread embedded resources, or skipped high-risk actions.
- If
lark-clisuggests an update, finish the current task first, then tell the user the update is available.
When not to use it
- →When the user wants to write internal Lark URLs or sensitive details into tracked repository files
- →When the user wants to assume token interchangeability between different Lark object types
- →When the user wants to bypass explicit intent for high-risk actions
Limitations
- →Does not write internal Lark URLs or sensitive details into tracked repository files
- →Requires explicit intent for high-risk actions like delete or permission change
- →Does not assume token interchangeability between different Lark object types
How it compares
This workflow provides a structured and safe way to interact with various Lark/Feishu resources via CLI, managing identity and ensuring proper handling of sensitive information, unlike direct, unmanaged CLI usage.
Compared to similar skills
lark-cli-workflow side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| lark-cli-workflow (this skill) | 0 | 1mo | No flags | Intermediate |
| zendesk | 15 | 3mo | Review | Intermediate |
| zapier-workflows | 11 | 8mo | Review | Beginner |
| controlling-spotify | 7 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
zendesk
vm0-ai
Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.
zapier-workflows
davila7
Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to "run" any process. Also handles Perplexity-based research and Google Sheets data tracking.
controlling-spotify
oaustegard
Control Spotify playback and manage playlists via MCP server. Use when user requests playing music, controlling Spotify, creating playlists, searching songs, or managing their Spotify library.
smithery-ai-cli
smithery-ai
Find, connect, and use MCP tools and skills via the Smithery CLI. Use when the user searches for new tools or skills, wants to discover integrations, connect to an MCP, install a skill, or wants to interact with an external service (email, Slack, Discord, GitHub, Jira, Notion, databases, cloud APIs, monitoring, etc.).
connect-apps
ComposioHQ
Connect Claude to external apps like Gmail, Slack, GitHub. Use this skill when the user wants to send emails, create issues, post messages, or take actions in external services.
freshdesk-automation
sickn33
Automate Freshdesk helpdesk operations including tickets, contacts, companies, notes, and replies via Rube MCP (Composio). Always search tools first for current schemas.