openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > feishu-share-link

飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。

AI 与大模型

作者:AI悦创Python一对一辅导 @AndersonHJB

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.0.2

统计:⭐ 1 · 108 · 0 current installs · 0 all-time installs

1

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:andersonhjb/feishu-share-link

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill is an instruction-only helper that generates Feishu dual-format share links and only reads a single workspace config file for a tenant domain — its requirements and behavior are coherent with its stated purpose.

目的

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.

说明范围

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.

安装机制

Instruction-only skill with no install spec, no downloads, and no code files — minimal footprint and no installer risk.

证书

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.

持久

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.

综合结论

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…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「feishu-share-link」。简介:飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/andersonhjb/feishu-share-link/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: feishu-share-link
description: 飞书专属分享链接生成规范。当生成文档、多维表格、知识库等链接时,必须同时提供专属企业域名的链接和通用飞书根域名的链接,确保稳妥访问。支持多租户动态读取。
---

# 飞书专属分享链接生成规范 (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}`