Borrowing it
Nothing to install: this file belongs to EthanQC/feishu-user-plugin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/EthanQC/feishu-user-plugin/main/AGENTS.mdgit clone --depth 1 https://github.com/EthanQC/feishu-user-pluginWrote 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.
[](https://agentmods.dev/instructions/ethanqc/feishu-user-plugin/agents-md)<a href="https://agentmods.dev/instructions/ethanqc/feishu-user-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/ethanqc/feishu-user-plugin/agents-md/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.
<a href="https://agentmods.dev/instructions/ethanqc/feishu-user-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/ethanqc/feishu-user-plugin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03356 | $0.03356 |
| Opus 5.5 | $0.01342 | $0.01342 |
| Sonnet 5.5 | $0.00671 | $0.00671 |
| Haiku 4.5 | $0.00336 | $0.00336 |
Grade B, and why
feishu-user-plugin AGENTS.md scanned grade B 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 1mo ago.
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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Codex**:TOML 配置在 `~/.codex/config.toml` mcp_servers Copies of this mod
1 near-identical copy found in the catalogue:
- feishu-user-plugin CLAUDE.md — 98% identical, 2 lines differ
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
feishu-user-plugin — Codex 指令
本文件是 AI agent 与开发者在本仓内的核心指令。详细信息按需要查阅 docs/。
仓库是什么
All-in-one 飞书 plugin for Claude Code,覆盖三层鉴权:
- 用户身份(cookie 鉴权):以你身份发送消息(text / image / file / post)
- 官方 API(应用凭证):读群消息、操作 docs / tables / wiki / drive / contacts,上传文件
- 用户 OAuth UAT(user_access_token):读 P2P 私聊历史,列用户所有 chat
85 个工具 + 9 个 MCP prompts。
MCP Prompts(v1.3.7+)
9 个 Claude Code skill 同时通过 prompts/list + prompts/get 暴露给 Codex / Cursor / OpenClaw / Windsurf。Prompt body 在 server 启动时从 skills/feishu-user-plugin/references/ 读。
| Prompt | 描述 |
|---|---|
/send |
以用户身份(非 bot)发消息 |
/reply |
读最近消息然后回复 |
/digest |
总结群或 P2P 最近消息 |
/search |
搜飞书联系人或群 |
/doc |
搜 / 读 / 创建飞书文档 |
/table |
操作飞书 Bitable(多维表格) |
/wiki |
搜 / 浏览飞书 Wiki 空间 |
/drive |
列文件 / 创建文件夹(飞书云空间) |
/status |
检查三层鉴权(cookie / app / UAT) |
每个 prompt 接受单一 arguments 自由文本(与 Claude Code skill 的 $ARGUMENTS 约定一致)。status 无参数。
工具大类(85 tools)
每个工具的具体参数说明在 MCP inputSchema.description(运行时可见)。工具列表 + 跨域 caveat + 用法 patterns 见 docs/TOOLS.md。
13 个工具大类的快速 sketch:
- 用户身份消息(cookie protobuf,8):
send_to_user/send_to_group/send_as_user/send_image_as_user/send_file_as_user/send_post_as_user/send_card_as_user/batch_send - 用户身份联系人(cookie,5):
search_contacts/create_p2p_chat/get_chat_info/get_user_info/get_login_status - UAT P2P 读取(2):
read_p2p_messages/list_user_chats - 官方 API IM(16,含 v1.3.12
search_messages)、Docs(7)、Bitable(5)、Wiki(9)、Drive(4)、OKR(6)、Calendar(8)、Tasks v2(7) - 跨域 Uploads(3):
upload_image/upload_file/upload_bitable_attachment - 插件层 多 profile(3)+ 实时事件(2)
必需环境变量
| 变量 | 用途 |
|---|---|
LARK_COOKIE |
用户身份发消息 |
LARK_APP_ID |
官方 API 访问 |
LARK_APP_SECRET |
官方 API 访问 |
LARK_USER_ACCESS_TOKEN |
P2P 读取 |
LARK_USER_REFRESH_TOKEN |
UAT 自动刷新 |
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.
- 1mo ago First seen · 151 lines · 3,356 tokens per session scan B 52bd641db5eb
feishu-user-plugin AGENTS.md is an instructions file published in the GitHub repository EthanQC/feishu-user-plugin (11 stars, last pushed 2mo ago), licensed MIT. It adds 3,356 tokens to every session, about $0.0134 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.