lark-approval

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

2|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-approval-deepjh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-approval
Source: https://github.com/DeepJH/doubao-skill-and-info/tree/main/skills/lark-approval
Command: npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-approval-deepjh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and 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 query approval to-do/done lists, view instance details, and execute approval actions (approve, reject, transfer, rollback, remind, add-sign, cancel, cc) or initiate native approval instances directly through lark-cli. ## Core Features & Use Cases - Approval Task Processing: Query pending/completed approval tasks and execute actions like approve, reject, transfer, add-sign, rollback, and remind using instance_code and task_id pairs. - Approval Initiation Workflow: Search launchable approval definitions, inspect form controls and node requirements, then create native approval instances with correctly structured form values. - Instance Management: View instance details, cancel initiated approvals, and append cc recipients to running instances. - Use Case: A user asks "approve all my pending leave requests" — the agent queries the to-do list, retrieves instance_code and task_id pairs, and executes approvals with comments, handling error code 1395001 with a defined decision tree instead of blind retries. ## 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 the --yes flag to confirm the write operation.

How to initiate a Lark approval instance via API?

Follow the fixed chain: search launchable definitions with approvals search, read the definition with approvals get to learn form controls and node requirements, then call instances create with the assembled form JSON and any required node_approver_list entries.

What is the difference between lark-approval and lark-task?

lark-approval handles approval documents, instances, and approval to-dos such as approve, reject, transfer, and rollback. Non-approval tasks and general to-dos belong to lark-task; approval-related items should never be routed there.

Why does my approval write operation fail with error 1395001?

Error 1395001 means the task state changed or the write precondition failed, often because someone else already processed the task. Stop retrying, optionally run one status query with tasks query or instances get, then report the conclusion to the user.

Can I create approval definitions or submit third-party approvals with this tool?

No. Creating approval definitions must be done in the Feishu client or admin console, and third-party definitions (is_external=true) cannot use instances create; the skill returns the create_link so the user initiates through the external link.

Which approval form controls are not supported by the create instance API?

Unsupported controls include text, mutableGroup, account, serialNumber, tripGroup, and several HR control groups such as onboarding, regularation, remedy, job adjust, and offboarding groups. Definitions containing these cannot be fully submitted through the API.