@ai-welopc/opc-content-factory
v0.1.0
Published
WelOPC OPC content factory scene pack for WeChat article production, image deconstruction, prompt reverse engineering, and draft import preparation.
Maintainers
Readme
OPC 内容工厂
这是 WelOPC 的 opc-content-factory 场景包,用于把公众号链接、文章截图、商品图、工作流 demo 或 AI 视频案例拆解成可发布的中文图文内容包。
默认输出 HTML 审稿页、公众号草稿箱导入文件、配图脚本、提示词模板、图片/媒体资源目录和草稿箱 API dry-run payload。
安装
平台安装口径:
npx @ai-welopc/cli add opc-content-factory独立 npx 入口:
npx @ai-welopc/opc-content-factory init "女装带货 OPC 文章" --root ./articles命令
创建标准文章工作区:
opc-content-factory init "女装带货 OPC 文章" --root ./articles提取公众号文章:
opc-content-factory extract "https://mp.weixin.qq.com/s/..." --out ./articles/demo/source生成公众号草稿箱 dry-run payload:
opc-content-factory push-draft --title "标题" --digest "摘要" --html-file ./wechat_draft.html --cover-image ./cover.png --out ./draft/wechat_draft_payload.json查看打包后的 Skill 路径:
opc-content-factory skill-path包含内容
skill/SKILL.md:内容工厂工作流说明。skill/references/:公众号提取、图片反推、输出规范、内容方法论。skill/scripts/:工作区创建、公众号提取、草稿箱导入脚本。skill/assets/scene-package/:HTML 模板、草稿箱 env 示例、场景包清单。package-manifest.json:官网和安装器可读取的场景包元数据。
边界
这个包只负责内容生产、审稿和草稿箱准备;不自动发布、不群发、不输出密钥、Cookie、token 或后台敏感数据。
