happycapy-feishu

happycapy-feishu is a skill for Claude Code, Codex from happycapy-ai/Happycapy-skills. It costs 99 tokens per session (1,875 once invoked), scanned A, original, MIT.

An installation guide for connecting Claude to Feishu (also called Lark), a workplace app for messages, documents, tables, and calendars. It sets up and authorizes a Feishu MCP connection.

In plain words
What is it for?
Use it when installing or configuring Feishu/Lark for Claude, renewing expired access, or fixing a connection that no longer works.
Why use it?
It guides you through creating the required Feishu app credentials and configuring the connection, so you do not have to work out the setup or reauthorization steps yourself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when installing or configuring Feishu/Lark for Claude, renewing expired access, or fixing a connection that no longer works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/happycapy-ai/happycapy-skills/happycapy-feishu
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add happycapy-ai/Happycapy-skills --skill happycapy-feishu
Clone the repo
git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for happycapy-feishu

README.md
[![agentmods](https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/happycapy-feishu/github.svg)](https://agentmods.dev/skills/happycapy-ai/happycapy-skills/happycapy-feishu)
Your own site
<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/happycapy-feishu"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/happycapy-feishu/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for happycapy-feishu

Your own site · 80×15
<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/happycapy-feishu"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/happycapy-feishu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 68
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 113
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 150
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 113
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.01875
Opus 5 $0.00049 $0.00937
Sonnet 5 $0.00020 $0.00375
Haiku 4.5 $0.00010 $0.00187

Measured 13d ago against content hash 8ad17a4410ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

happycapy-feishu scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/keytar-file-storage.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

### 3.2 服务端 curl /authorize(必须执行,存储 PKCE 状态)
skills/happycapy-feishu/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

飞书 MCP 安装向导

首先询问用户: 你是否已经有飞书应用的 App IDApp Secret

  • 有的话:直接告知你,Claude 立即进入第二步执行安装和 OAuth 授权。
  • 没有的话:按第一步引导用户创建应用。

第一步:引导用户创建飞书应用(仅在用户没有凭证时执行)

告知用户按以下步骤操作,完成后把 App IDApp Secret 发给你:

  1. 打开 https://open.feishu.cn/app 并登录
  2. 右上角点击创建应用自建应用,填写任意名称(如 Claude MCP
  3. 进入应用后,凭证与基础信息页面找到 App IDApp Secret
  4. 左侧菜单进入安全设置重定向 URL → 添加:http://localhost:3000/callback
  5. 左侧菜单进入权限管理 → 右上角点击批量导入权限 → 粘贴以下 JSON 后确认导入:

重要: 每次引导用户时,必须读取 assets/feishu-permissions.json 并将其完整内容全量输出,不得省略、截断或用省略号代替任何内容。

  1. 左侧菜单进入添加应用能力 → 务必开启 机器人 能力

  2. 左侧菜单进入事件与回调事件配置

    • 请求方式选择:使用长连接接收事件(无需公网服务器)
    • 点击添加事件,搜索 im.message.receive_v1(接收消息),勾选添加
  3. 左侧菜单进入版本管理与发布,创建版本并发布(内部测试版即可)


第二步:自动安装配置(收到凭证后 Claude 执行)

2.1 注册 MCP 到全局配置

直接编辑 ~/.claude.json,向其中写入 mcpServers 字段(保留已有内容):

python3 -c "
import json, os
f = os.path.expanduser('~/.claude.json')
with open(f) as fp:
    cfg = json.load(fp)
cfg.setdefault('mcpServers', {})['lark-mcp'] = {
    'command': 'npx',
    'args': ['-y', '@larksuiteoapi/lark-mcp', 'mcp',
             '-a', '<APP_ID>', '-s', '<APP_SECRET>',
             '--oauth',
             '--tools', 'preset.default,im.v1.message.reply,im.v1.message.get,im.v1.message.patch,im.v1.message.delete,im.v1.chat.get,im.v1.chat.search']
}
with open(f, 'w') as fp:
    json.dump(cfg, fp, indent=2, ensure_ascii=False)
print('MCP 注册完成')
"

2.2 定位 lark-mcp 缓存目录(后续步骤共用)

无桌面 Linux 环境中 keytar 依赖 dbus-launch,导致 token 只存内存、重启即丢失。先触发下载并定位目录:

# 触发一次确保包已下载
npx -y @larksuiteoapi/lark-mcp --version 2>/dev/null || true

# 定位缓存目录,后续 2.3 和 2.4 共用此变量
LARK_DIR=$(find ~/.npm/_npx -name "package.json" 2>/dev/null \
  | xargs grep -l '"@larksuiteoapi/lark-mcp"' 2>/dev/null \
  | grep -v node_modules | head -1 | xargs dirname)
echo "LARK_DIR: $LARK_DIR"

2.3 修复 headless 环境 token 持久化(替换 keytar 为文件存储)

使用 skill 内置的预置文件替换 keytar(token 保存在 ~/.lark-mcp-keychain.json):

Read the full file on GitHub · 152 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 152 lines · 99 tokens per session scan A 8ad17a4410ac

Subscribe to this mod's changes

happycapy-feishu is a skill published in the GitHub repository happycapy-ai/Happycapy-skills (139 stars, last pushed 9d ago), licensed MIT. It adds 99 tokens to every session and 1,875 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens