agentleFS
CassianFlorinCassianFlorin/skill-hub-registry/skills/official/feishu-cli/SKILL.md

feishu-cli

Skill2 starsChanged 6 months agoMITView on GitHub

Use this skill when a user asks to install, configure, authenticate, verify, or use Feishu/Lark CLI capabilities from an Agent workflow. Source: https://open.feishu.cn/document/no_class/mcp-archive/feishu-cli-installation-guide.md First check whether the CLI is already available: If lark-cli is missing, install the CLI and the official companion Skill: Configure application credentials: This may require user-provided app credentials. Do not invent credentials or write secrets into repository files. Start login and share the authorization URL with the user: The user must complete authorization in a browser.…

  • Installs packages

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when a user asks to install, configure, authenticate, verify, or use Feishu/Lark CLI capabilities from an Agent workflow.

    line 3
  2. Very specific:

    If lark-cli is missing, install the CLI and the official companion Skill:

    line 21
  3. Distinctive:

    Start login and share the authorization URL with the user:

    line 38
  4. Very specific:

    Prefer lark-cli for Feishu/Lark operations after authentication is verified.

    line 52
  5. Distinctive:

    Run read/status commands before mutating Feishu resources.

    line 53
  6. Distinctive:

    Keep app IDs, app secrets, tenant credentials, tokens, and authorization URLs out of committed files and public logs.

    line 55
  7. Distinctive:

    If a command fails, report the command, exit status, and actionable next step instead of retrying blindly.

    line 56
  8. Distinctive:

    If either command is unavailable, reinstall the CLI and companion Skill using the setup commands above.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Feishu CLI

Use this skill when a user asks to install, configure, authenticate, verify, or use Feishu/Lark CLI capabilities from an Agent workflow.

Source: https://open.feishu.cn/document/no_class/mcp-archive/feishu-cli-installation-guide.md

When To Use

  • The user asks to set up Feishu CLI or the Feishu CLI companion Skill.
  • The task needs access to Feishu/Lark documents, sheets, messages, apps, or Open Platform operations through lark-cli.
  • The user asks whether Feishu CLI is authenticated, configured, or ready for Agent use.

Setup

First check whether the CLI is already available:

lark-cli auth status

If lark-cli is missing, install the CLI and the official companion Skill:

npm install -g @larksuite/cli
npx -y skills add https://open.feishu.cn --skill -y

Configure application credentials:

lark-cli config init --new

This may require user-provided app credentials. Do not invent credentials or write secrets into repository files.

Login

Start login and share the authorization URL with the user:

lark-cli auth login --recommend

The user must complete authorization in a browser. After they finish, verify the session:

lark-cli auth status

Operating Rules

  • Prefer lark-cli for Feishu/Lark operations after authentication is verified.
  • Run read/status commands before mutating Feishu resources.
  • Confirm with the user before sending messages, editing shared documents, changing permissions, or deleting content.
  • Keep app IDs, app secrets, tenant credentials, tokens, and authorization URLs out of committed files and public logs.
  • If a command fails, report the command, exit status, and actionable next step instead of retrying blindly.

Verification

lark-cli auth status
lark-cli config list

If either command is unavailable, reinstall the CLI and companion Skill using the setup commands above.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.