larksuite avatar

Lark Skill Maker

Wraps Lark/Feishu APIs into reusable skills for lark-cli, which is handy if you're building automation workflows around Feishu and want to package common operations. It generates SKILL.md files that teach Claude how to chain API calls, handle authentication scopes, and pass data between steps. The tool helps you explore existing registered APIs versus raw OpenAPI endpoints, then creates documentation templates with proper error handling and dry-run safety checks. Most useful when you find yourself repeating the same multi-step Feishu operations and want to turn them into one-command shortcuts.

skills.sh installs
476K
GitHub stars
18K
last updated
Aug 21, 2026

Install

$ npx -y skills add larksuite/cli --skill lark-skill-maker --agent claude-code

Installs into .claude/skills of the current project.

Files

Skill Maker

基于 lark-cli 创建新 Skill。Skill = 一份 SKILL.md,教 AI 用 CLI 命令完成任务。

CLI 核心能力

lark-cli <service> <resource> <method>          # 已注册 API
lark-cli <service> +<verb>                      # Shortcut(高级封装)
lark-cli api <METHOD> <path> [--data/--params]  # 任意飞书 OpenAPI
lark-cli schema <service.resource.method>       # 查参数定义

优先级:Shortcut > 已注册 API > api 裸调。

调研 API

# 1. 查看已有的 API 资源和 Shortcut
lark-cli <service> --help

# 2. 查参数定义
lark-cli schema <service.resource.method>

# 3. 未注册的 API,用 api 直接调用
lark-cli api GET /open-apis/vc/v1/rooms --params '{"page_size":"50"}'
lark-cli api POST /open-apis/vc/v1/rooms/search --data '{"query":"5F"}'

如果以上命令无法覆盖需求(CLI 没有对应的已注册 API 或 Shortcut),使用 lark-openapi-explorer 从飞书官方文档库逐层挖掘原生 OpenAPI 接口,获取完整的方法、路径、参数和权限信息,再通过 lark-cli api 裸调完成任务。

通过以上流程确定需要哪些 API、参数和 scope。

SKILL.md 模板

文件放在 skills/lark-<name>/SKILL.md:

---
name: lark-<name>
version: 1.0.0
description: "<功能描述>。当用户需要<触发场景>时使用。"
metadata:
  requires:
    bins: ["lark-cli"]
---


# <标题>

> **前置条件:** 先阅读 [`../lark-shared/SKILL.md`](../lark-shared/SKILL.md)。

## 命令

Sponsors

Details

Repository
github.com/larksuite/cli
Categories
Backend & APIs, CLI & Terminal, Office & Documents
First seen
Apr 16, 2026

More from larksuite/cli

All 29
1heygen-com avatarembedded-captionsheygen-com/hyperframesAdd captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embe453.9Kskills.sh installs
2microsoft avatarentra-agent-idmicrosoft/azure-skillsProvision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token e428.8Kskills.sh installs
3runcomfy-com avatarcontrolnet-poseruncomfy-com/skillsPose-conditioned generation on RunComfy via the `runcomfy` CLI. Routes across Kling 2-6 Motion Control Pro / Standard (transfer the motion / blocking of a refer274Kskills.sh installs
4runcomfy-com avatarnano-banana-editruncomfy-com/skillsEdit images with Google Nano Banana 2 (image-to-image edit endpoint) on RunComfy. Documents Nano Banana Edit's strengths (preserve subject identity, swap backgr274Kskills.sh installs
5higgsfield-ai avatarhiggsfield-marketplace-cardshiggsfield-ai/skillsGenerate marketplace product image cards through Higgsfield: compliant main image, secondary product images, and A+ style content modules. Use when the user ask210.6Kskills.sh installs
6microsoft avatarazure-cost-optimizationmicrosoft/azure-skillsIdentify Azure cost savings from usage and spending data. USE FOR: optimize Azure costs, reduce Azure spending/expenses, analyze Azure costs, find cost savings,155.4Kskills.sh installs