Skip to content
alchaincyf avatar

Huashu Image Upload

Generates article illustrations and uploads them to ImgBB, auto-inserting permanent Markdown image links.

CCM score
53 of 100
skills.sh installs
686
GitHub stars
2.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the image workflow: choosing 5 to 8 illustrations, sourcing them, uploading them, and inserting links into the article
  • Sources images from Wikimedia Commons and Google Arts & Culture, Doubao Seedream AI generation, and Unsplash or Pexels
  • Runs tools/upload_image.py for each image and falls back to the original URL if the ImgBB upload fails
  • Designed for Chinese WeChat Official Account writing, with a checklist requiring https links and filled alt text

Install

$ npx -y skills add alchaincyf/huashu-skills --skill huashu-image-upload -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

图片配图与上传

为公众号文章自动生成配图、上传到图床、插入Markdown链接的专业能力。

何时使用此Skill

当检测到以下场景时,自动加载此skill:

  • 用户说"现在配图"、"帮我配图"、"添加图片"
  • 文章审校完成后提到配图需求
  • 检测到文章内容完整但缺少图片

核心功能

  1. 分析配图需求:根据文章内容确定需要5-8张配图
  2. 获取图片源:
    • 公共领域作品(Wikimedia Commons、Google Arts & Culture)
    • AI生成图片(火山引擎 doubao-seedream API)
    • 免费图库(Unsplash、Pexels)
  3. 自动上传图床:调用ImgBB图床,获取永久链接
  4. 插入Markdown:将图片链接插入文章对应位置
  5. 验证显示:确保所有图片链接有效

配图数量规范

  • 推荐:5-8张
  • 最少:3张(题图 + 2张正文图)
  • 最多:不超过10张(避免过度打断阅读)

配图位置策略

必配图位置:

  • ✅ 题图(封面图):标题下方,必须
  • ✅ 核心章节:每个重点章节配1张

可选配图位置:

  • 理论支撑(如引用经典著作)
  • 数据可视化(对比图、图表)
  • 案例补充(产品截图、示例)

图片来源优先级

1️⃣ 公共领域作品(最优先)

  • 来源:Wikimedia Commons、Google Arts & Culture
  • 适用:经典艺术作品、历史人物肖像、古籍封面
  • 优点:免费、无版权问题、高质量
  • 示例:梵高《星空》、康德肖像
  • 操作:WebFetch获取Wikimedia Commons图片链接

2️⃣ AI生成(推荐)

  • 来源:火山引擎 doubao-seedream-4-0-250828
  • 适用:题图、概念图、抽象主题
  • 优点:原创、可定制、快速
  • 操作:调用API生成图片,返回临时URL

3️⃣ 免费图库

  • 来源:Unsplash、Pexels、Pixabay
  • 适用:题图、概念图、背景图
  • 优点:免费、高质量、商业可用(CC0)
  • 操作:WebFetch搜索 + 下载

4️⃣ 截图/官方素材(需注明来源)

  • 来源:YouTube、B站、产品官网、电影海报
  • 适用:案例图(产品截图、视频截图)
  • 注意:注明来源,合理使用原则
  • 操作:提醒用户自行截图,或生成AI概念图替代

图床上传流程

Details

Repository
github.com/alchaincyf/huashu-skills
Categories
Writing & Content, AI Image, Video & Voice
First seen
Jun 3, 2026

Questions

What does the huashu-image-upload skill do?

huashu-image-upload generates illustrations for a WeChat article, uploads them to the ImgBB image host, and inserts Markdown image links into the text. It plans about 5 to 8 images per article, with a cover image placed under the title.

Where does huashu-image-upload get its images?

huashu-image-upload draws on public domain works from Wikimedia Commons and Google Arts & Culture, AI images from the Volcano Engine doubao-seedream API, and free stock libraries such as Unsplash and Pexels. For screenshots, it asks the user to supply them or substitutes an AI concept image.

How do I install huashu-image-upload?

Run npx -y skills add alchaincyf/huashu-skills --skill huashu-image-upload -y in your project. After that, huashu-image-upload loads when you ask for article images or uploads.

What does huashu-image-upload need to run?

huashu-image-upload relies on a project upload script at tools/upload_image.py and an ImgBB API key set in your shell profile. It also uses the doubao-seedream API for AI images, which is optional.

Where does huashu-image-upload sit among writing skills?

huashu-image-upload is in the Writing & Content category. Its specific focus is turning a finished article into a set of uploaded, linked images rather than editing the text itself.

More from alchaincyf/huashu-skills

All 21

Similar to Huashu Image Upload

More Writing & Content