TopRank Skills

Home / Claw Skills / Git / GitHub / Lark Wiki Writer
Official OpenClaw rules 36%

Lark Wiki Writer

Lark Wiki Writer

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Lark Wiki Writer 技能。 若已安装,则直接安装 Lark Wiki Writer 技能。

Overview

Skill Key
griffithkk3-del/lark-wiki-writer
Author
griffithkk3-del
Source Repo
openclaw/skills
Version
-
Source Path
skills/griffithkk3-del/lark-wiki-writer
Latest Commit SHA
6c4172f54eae3e39c284274e4cc8dfa9eea47c62

Extracted Content

SKILL.md excerpt

# Lark Wiki Writer

飞书知识库文档写入器 - 支持 Markdown 解析、富文本、标题识别。

## 快速开始

### 步骤 1:创建飞书应用

1. 访问 [飞书开放平台](https://open.larksuite.com/app)
2. 点击"创建企业自建应用"
3. 填写应用名称和描述
4. 记录 **App ID** 和 **App Secret**

### 步骤 2:配置应用权限

在应用管理页面,添加以下权限:

- ✅ **知识库** → 查看、编辑和管理知识空间
- ✅ **文档** → 查看、编辑和管理文档

### 步骤 3:获取知识库 Space ID

1. 打开飞书知识库
2. 在浏览器地址栏找到 Space ID(长数字串)
3. 例如:`https://xxx.larksuite.com/wiki/space/7603663680785370844`
   - Space ID 就是 `7603663680785370844`

### 步骤 4:获取父节点 Token(可选)

如果要在特定目录下创建文档:

1. 打开目标目录
2. 在地址栏找到 node_token
3. 例如:`https://xxx.larksuite.com/wiki/JieGwPB0MiKhPbkkq9cltbPIgid`
   - 父节点 token 就是 `JieGwPB0MiKhPbkkq9cltbPIgid`

### 步骤 5:配置环境变量

```bash
export LARK_APP_ID="cli_xxxxxxxxxx"
export LARK_APP_SECRET="xxxxxxxxxxxxxx"
export LARK_SPACE_ID="7603663680785370844"
export LARK_WIKI_DOMAIN="your-domain.larksuite.com"  # 可选
export LARK_PARENT_NODE="JieGwPB0MiKhPbkkq9cltbPIgid"  # 可选
```

或者创建配置文件 `config.json`:

```json
{
  "app_id": "cli_xxxxxxxxxx",
  "app_secret": "xxxxxxxxxxxxxx",
  "space_id": "7603663680785370844",
  "wiki_domain": "your-domain.larksuite.com"
}
```

### 步骤 6:验证配置

```bash
python3 lark_wiki_writer.py validate \
  --app-id YOUR_APP_ID \
  --app-secret YOUR_APP_SECRET \
  --space-id YOUR_SPACE_ID
```

输出示例:
```
📊 配置验证结果

APP_ID: ✅
APP_SECRET: ✅
Space ID: ✅
Token 获取: ✅
知识库访问: ✅
```

---

## 核心功能

### 1. 标题识别

根据 `#` 数量自动识别标题级别:

| Markdown | 飞书 Block |
|----------|-----------|
| `# 标题` | heading1 |
| `## 二级标题` | heading2 |
| `### 三级标题` | heading3 |
| ... | ... |
| `###### 六级标题` | heading6 |

### 2. 富文本支持

| Markdown | 效果 |
|----------|------|
| `**加粗**` | **加粗** |
| `*斜体*` | *斜体* |
| `***加粗斜体***` | ***加粗斜体*** |
| `~~删除线~~` | ~~删...

README excerpt

# Lark Wiki Writer

飞书知识库文档写入器 - 支持 Markdown 解析、富文本、标题识别。

## 安装

```bash
# 下载 skill
git clone <repo_url>
cd lark-wiki-writer

# 或使用 clawhub
clawhub install lark-wiki-writer
```

## 快速开始

1. 创建飞书应用并获取凭证
2. 配置环境变量
3. 运行验证命令
4. 开始使用

详细文档请查看 [SKILL.md](SKILL.md)

## 示例

```bash
# 验证配置
python3 lark_wiki_writer.py validate \
  --app-id YOUR_APP_ID \
  --app-secret YOUR_APP_SECRET \
  --space-id YOUR_SPACE_ID

# 创建文档
python3 lark_wiki_writer.py write_file "我的文档" report.md \
  --app-id YOUR_APP_ID \
  --app-secret YOUR_APP_SECRET \
  --space-id YOUR_SPACE_ID
```

## 许可证

MIT

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

edholofy

dojo.md

★ 4

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.

lethehades

wps-macos-helper

★ 1

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carev01

md-docs-search

★ 0

Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.

caqlayan

Tweet Processor

★ 0

Tweet Processor Skill