docx
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and…
微信公众号文章发布完整流程管理,包括AI辅助创作、图片生成、排版和发布。
Claude Code
$ npx -y skills add imgoodbai/goodable --skill good-mp-post --agent claude-code
Codex
$ npx skills add imgoodbai/goodable --skill good-mp-post -a codex -y
Cursor
$ npx skills add imgoodbai/goodable --skill good-mp-post -a cursor -y
Gemini CLI
$ npx skills add imgoodbai/goodable --skill good-mp-post -a gemini-cli -y
GitHub Copilot
$ npx skills add imgoodbai/goodable --skill good-mp-post -a github-copilot -y
OpenCode
$ npx skills add imgoodbai/goodable --skill good-mp-post -a opencode -y
Windsurf
$ npx skills add imgoodbai/goodable --skill good-mp-post -a windsurf -y
name: good-mp-post displayName: Good 公众号发布 description: 微信公众号文章发布完整流程管理,包括AI辅助创作、图片生成、排版和发布。 version: 1.0.0 license: MIT
通过AI辅助完成微信公众号文章的创作、排版和发布全流程。
**能力:** 文章创作、图片生成与上传、草稿创建、文章发布
**触发:** 用户需要创建或发布微信公众号文章
可视化界面,支持文章管理、在线编辑和发布:
# 安装依赖 pip install -r requirements.txt # 启动服务(默认端口8000) uvicorn app.main:app --reload # 浏览器访问 http://localhost:8000
**功能:**
适合自动化场景,与Web UI共享数据库:
# 上传图片 python scripts/upload_media.py /path/to/image.jpg thumb # 创建草稿 python scripts/create_draft.py --title "标题" --content "内容" # 发布文章 python scripts/publish_article.py --media_id <草稿ID>
**数据互通:** 脚本发布的文章会自动记录到数据库,Web UI可查看和管理。
**依赖:** requests>=2.28.0, python-dotenv>=1.0.0, fastapi>=0.104.1, sqlalchemy>=2.0.35
**凭证配置:**
**数据库:** 自动创建 SQLite 数据库(data/articles.db),无需手动配置
cd skills/good-mp-post uvicorn app.main:app --reload
调用 `scripts/upload_media.py`:
python scripts/upload_media.py /path/to/cover.jpg thumb # 封面图 python scripts/upload_media.py /path/to/image.png image # 正文图
调用 `scripts/create_draft.py`:
python scripts/create_draft.py \ --title "文章标题" \ --author "作者名" \ --thumb_media_id <封面图ID> \ --content "<p>HTML正文</p>" \ --media_ids '[]'
**注意:** 作者名最长8个中文字符
调用 `scripts/publish_article.py`:
python scripts/publish_article.py --media_id <草稿ID>
AI生成文章时必须遵循以下规范:
❌ 错误示例:
  
1. 先生成图片文件并保存到临时目录 2. 调用 `upload_media.py` 上传到微信获取 media_id 3. 使用占位符或说明文字,不要直接插入本地路径
✅ 正确示例:
<!-- 步骤1:生成图片 --> <!-- 步骤2:上传图片 --> python scripts/upload_media.py /path/to/cover.jpg thumb <!-- 步骤3:记录 media_id,在创建草稿时使用 --> <!-- 正文中不插入相对路径 -->
1. **作者名限制:** 最长8个中文字符 2. **图片有效期:** 封面图永久,正文图3天 3. **图片路径:** 禁止使用相对路径(见上方图片路径规范) 4. **HTML要求:** 使用简单标签(p/h1-h3/ul/li/img/a),避免复杂CSS 5. **发布审核:** 发布后需微信审核才能展示 6. **调用频率:** 上传1000次/天,创建草稿100次/天,发布10次/天
Goodable is a local-first Desktop AI Workspace (Desktop Agent Runtime) powered by Claude Agent SDK, combining OS/file control, browser automation, and coding into composable Skills (tool + app modes) to build, run, and publish real AI apps.
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and…
Extract audio from short videos (Douyin/TikTok) and transcribe to text with timestamps. Use when user provides video URL and…
AI-powered WeChat message assistant. Retrieve recent messages from contacts/groups and send messages directly through AI chat.…
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback.…
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and…
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new…
Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration