lark-skill-maker

SkillCommunityAudit warningsTranslated from Chinese

This skill provides a framework for creating custom skills for lark-cli. It enables users to wrap Lark API operations into reusable instructions for AI agents, supporting both atomic API calls and multi-step workflows.

Install:
npx skills add larksuite/cli/lark-skill-maker

Skill Maker

Create a new Skill based on lark-cli. A Skill = a SKILL.md file that teaches an AI how to complete tasks using CLI commands.

CLI Core Capabilities

lark-cli <service> <resource> <method>          # Registered API
lark-cli <service> +<verb>                      # Shortcut (Advanced encapsulation)
lark-cli api <METHOD> <path> [--data/--params]  # Any Feishu OpenAPI
lark-cli schema <service.resource.method>       # Check parameter definitions

Priority: Shortcut > Registered API > api raw call.

Researching APIs

# 1. View existing API resources and Shortcuts
lark-cli <service> --help

# 2. Check parameter definitions
lark-cli schema <service.resource.method>

# 3. For unregistered APIs, call directly using 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"}'

If the above commands cannot cover the requirements (the CLI does not have a corresponding registered API or Shortcut), use lark-openapi-explorer to dig through the official Feishu documentation library layer by layer to obtain complete method, path, parameter, and permission information, and then complete the task via lark-cli api raw calls.

Determine which APIs, parameters, and scopes are needed through the above process.

SKILL.md Template

Place the file in skills/lark-<name>/SKILL.md:

---
name: lark-<name>
version: 1.0.0
description: "<Function description>. Use when the user needs to <trigger scenario>."
metadata:
  requires:
    bins: ["lark-cli"]
---


# <Title>

> **Prerequisites:** Read [`../lark-shared/SKILL.md`](../lark-shared/SKILL.md) first.

## Commands

\```bash
# Single-step operation
lark-cli api POST /open-apis/xxx --data '{...}'

# Multi-step orchestration: Explain data transfer between steps
# Step 1: ... (record the returned xxx_id)
# Step 2: Use the xxx_id from Step 1
\```

## Permissions

| Operation | Required scope |
|-----------|----------------|
| xxx       | `scope:name`   |

Key Principles

  • description determines triggering, Include functional keywords + "Use when the user needs to..."
  • Authentication, Explain the required scope, use lark-cli auth login --domain <name> for login
  • Security, Confirm user intent before write operations, recommend --dry-run for preview
  • Orchestration, Explain data transfer, failure rollback, and parallelizable steps
Share:
Details:
  • Installs


    216,162
  • First seen


    Jun 10, 2026
Security audits
Gen Agent Trust HubPASS
SocketWARN
SnykPASS (low risk)
ZeroLeaksPASS
View Repository

Auto-fetched from GitHub .

Stats via skills.sh.

Skills similar to lark-skill-maker:

 

 
 
  • Installs


 

 
 
  • Installs


 

 
 
  • Installs