← 返回 Skills 市场
yhc2026

萤火虫多媒体设计助手

作者 yhc2026 · GitHub ↗ · v1.0.1 · MIT-0
darwinlinuxwindows ✓ 安全检测通过
58
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install creative-studio
功能描述
萤火虫空压机创意工具集。一句话让 AI 帮你做产品图抠图、铭牌 OCR 识别、视频剪辑配音、3D 互动展示和双语详情页。有 Python 用脚本批量跑,没 Python 让 AI 直接生成,零门槛上手。
使用说明 (SKILL.md)

萤火虫创意工坊 / Firefly Creative Studio

All-in-one creative toolkit for 广州市萤火虫智能装备技术有限公司(萤火虫空压机).

品牌身份 / Brand Identity

  • 公司:广州市萤火虫智能装备技术有限公司(萤火虫空压机)
  • 网址:http://www.fireflies.net.cn
  • 热线:13825202084(邹先生)| 邮箱:[email protected] | 地址:广州市
  • 主营业务:空压机、余热回收机、制氮机、激光/冷冻干燥机、精密过滤器、排水器、智能控制系统及成套设备
  • 品牌理念:"节能自然萤火虫" — 为客户节资、为环境减排
  • 品牌色:绿 #1B8C3A | 蓝 #1565C0 | 橙 #F57C00

Installation

Python 依赖(脚本模式)

pip install Pillow pyyaml rembg easyocr edge-tts

系统工具(可选)

环境检测

python scripts/install_deps.py --check-only

架构 / Architecture

SKILL.md                    # 核心指令集(本文件)
scripts/
  install_deps.py           # 环境检测 / 一键安装
  remove_background.py      # rembg AI 抠图
  ocr_image.py              # easyocr 文字识别
  text_to_speech.py         # edge-tts 语音合成
  video_edit.py             # FFmpeg 视频剪辑
  generate_detail_page.py   # YAML→HTML 详情页
references/                 # 按需读取的参考文档
  tools-reference.md        #   FFmpeg/Pillow 命令速查
  design-guidelines.md      #   品牌设计规范
  product-templates.md      #   产品 YAML schema
  video-specs.md            #   视频规格标准
assets/                     # 模板与资源
  detail-page-template.html #   详情页 HTML 模板
  3d-template.html          #   Three.js 3D 模板
  brand-logo.svg            #   公司 Logo

两种运行模式 / Dual Mode

模式 A:脚本模式(推荐)

有 Python 环境时使用。输出确定,可批量处理。

python scripts/install_deps.py --check-only  # 先检测环境

模式 B:Claude 原生模式(零依赖)

Python 不可用或需要高度定制时,Claude 直接读取模板生成产物:

  • 详情页:读取 assets/detail-page-template.html → 填充产品数据 → 输出 HTML
  • 3D 展示:读取 assets/3d-template.html → 建模 → 输出 HTML
  • product.yaml:按 references/product-templates.md schema 编写

功能速查 / Quick Reference

图片工具

功能 脚本命令 (Mode A) 原生模式 (Mode B)
AI 抠图 python scripts/remove_background.py \x3C图> -o \x3C输出> 需 rembg
OCR 识别 python scripts/ocr_image.py \x3C图> -o \x3C输出> --format json 需 easyocr
缩放/裁剪/格式转换 Pillow one-liner Claude 生成 Pillow 代码

触发词:抠图、去背景、移除背景、识别文字、铭牌、OCR、裁剪、缩放、格式转换

视频工具(需 FFmpeg)

python scripts/video_edit.py trim input.mp4 --start 0:30 --end 2:45 -o trimmed.mp4
python scripts/video_edit.py concat a.mp4 b.mp4 -o combined.mp4
python scripts/video_edit.py add-audio video.mp4 --audio narration.mp3 -o final.mp4
python scripts/video_edit.py screenshot input.mp4 --at 0:05 -o thumb.jpg

触发词:剪视频、拼接、配音合成、提取帧

AI 语音配音

python scripts/text_to_speech.py --text "...文字..." -o output.mp3
python scripts/text_to_speech.py --file script.txt -o output.mp3
  • 中文女声(默认):zh-CN-XiaoxiaoNeural
  • 中文男声:zh-CN-YunxiNeural
  • 英文女声:en-US-JennyNeural
  • --rate -10 减速 / --rate +10 加速

触发词:配音、旁白、语音合成、TTS、text to speech

3D 产品展示

  1. 读取 assets/3d-template.html 获取 Three.js 框架
  2. createCyl() / createBox() 构建产品模型
  3. 品牌主色 #1B8C3A 替换模板默认蓝色
  4. 输出自包含 HTML

触发词:3D 展示、三维模型、3D 查看器、360度展示

产品详情页

模式 Apython scripts/generate_detail_page.py -c product.yaml --lang zh -o detail.html

模式 B:获取产品信息 → 读取模板 → 填充占位符 → 输出自包含 HTML

支持 --lang zh|en|both。结构:Hero 区 → 指标卡 → 技术参数表 → 特性卡片 → (可选)3D展示 → (可选)图库 → CTA → 页脚

触发词:生成详情页、产品页面、product page、产品介绍页

典型流程 / Workflows

  1. 抠图+缩放remove_background.py → Pillow resize → 输出
  2. 铭牌→详情页ocr_image.py 提取参数 → 按 schema 整理 → generate_detail_page.py 生成 HTML
  3. 视频+配音video_edit.py trimtext_to_speech.py 配音 → video_edit.py add-audio 合成
  4. 零依赖详情页:直接读取模板 + 产品数据 → 输出 HTML

降级矩阵 / Degradation

缺失依赖 不可用功能 仍可用
rembg AI 抠图 全部其他
easyocr OCR 文字识别 全部其他
edge-tts AI 配音 全部其他
FFmpeg 视频处理 全部其他
Python 所有脚本 模式 B:详情页 + 3D + 基础图片编辑

关键规则 / Rules

必须遵守

  • 操作前先 check-only 确认环境(模式 A),或告知用户以模式 B 运行
  • 缺失可选依赖时清晰告知,给出具体安装命令
  • 所有输出 HTML 必须自包含(CSS/JS 内联,无外部依赖)
  • 生成内容使用品牌色:绿 #1B8C3A、蓝 #1565C0、橙 #F57C00

良好实践

  • 批量处理报告进度(X/Y 完成);大文件处理前告知预计时间
  • 首次 easyocr 提醒模型下载(~200MB,仅一次)
  • 生成 HTML 后提醒浏览器预览;技术参数标签中英双语

参考文件(按需读取)

  • references/tools-reference.md — FFmpeg/Pillow 复杂命令速查
  • references/design-guidelines.md — 品牌设计规范(配色、排版、间距)
  • references/product-templates.md — 产品 YAML schema(各产品类型字段定义)
  • references/video-specs.md — 视频分辨率/码率/格式标准

输出风格

  • 中文环境中文输出;参数名中英双语;关键数据加粗
  • 金额以"万元"为单位;百分比保留整数
安全使用建议
Install only if you are comfortable with a news-podcast skill using network search, external AI/TTS/image services, local media tools, and configured API keys. Review your OpenClaw provider settings first, avoid sensitive or confidential text, and prefer a controlled dependency install environment if using the optional package installer.
能力评估
Purpose & Capability
The described capabilities are coherent for an automated news podcast workflow: search news, summarize it, create images, synthesize speech, and write output files under workspace/news. It also uses external services and model providers, which is expected for this purpose but not risk-free.
Instruction Scope
The runtime instructions generally keep user control by requiring configuration confirmation unless the user supplies a complete configuration. Some defaults and fallbacks are automatic, but they are described in the artifact and align with completing the requested podcast generation task.
Install Mechanism
The dependency installer can invoke pip for missing hardcoded packages when the install-missing option is used. That expands the supply-chain trust boundary, but it is a recognizable setup mechanism rather than hidden or purpose-mismatched behavior.
Credentials
The skill may use configured OpenClaw model provider API keys, CellCog credentials, Unsplash keys, search providers, Edge TTS, and other cloud-backed services. This is proportionate to the feature set, but users should avoid sending confidential scripts or business text unless they accept those providers.
Persistence & Privilege
The artifact indicates ordinary output-file creation for generated podcast assets and optional dependency installation, with no evidence of background persistence, privilege escalation, destructive actions, or unrelated system modification.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install creative-studio
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /creative-studio 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No changes detected in this release; version updated only.
v1.0.0
Firefly Creative Studio 2.0.0 — Major upgrade: introduces a comprehensive, branded creative toolkit for product image, video, TTS, 3D, and product page generation. - Adds script-based and zero-dependency dual operation modes. - Integrates tools for background removal, OCR, image resize/crop/convert, video editing, and AI voiceover (Chinese/English). - Supports generating fully responsive, bilingual product detail pages and 3D product displays. - Includes detailed brand guidelines and design assets for consistent output. - Provides clear usage instructions, quick reference tables, and troubleshooting/degradation matrix. - Emphasizes fully self-contained HTML output with brand colors and dual-language support.
元数据
Slug creative-studio
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

萤火虫多媒体设计助手 是什么?

萤火虫空压机创意工具集。一句话让 AI 帮你做产品图抠图、铭牌 OCR 识别、视频剪辑配音、3D 互动展示和双语详情页。有 Python 用脚本批量跑,没 Python 让 AI 直接生成,零门槛上手。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 58 次。

如何安装 萤火虫多媒体设计助手?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install creative-studio」即可一键安装,无需额外配置。

萤火虫多媒体设计助手 是免费的吗?

是的,萤火虫多媒体设计助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

萤火虫多媒体设计助手 支持哪些平台?

萤火虫多媒体设计助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, windows)。

谁开发了 萤火虫多媒体设计助手?

由 yhc2026(@yhc2026)开发并维护,当前版本 v1.0.1。

💬 留言讨论