Agent skill

Feishu Doc Optimizer

by aAAaqwq in aAAaqwq/AGI-Super-Team

飞书云文档内容优化与格式美化。当用户需要优化飞书文档的排版、结构、格式、美观度时使用此技能。支持:(1) 读取飞书文档内容 (2) 优化文档结构和层次 (3) 清空并替换文档内容 (4) 通过浏览器自动化编辑文档。触发词:优化飞书文档、美化文档、整理文档格式、文档排版。

MITAuto-check passedProductivity & Automation

Install Feishu Doc Optimizer

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill feishu-doc-optimizer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team feishu-doc-optimizer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/feishu-doc-optimizer .claude/skills/feishu-doc-optimizer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
feishu-doc-optimizer
GitHub stars
105
Used in
1 other repo
Token cost
~516 tokens
SKILL.md length
107 words
Files
4 (incl. scripts, references)
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

飞书云文档内容优化与格式美化。当用户需要优化飞书文档的排版、结构、格式、美观度时使用此技能。支持:(1) 读取飞书文档内容 (2) 优化文档结构和层次 (3) 清空并替换文档内容 (4) 通过浏览器自动化编辑文档。触发词:优化飞书文档、美化文档、整理文档格式、文档排版。

  • Works in 3 steps: 读取文档内容 → 分析并优化内容 → 替换文档内容
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 工作流程, 飞书 API 配置, 优化模板 and 格式规范, plus 2 more sections
  • Runs Python scripts from its folder; reaches xxx.feishu.cn

What it does

Feishu Doc Optimizer is an agent skill from aAAaqwq/AGI-Super-Team. 飞书云文档内容优化与格式美化。当用户需要优化飞书文档的排版、结构、格式、美观度时使用此技能。支持:(1) 读取飞书文档内容 (2) 优化文档结构和层次 (3) 清空并替换文档内容 (4) 通过浏览器自动化编辑文档。触发词:优化飞书文档、美化文档、整理文档格式、文档排版。

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/optimization-examples.md`, `scripts/feishu_doc_editor.py` and `scripts/feishu_doc_reader.py`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with Feishu (Lark). The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/feishu-doc-optimizer”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 读取文档内容
  2. 分析并优化内容
  3. 替换文档内容

What it can do on your machine

Read from SKILL.md and the folder at commit 331ecd3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • xxx.feishu.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feishu Doc Optimizer loads about 516 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 39 tokens; SKILL.md has 107 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~516
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aAAaqwq/AGI-Super-Team at commit 331ecd3, republished under its MIT licence (© aAAaqwq). 107 words, ~516 tokens.

Download SKILL.mdSave it as .claude/skills/feishu-doc-optimizer/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
feishu-doc-optimizer
description
飞书云文档内容优化与格式美化。当用户需要优化飞书文档的排版、结构、格式、美观度时使用此技能。支持:(1) 读取飞书文档内容 (2) 优化文档结构和层次 (3) 清空并替换文档内容 (4) 通过浏览器自动化编辑文档。触发词:优化飞书文档、美化文档、整理文档格式、文档排版。

飞书云文档优化器

优化飞书云文档的内容结构、排版格式和视觉美观度。

工作流程

1. 读取文档内容

使用飞书 API 读取文档原始内容:

python
python3 scripts/feishu_doc_reader.py <doc_token>

文档 token 从 URL 提取:https://xxx.feishu.cn/docx/<doc_token>

2. 分析并优化内容

优化原则:

  • 结构清晰:使用标准章节编号(1. 2. 3.)
  • 层次分明:一级标题、二级标题、正文层次清晰
  • 内容精炼:删除冗余,保留核心信息
  • 视觉美观:使用 emoji 标记、分隔线、表格对齐
3. 替换文档内容

通过 Playwright 浏览器自动化:

python
python3 scripts/feishu_doc_editor.py <doc_token> <content_file>

流程:

  1. 连接已登录的浏览器
  2. 打开文档进入编辑模式
  3. 循环 Ctrl+A + Backspace 清空内容
  4. 逐行输入新内容

飞书 API 配置

租户配置
租户App ID用途
hanxingREDACTED_FEISHU_HANXING_APP_ID汉兴企业(默认)
personalREDACTED_FEISHU_PERSONAL_APP_ID个人应用
API 权限

需要的权限范围:

  • docx:document:readonly - 读取文档
  • docx:document - 编辑文档(API 方式)

优化模板

项目文档模板
markdown
# [项目名称]

> [一句话描述]
> 📅 版本:vX.X | 更新日期:YYYY-MM-DD

---

## 📋 目录
1. 项目背景  2. 系统架构  3. 核心功能  ...

---

## 1. 项目背景

### 1.1 痛点分析
🔴 痛点1 - 描述 ⭐⭐⭐⭐⭐
🔴 痛点2 - 描述 ⭐⭐⭐⭐

### 1.2 解决方案
方案描述...

---

## 2. 核心功能

### 2.1 功能名称 ✅
**功能**:功能描述
**流程**:步骤1 ➜ 步骤2 ➜ 步骤3

---

## N. 项目价值

### N.1 投入成本
| 项目 | 成本 | 说明 |
|------|------|------|
| 项目1 | ¥0 | 说明 |

### N.2 产出价值
⏱️ 指标1:描述
💰 指标2:描述

---

💡 如有改进建议,欢迎提出!

格式规范

Emoji 使用
场景Emoji
目录/导航📋
日期/版本📅
痛点/问题🔴
已完成✅
进行中🔄
待办⏳
重要提示⚠️ 💡
数据采集📥
数据处理⚙️
数据展示📊
时间⏱️
成本💰
增长📈
分隔符
  • 章节分隔:---(三个短横线)
  • 流程箭头:➜
  • 星级评分:⭐⭐⭐⭐⭐
表格格式
markdown
| 列1 | 列2 | 列3 |
|:---:|------|:---:|
| 居中 | 左对齐 | 居中 |

注意事项

  1. 登录状态:浏览器编辑需要已登录飞书
  2. API 限制:飞书 API 不支持直接删除文档块
  3. 编辑模式:确保文档处于"编辑"模式而非"阅读"模式
  4. 保存确认:编辑后等待"已保存到云端"提示

相关文件

  • scripts/feishu_doc_reader.py - 读取文档内容
  • scripts/feishu_doc_editor.py - 编辑文档内容
  • references/optimization-examples.md - 优化案例参考

© aAAaqwq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/feishu-doc-optimizer of aAAaqwq/AGI-Super-Team.

  • SKILL.md
  • references/optimization-examples.md
  • scripts/feishu_doc_editor.py
  • scripts/feishu_doc_reader.py

Open the folder on GitHubat commit 331ecd3

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aAAaqwq/AGI-Super-Team, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Feishu Doc Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Feishu Doc Optimizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feishu Doc Optimizer this skillaAAaqwq/AGI-Super-Team1051 repos~516Automated safety check: PassMIT
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
Feishu Docraucvr/Group-Goki1123 repos~592Automated safety check: PassMIT
Feishu Driveraucvr/Group-Goki1123 repos~587Automated safety check: PassMIT
Tlivey49/tlive2141 repos~1.7kAutomated safety check: NotesMIT
Feishu Permraucvr/Group-Goki1123 repos~630Automated safety check: PassMIT

Similar skills

  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    raucvr/Group-Goki

    Feishu document read/write operations. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Feishu Drive

    raucvr/Group-Goki

    Feishu cloud storage file management. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~587 tokens
    Productivity & AutomationAuto-check passed
  • Tlive

    y49/tlive

    tlive — remote approvals (Telegram/Feishu/web), live web terminal, and session monitoring for Claude Code / Codex.

    214 GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check: notes
  • Feishu Perm

    raucvr/Group-Goki

    Feishu permission management for documents and files. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~630 tokens
    Productivity & AutomationAuto-check passed
  • Feishu Safety Guide

    SafeAI-Lab-X/ClawKeeper

    One-click deployment Skill for Feishu security governance and message anti-data-leakage guide, responsible for Feishu message security, credential protection, permission auditing, interaction…

    1k GitHub stars~3.6k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

More from aAAaqwq/AGI-Super-Team

All 152 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Sysadmin Toolbox

    aAAaqwq/AGI-Super-Team

    Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks.

    105 GitHub starsUsed in 2 repos~775 tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Content Extract

    aAAaqwq/AGI-Super-Team

    Robust URL-to-Markdown extraction for OpenClaw workflows. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub starsUsed in 1 repo~650 tokens
    Auto-check passed

Works with

Questions about Feishu Doc Optimizer

What does Feishu Doc Optimizer do?

飞书云文档内容优化与格式美化。当用户需要优化飞书文档的排版、结构、格式、美观度时使用此技能。支持:(1) 读取飞书文档内容 (2) 优化文档结构和层次 (3) 清空并替换文档内容 (4) 通过浏览器自动化编辑文档。触发词:优化飞书文档、美化文档、整理文档格式、文档排版。. Feishu Doc Optimizer is an agent skill from aAAaqwq/AGI-Super-Team.

When should I use Feishu Doc Optimizer?

Feishu Doc Optimizer fits situations like: tasks that involve Messaging and chat bots.

How do I install Feishu Doc Optimizer in Claude Code?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill feishu-doc-optimizer -a claude-code`. Or copy the skill folder (skills/feishu-doc-optimizer in aAAaqwq/AGI-Super-Team) into .claude/skills/feishu-doc-optimizer in your project. Claude Code loads it when a task matches its description.

How do I install Feishu Doc Optimizer in Codex?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill feishu-doc-optimizer -a codex`. Or copy the skill folder (skills/feishu-doc-optimizer in aAAaqwq/AGI-Super-Team) into .agents/skills/feishu-doc-optimizer in your project. Codex loads it when a task matches its description.

Can I use Feishu Doc Optimizer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aAAaqwq/AGI-Super-Team --skill feishu-doc-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feishu-doc-optimizer, .gemini/skills/feishu-doc-optimizer, .github/skills/feishu-doc-optimizer and .opencode/skills/feishu-doc-optimizer in your project.

What does Feishu Doc Optimizer need to run?

Going by SKILL.md and its folder, Feishu Doc Optimizer needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Feishu Doc Optimizer access the network?

SKILL.md names 1 domain. In commands or code: xxx.feishu.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Feishu Doc Optimizer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Feishu Doc Optimizer use?

Feishu Doc Optimizer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Feishu Doc Optimizer use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 625 tokens, read only when the agent opens those files.

What are the alternatives to Feishu Doc Optimizer?

Skills that share tags, products or a category with Feishu Doc Optimizer: Feishu Doc (openclaw/openclaw, 392k stars), Feishu Doc (raucvr/Group-Goki, 112 stars), Feishu Drive (raucvr/Group-Goki, 112 stars) and Tlive (y49/tlive, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feishu Doc Optimizer?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on September 27, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.