larkopen

Interact with Lark/Feishu OpenAPI using a stdlib-only Python CLI.

Updated Sep 16, 2024
One-click install
npx skills add https://github.com/bagaking/larkopen --skill larkopen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: larkopen
Source: https://github.com/bagaking/larkopen/tree/main
Command: npx skills add https://github.com/bagaking/larkopen --skill larkopen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to interact with Lark/Feishu APIs directly from your command line or agent, without needing to set up a full development environment or integrate a complex SDK.

Core Features & Use Cases

  • Send Messages: Post text, rich content, cards, and files to chats or users.
  • Manage Docs/Wiki: Create, read, and update Lark documents and wiki pages.
  • Handle Files: Upload files to Lark Drive and manage permissions.
  • Use Case: An agent needs to notify a user about a critical system alert. It uses this Skill to send a formatted card message directly to the user's chat, including relevant details and a quick action button.

Quick Start

Use the larkopen skill to send a text message to the user with email '[email protected]'.

Frequently Asked Questions about larkopen

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

FAQPage Schema
How do I send messages to Lark or Feishu chats using a command line interface?

You can send messages to Lark or Feishu by using a standalone Python CLI that posts text, rich content, cards, and files directly to chats or users via App ID/Secret or user tokens.

Can I manage Lark documents and wiki pages without integrating a full SDK?

Yes, you can create, read, and update Lark documents and wiki pages directly from your command line or agent using a stdlib-only Python CLI, avoiding complex SDK integration.

Does the Lark OpenAPI CLI require additional dependencies or a full development environment?

No, the CLI operates entirely standalone using only the Python standard library, requiring no additional dependencies or complex development environment setup to access Lark APIs.

What is the best way to automate sending system alerts to Feishu users from an agent?

Automating Feishu alerts is best done by using the CLI to send formatted card messages directly to a user's chat, enabling agents to include relevant details and action buttons.

How do I handle file uploads and manage permissions on Lark Drive via API?

You handle Lark Drive files by executing CLI commands to upload files and manage their permissions, supporting both tenant and user contexts for broad API access control.