Documents

Web To Feishu

Try it

将任意网页链接或本地文件一键转为结构化 Markdown,并保存到飞书云文档或腾讯 ima 笔记。 支持的信源:(1) X/Twitter 推文、长文 Article、Thread 线程;(2) 微信公众号文章; (3) YouTube 视频;(4) 任意 HTML 网页;(5) 本地文件:PDF、Word、PP...

What it does

将任意网页链接或本地文件一键转为结构化 Markdown,并保存到飞书云文档或腾讯 ima 笔记。

The skill document

网页内容转飞书/ima文档

将任意网页链接或本地文件一键转为结构化 Markdown,并保存到飞书云文档或腾讯 ima 笔记。

支持的信源

信源URL 特征抓取方式
X/Twitterx.com / twitter.comx-tweet-fetcher
微信公众号mp.weixin.qq.commarkitdown-plus
YouTubeyoutube.com / youtu.bemarkitdown-plus
任意网页其他 http(s):// 链接markitdown-plus

本地文件支持

类型扩展名
PDF.pdf
Word.docx / .doc
PowerPoint.pptx / .ppt
Excel.xlsx / .xls
图片.png .jpg .jpeg .gif .webp
音频.mp3 .wav .m4a .flac
数据.csv .json .xml

输出目的地

目的地环境变量说明
Markdown 文件无默认选项,始终生成
飞书云文档FEISHU_APP_ID + FEISHU_APP_SECRET参考 references/feishu-setup.md
腾讯 imaIMA_CLIENT_ID + IMA_API_KEY云端 API,无需本地客户端,参考 references/ima-setup.md

安全配置

⚠️ 凭证必须通过环境变量配置,禁止硬编码:

飞书配置

# 设置环境变量
$env:FEISHU_APP_ID = "your_app_id"
$env:FEISHU_APP_SECRET = "your_app_secret"

参考 references/feishu-setup.md 获取凭证。

ima 配置

# 设置环境变量
$env:IMA_CLIENT_ID = "your_client_id"
$env:IMA_API_KEY = "your_api_key"

参考 references/ima-setup.md 获取凭证。

工作流

步骤 1:转换为 Markdown

python3 scripts/web_to_md.py --url "" --output 

路由逻辑:

  • X/Twitter → x-tweet-fetcher 抓取 JSON → tweet_to_md.py 结构化转换
  • 其他所有 → markitdown-plus 直接转换

步骤 2:存入目的地

飞书云文档

from scripts.feishu_client import FeishuClient

client = FeishuClient()
result = client.create_document(title="文档标题", content_md=markdown_content)
print(f"文档 URL: {result['url']}")

腾讯 ima

from scripts.ima_client import IMAClient

client = IMAClient()
result = client.create_note(title="笔记标题", content=markdown_content)
print(f"笔记 URL: {result['url']}")

验证连接

# 验证飞书
python scripts/feishu_client.py --action test

# 验证 ima
python scripts/ima_client.py --action test

故障处理

问题解决方案
x.com SSL 超时x-tweet-fetcher 使用 FxTwitter API 中转
markitdown 模块丢失pip install markitdown
微信反爬拦截markitdown 自动用移动端 UA 重试
飞书凭证无效检查 FEISHU_APP_ID 和 FEISHU_APP_SECRET
ima 凭证无效检查 IMA_CLIENT_ID 和 IMA_API_KEY

依赖

依赖安装
markitdown-pluspip install markitdown
x-tweet-fetcher克隆到 ~/.aily/workspace/skills/x-tweet-fetcher
requestspip install requests
python-dotenvpip install python-dotenv

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from edwardwason

Browse all skills

Convert URLs or local files to structured Markdown and save to Obsidian, Feishu Cloud Drive, and Tencent IMA.

by edwardwason15 installs1 stars

Daily curated briefing of 8 notable ClawHub AI Agent Skills, with optional Lark or IMA push.

by edwardwason10 installs1 stars

Daily Chinese-market skill digest with 8 curated picks and dual-lab security audit.

by edwardwason10 installs1 stars

Convert a Markdown article into 3:4 PNG image cards plus a compressed text script for posting on social platforms.

by edwardwason10 installs1 stars

技能熔炉 — 锻造/评估/改进 Skill。说 技能熔炉 走全流程(含R5改进已有skill);说 技能评估/skill评估/评估技能 只做同类比对+腾讯9维度。可选能力:搜索SkillHub同类技能(通过TRAE内置工具)、修改已有skill文件(仅R5诊断修复路径,需用户确认)。发布环节请用 skill-pu...

by edwardwason9 installs1 stars

Branch a coding session into a new conversation with full context handoff — generate structured handoff doc and startup prompts. Triggers ONLY on '支线任务' / '开...

by edwardwason8 installs1 stars