Skip to content
larksuite avatar

Lark Skill Maker

Guide for building reusable Feishu lark-cli skills that wrap atomic API calls or multi-step workflows.

CCM score
69 of 100
skills.sh installs
488.2K
GitHub stars
18.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CLI discovery: service help, lark-cli schema parameter lookup, and raw lark-cli api calls for unregistered OpenAPI paths
  • Provides a SKILL.md template with frontmatter, prerequisite links, command blocks, and a scope table per operation
  • Enforces key principles: description keywords that drive triggering, documented scopes, user confirmation before writes, and --dry-run previews
  • Designed for developers who need to package Feishu API operations or chained multi-step flows into reusable skills

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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)。

## 命令

Details

Repository
github.com/larksuite/cli
Categories
Skill & Plugin Building, Technical Documentation, CLI & Terminal
First seen
Apr 16, 2026

Questions

What does the lark-skill-maker skill do?

It helps you create a custom skill for lark-cli, which is a Skill that teaches an AI agent to run lark-cli commands to finish a task. It fits when you want to wrap Feishu API operations into a reusable skill, either as a single atomic API or as a multi-step workflow.

How do I install lark-skill-maker?

Run npx -y skills add larksuite/cli --skill lark-skill-maker -y in your project. After that the agent can use the skill to build new lark-cli skills around Feishu APIs.

What does lark-skill-maker need before it can be used?

It requires the lark-cli binary, since the skill's metadata lists lark-cli as a required tool. The new skills it produces use lark-cli commands and require the scopes they call, with login done through lark-cli auth login.

Where does lark-skill-maker rank among skill-building tools?

It sits in the Skill & Plugin Building category on Claude Marketplaces, where it ranks in the top 3. Other skills in that category include find-skills, writing-for-agents, and skill-creator, and this one differs by focusing on building skills for lark-cli and Feishu APIs.

More from larksuite/cli

All 27

Similar to Lark Skill Maker

More Skill & Plugin Building