Skip to content
cccskills
FreePublished on GitHub

lark-cli-workflow

Coordinate Lark and Feishu work from Codex by routing requests to the appropriate skills and CLI commands. Resolve linked objects, choose user or bot access, and guide reading or updates to documents, spreadsheets, events, and tasks.

OriginalShow the original description

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.

See how to install

Good for

  • Read and summarize linked documents or wiki pages
  • Update specific document sections or spreadsheet ranges
  • Create tasks or calendar events
  • Choose the appropriate skill and access identity

Files included (1)

  • SKILL.md4.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  1. Classify the object and action.
    • Docs / Wiki text: lark-doc, with docs +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-vc or lark-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.
  2. 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.
  3. Pick identity deliberately.
    • Use --as user for personal docs, Drive, calendar, mail, IM history, wiki spaces, and most user-owned resources.
    • Use --as bot only 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 ....

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/, or Notes/ 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 (user or bot) when it matters.
  • Mention missing permissions, unread embedded resources, or skipped high-risk actions.
  • If lark-cli suggests an update, finish the current task first, then tell the user the update is available.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-hotspots

FreeSummary

Gather recent AI products, papers, tools, and viewpoints into a Chinese and English HTML daily report. Select up to ten supported items, check original sources where possible, and summarize shared trends with practical next actions.

  • Reviewing recent AI developments each morning
  • Tracking research and tools for AI agents
  • Choosing what to read or try next
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

Retrieve an arxiv paper's full text from its HTML version using an ID or URL. Extract readable text with section structure, optionally save it to a file, and prepare it for reading, notes, or technical analysis.

  • Reading a paper from an arxiv ID or URL
  • Extracting full text for research notes
  • Saving long papers for section-by-section reading
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

ask-echo

FreeSummary

Search the web or find images through the Ask-Echo API from 火山引擎. Retrieve result details, request an AI-generated summary, and narrow searches by time range or selected websites.

  • Finding web pages about a specific topic
  • Getting an AI-generated summary of search results
  • Searching for images
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

bluebubbles

FreeSummary

Build or update the BlueBubbles channel plugin for Clawdbot. The skill explains code locations, existing helper functions, message delivery, connection checks, and webhook handling, which receives incoming messages and attachments through HTTP notifications.

  • Building or updating the BlueBubbles channel plugin
  • Implementing message delivery and connection checks
  • Handling incoming messages and attachments through webhooks
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

cli-creator

FreeSummary

Turn API documentation, SDKs, or existing scripts into reusable command-line tools for Codex. Build focused read and write commands, stable JSON output, authentication checks, and a companion skill explaining how future sessions should use the tool.

  • Turning an API into reusable commands
  • Making an internal script usable across projects
  • Adding JSON output and authentication checks
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

Improve existing code through up to two optimization rounds, measuring execution time and memory use against a baseline. Verify that results remain correct, save the optimized code, and document changes, measured gains, and trade-offs in a report.

  • Improving the performance of existing code
  • Comparing execution time and memory use with a baseline
  • Checking that optimized code produces correct results
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

See all skills by huangruiteng

Report a problem with this skill