← 返回 Skills 市场
andersonhjb

feishu-share-link

作者 AI悦创Python一对一辅导 · GitHub ↗ · v0.0.2 · MIT-0
cross-platform ✓ 安全检测通过
267
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install feishu-share-link
功能描述
飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。
使用说明 (SKILL.md)

飞书专属分享链接生成规范 (Feishu Share Link)

📌 核心规则

在向用户发送飞书文件(文档、多维表格、知识库、电子表格等)的分享链接时,必须同时发送两条链接

  1. 专属链接:使用当前企业/租户的专属域名前缀(例如 https://czpn2fds56.feishu.cn)。
  2. 通用链接:使用默认的飞书根域名(https://feishu.cn)作为备用,确保无论在何种客户端或网络环境下都能获得最稳妥的访问体验。

🔍 获取专属域名的方法

作为大模型,当你准备生成链接时,请执行以下步骤获取当前用户的专属域名:

  1. 读取 ~/.openclaw/workspace/TOOLS.md,查找是否有类似 Feishu Custom Domain: xxx.feishu.cn 的记录。
  2. 如果没有,优先询问用户其飞书企业专属域名前缀是什么,或者提示用户将前缀写入 TOOLS.md。如果用户未提供,专属链接暂缺,仅发送通用链接。

🔗 各类型链接拼接格式

假设获取到的专属域名为 {CUSTOM_DOMAIN}(例如 czpn2fds56.feishu.cn),根域名为 feishu.cn。 回复用户时,请采用如下双链接排版格式:

1. 多维表格 (Bitable)

  • 🏢 专属链接: https://{CUSTOM_DOMAIN}/base/{APP_TOKEN}?from=from_copylink
  • 🌐 通用链接: https://feishu.cn/base/{APP_TOKEN}?from=from_copylink

2. 新版云文档 (Docx)

  • 🏢 专属链接: https://{CUSTOM_DOMAIN}/docx/{DOC_TOKEN}
  • 🌐 通用链接: https://feishu.cn/docx/{DOC_TOKEN}

3. 知识库 (Wiki)

  • 🏢 专属链接: https://{CUSTOM_DOMAIN}/wiki/{WIKI_TOKEN}
  • 🌐 通用链接: https://feishu.cn/wiki/{WIKI_TOKEN}

4. 电子表格 (Sheet)

  • 🏢 专属链接: https://{CUSTOM_DOMAIN}/sheets/{SPREADSHEET_TOKEN}
  • 🌐 通用链接: https://feishu.cn/sheets/{SPREADSHEET_TOKEN}
安全使用建议
This skill is coherent and low-risk, but note it will read the file ~/.openclaw/workspace/TOOLS.md to find a Feishu Custom Domain. Before installing, inspect that file and avoid placing secrets or credentials in it. If the domain isn't present the skill will prompt you to provide it — you can instead paste the domain at request time. Because the skill is instruction-only and has no install steps, it won't add binaries or network endpoints, but as with any agent-invocable skill, avoid storing sensitive tokens in the suggested config file and verify generated links contain only the expected document tokens (not secrets).
功能分析
Type: OpenClaw Skill Name: feishu-share-link Version: 0.0.2 The skill bundle contains purely instructional Markdown files designed to standardize the formatting of Feishu (Lark) share links. It instructs the AI agent to read a local configuration file (~/.openclaw/workspace/TOOLS.md) to retrieve a custom enterprise domain prefix, which is then used to generate user-friendly links. There is no executable code, no evidence of data exfiltration to external parties, and the behavior is transparently documented for the user.
能力评估
Purpose & Capability
Name/description (generate both tenant-specific and root feishu.cn links) match the instructions and required actions. Asking for a custom domain and showing both links is coherent with improving link-opening behavior in the Feishu client.
Instruction Scope
SKILL.md instructs the agent only to read ~/.openclaw/workspace/TOOLS.md for a Feishu Custom Domain and otherwise to ask the user; it does not request unrelated files, environment variables, or network endpoints. Reading that single config file is within scope for determining a tenant domain.
Install Mechanism
Instruction-only skill with no install spec, no downloads, and no code files — minimal footprint and no installer risk.
Credentials
No environment variables, secrets, or config paths beyond the single TOOLS.md file are required. The requested local file is plausible for storing a tenant domain and does not appear to request excessive credentials.
Persistence & Privilege
always is false and the skill has no install actions that would persist or modify other skills or system settings. It does instruct the agent to read a file in the user's workspace only when generating links.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-share-link
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-share-link 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.2
- Initial documentation added with a detailed README.md. - Provides clear rules and formats for generating Feishu share links with both custom enterprise and root domains. - Instructions included for dynamically determining the custom domain per tenant. - Usage examples for Bitable, Docx, Wiki, and Sheets links. - No code changes; documentation only.
v0.0.1
feishu-share-link 0.0.1 - Initial release with规范规范 for generating Feishu share links. - Requires all shared links to include both a tenant-specific domain and the generic feishu.cn domain for reliable access. - Details method for dynamically retrieving the tenant domain from workspace configuration. - Provides clear formatting for document, bitable, wiki, and sheet share links.
元数据
Slug feishu-share-link
版本 0.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

feishu-share-link 是什么?

飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。

如何安装 feishu-share-link?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-share-link」即可一键安装,无需额外配置。

feishu-share-link 是免费的吗?

是的,feishu-share-link 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

feishu-share-link 支持哪些平台?

feishu-share-link 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 feishu-share-link?

由 AI悦创Python一对一辅导(@andersonhjb)开发并维护,当前版本 v0.0.2。

💬 留言讨论