Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/riba2534/feishu-cli/feishu-cli-auth
feishu-cli-auth logo

feishu-cli-auth

riba2534/feishu-cli
719 installs1K stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|Command Execution|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-auth

Summary

>-

SKILL.md

飞书认证

本项目默认使用 App Token。只有搜索、消息历史/互动、审批任务、会议/妙记、邮箱等用户身份场景需要 User Access Token。

推荐流程

# 预检 scope
feishu-cli auth check --scope "search:docs:read search:message"

# 按业务域登录,自动带推荐 scope
feishu-cli auth login --domain search --recommend

# AI Agent 后台模式:输出 JSON 事件流,展示 verification_uri_complete 给用户
feishu-cli auth login --scope "search:docs:read search:message" --json

如果 auth check 返回 missing,先到飞书开放平台开通缺失 scope,再重新 auth login。

常用命令

feishu-cli auth status
feishu-cli auth status -o json --verify
feishu-cli auth check --scope "REQ_SCOPES"
feishu-cli auth login --domain <domain> --recommend
feishu-cli auth logout
feishu-cli config create-app --save

auth status -o json 未登录时会包含:

{"logged_in": false, "identity": "bot", "note": "未登录,当前将使用 App Token"}

AI Agent 判断是否满足某个任务,优先用 auth check,不要只看 auth status。

Token 解析策略

场景策略
默认命令App Token,不自动加载用户 token
可选 User Token 命令有 --user-access-token 或 FEISHU_USER_ACCESS_TOKEN 时用用户身份,否则 App Token
必须 User Token 命令参数 → 环境变量 → ~/.feishu-cli/token.json(可自动刷新)→ config

登录时 CLI 会自动注入 offline_access 和 auth:user.id:read。如果 refresh_token_present=false,通常是应用未开通 offline_access,需要开通后重新登录。

必须 User Token 的典型命令

命令典型 scope
search docssearch:docs:read
search messagessearch:message
msg get/list/history/mget/thread-messagesim:message:readonly + 用户消息读取 scope
msg pin/unpin/pinsim:message.pins
msg reaction add/remove/listim:message.reactions
msg search-chats、chat *im:chat:、im:chat.members:
approval task queryapproval:task
vc search/notes/recording、minutes *vc:、minutes: 相关 scope
mail *mail:user_mailbox:* 相关 scope
drive searchsearch:docs:read

msg delete 不是必须 User Token:默认 App Token 用于 Bot 自撤回;显式 User Token 可用于管理员撤回场景。

可选 User Token 的典型命令

wiki get/export/nodes
calendar list/get/event-search/freebusy
task create/complete/list、tasklist create/list/delete
user info/search
drive pull/push/status

这些命令默认 App Token;只有显式传 User Token 时才切换用户身份。

业务域登录

feishu-cli auth login --domain search --recommend
feishu-cli auth login --domain chat --recommend
feishu-cli auth login --domain vc --recommend
feishu-cli auth login --domain mail --recommend

多域可以显式传 scope;最终以 auth check --scope 结果为准。

排错

现象处理
not_logged_in执行 auth login --scope "..." --json
token_expired 且 refresh 可用业务命令会自动刷新;也可重新登录
needs_reloginrefresh token 已过期,重新登录
missing_refresh_token开通 offline_access 后 auth logout && auth login
99991672access token 无效或过期,重新登录
99991679应用未开通 scope,先在开放平台开通权限

Agent 约定

  1. 执行业务前先 auth check --scope,缺什么报什么。
  2. 登录用 --json 事件流,把 verification_uri_complete 给用户。
  3. 不把 user_access_token 写入文档、代码或日志。
  4. auth logout 会清理 token 和用户 profile 缓存。

Score

0–100
57/ 100

Grade

C

Popularity17/30

719 installs — growing adoption. Source repo has 1,207 GitHub stars.

Completeness19/30

Documented: full SKILL.md body, one-line install. Missing: description, category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Feishu Cli Auth skill score badge previewScore badge

Markdown

[![Feishu Cli Auth skill](https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-auth/badges/score.svg)](https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-auth)

HTML

<a href="https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-auth"><img src="https://www.claudemarket.ai/skills/riba2534/feishu-cli/feishu-cli-auth/badges/score.svg" alt="Feishu Cli Auth skill"/></a>

Feishu Cli Auth FAQ

How do I install the Feishu Cli Auth skill?

Run “npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-auth” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Feishu Cli Auth skill do?

>- The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Feishu Cli Auth skill free?

Yes. Feishu Cli Auth is a free, open-source skill published from riba2534/feishu-cli. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Feishu Cli Auth work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Feishu Cli Auth works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
firebase-auth-basics logo

firebase-auth-basics

firebase/agent-skills

126K installsInstall
convex-setup-auth logo

convex-setup-auth

get-convex/agent-skills

94K installsInstall
better-auth-best-practices logo

better-auth-best-practices

better-auth/skills

90K installsInstall
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

817K installsInstall
frontend-design logo

frontend-design

anthropics/skills

762K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before InstallingGuideOpenclaw Skills Complete Guide

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed