π¦ ClawHub
Skill
by @haiwenai
Convert any URL or file to Markdown. Supports webpage, WeChat, YouTube, Bilibili, Douyin, Xiaohongshu, PDF, and Office files.
π‘ Examples
# Convert a webpage
tomd "https://example.com/article" --stdoutConvert a YouTube video (extracts subtitles or ASR)
tomd "https://www.youtube.com/watch?v=xxxxx" --stdoutConvert a WeChat article
tomd "https://mp.weixin.qq.com/s/abc123" --stdoutConvert a Bilibili video
tomd "https://www.bilibili.com/video/BVxxx" --stdoutConvert from Douyin share text
tomd "https://v.douyin.com/xxx" --stdoutConvert a Xiaohongshu post
tomd "https://www.xiaohongshu.com/explore/xxx" --stdoutConvert a local PDF
tomd ~/Documents/paper.pdf --stdout
βοΈ Configuration
--stdout β output Markdown to stdout (default when used as a skill)-o β save to a specific file-d β save to a specific directory--type β force input type: webpage, wechat, youtube, bilibili, douyin, xiaohongshu, file-v β verbose output with progress logsExamples
# Convert a webpage
tomd "https://example.com/article" --stdoutConvert a YouTube video (extracts subtitles or ASR)
tomd "https://www.youtube.com/watch?v=xxxxx" --stdoutConvert a WeChat article
tomd "https://mp.weixin.qq.com/s/abc123" --stdoutConvert a Bilibili video
tomd "https://www.bilibili.com/video/BVxxx" --stdoutConvert from Douyin share text
tomd "https://v.douyin.com/xxx" --stdoutConvert a Xiaohongshu post
tomd "https://www.xiaohongshu.com/explore/xxx" --stdoutConvert a local PDF
tomd ~/Documents/paper.pdf --stdout
TERMINAL
clawhub install anything-to-md