← Back to Skills Marketplace
andersonhjb

feishu-share-link

by AI悦创Python一对一辅导 · GitHub ↗ · v0.0.2 · MIT-0
cross-platform ✓ Security Clean
267
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install feishu-share-link
Description
飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。
README (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}
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-share-link
  3. After installation, invoke the skill by name or use /feishu-share-link
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug feishu-share-link
Version 0.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is feishu-share-link?

飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。 It is an AI Agent Skill for Claude Code / OpenClaw, with 267 downloads so far.

How do I install feishu-share-link?

Run "/install feishu-share-link" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is feishu-share-link free?

Yes, feishu-share-link is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does feishu-share-link support?

feishu-share-link is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishu-share-link?

It is built and maintained by AI悦创Python一对一辅导 (@andersonhjb); the current version is v0.0.2.

💬 Comments