lark-demo

Demonstrates fetching Lark documents and listing chat messages via lark-cli commands.

16.9k|1.4k|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/larksuite/cli --skill lark-demo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-demo
Source: https://github.com/larksuite/cli/tree/main/internal/qualitygate/skillscan/testdata/skills/lark-demo
Command: npx skills add https://github.com/larksuite/cli --skill lark-demo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill demonstrates how to invoke lark-cli commands for common Lark/Feishu operations, providing a reference example for fetching documents and listing chat messages.

Core Features & Use Cases

  • Document Fetching: Shows how to retrieve a Lark document using lark-cli docs +fetch with a specified API version and document ID.
  • Message Listing: Demonstrates listing messages in a chat container with pagination controls via lark-cli im messages list.
  • Use Case: Use this demo as a starting template to learn the lark-cli command syntax before building your own Lark automation workflows.

Quick Start

Ask the assistant to fetch a Lark document by ID and list recent messages from a chat using the lark-cli demo commands.

Frequently Asked Questions about lark-demo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch a Lark document using lark-cli?

Run lark-cli docs +fetch with the --api-version flag and a --doc parameter containing the document ID. The demo shows fetching with API version v2 and a sample document token.

How to list messages from a Lark chat with lark-cli?

Use lark-cli im messages list with --container-id set to the chat ID (starting with oc_) and --page-size to control how many messages are returned per page.

What is a container ID in Lark messaging commands?

A container ID identifies the chat whose messages you want to list, typically starting with the oc_ prefix. You pass it via the --container-id flag to the im messages list command.

Does lark-cli require authentication before running these commands?

Yes, lark-cli requires authentication with your Lark/Feishu app credentials before API commands work. Refer to the lark-cli documentation for the interactive login and app setup flow.