lark-approval

Query, process, and initiate Feishu approval instances via lark-cli commands.

3|2|Updated Jul 21, 2026
One-click install
npx skills add https://github.com/zlsbksdxl/codex-lark --skill lark-approval-zlsbksdxl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-approval
Source: https://github.com/zlsbksdxl/codex-lark/tree/main/plugins/feishu2codex/skills/lark-approval
Command: npx skills add https://github.com/zlsbksdxl/codex-lark --skill lark-approval-zlsbksdxl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Handling Feishu/Lark approvals manually through the web UI is slow and hard to automate. This Skill lets an AI agent search launchable approval definitions, initiate native approval instances, and process pending approval tasks (approve, reject, transfer, rollback, add-sign, remind, cancel, CC) directly through the lark-cli command line. ## Core Features & Use Cases - Approval Task Processing: Query pending/completed approval tasks and execute actions like approve, reject, transfer, rollback, add-sign, and remind using paired instance_code and task_id. - Native Approval Initiation: Follow a fixed search → get → create chain to assemble form control values and node approver parameters, then submit approval instances with user confirmation. - Instance Inspection & Management: View instance details, current nodes, and operation records; cancel initiated instances or append CC recipients. - Use Case: A user asks to submit a leave request. The Skill searches the leave approval definition, reads its form controls and node requirements, assembles the leaveGroupV2 control values, and creates the instance after user confirmation. ## Quick Start Ask the agent to list my pending Feishu approvals and approve the leave request from yesterday with the comment "agreed".

Frequently Asked Questions about lark-approval

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

FAQPage Schema
How do I approve a Feishu approval task from the command line?

First run lark-cli approval tasks query with topic 1 to get the instance_code and task_id of the pending task, then run lark-cli approval tasks approve with both values plus an optional comment and --yes to confirm the write operation.

How to initiate a leave approval instance in Feishu via API?

Follow the fixed chain: search the definition with approvals search, read its form and node_list with approvals get, assemble form control values per the control parameter reference, then call instances create with --yes after user confirmation.

Can third-party Feishu approval definitions be initiated through the API?

No. When approvals search returns is_external=true, the definition is a third-party approval and cannot use instances create. Return the create_link to the user so they initiate it through the linked page instead.

Why does my approval write operation fail with error 1395001?

Error 1395001 means the task state changed or the action is no longer permitted, often because someone else already processed it. Do not blindly retry; run one status query with tasks query or instances get, then report the conclusion to the user.

What is the difference between approval tasks and Feishu tasks?

Approval pending items are approval documents, not Feishu tasks. Any action on approval instances such as approve, reject, transfer, or remind belongs to lark-approval; only non-approval to-dos should be routed to lark-task.