skills/media-auto-publisher/SKILL.md
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
npx skillsauth add aaaaqwq/agi-super-team media-auto-publisherInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| 平台 | 代码 | 发布页面 | |------|------|---------| | 百家号 | baijiahao | baijiahao.baidu.com | | 搜狐号 | sohu | mp.sohu.com | | 知乎 | zhihu | zhuanlan.zhihu.com | | 微信公众号 | wechat | mp.weixin.qq.com | | 小红书 | xiaohongshu | creator.xiaohongshu.com | | 抖音号 | douyin | creator.douyin.com |
所有涉及浏览器的发布任务完成后,必须自动关闭 Chrome 进程!
from playwright.sync_api import sync_playwright
def publish_article():
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
context = browser.new_context()
page = context.new_page()
# ... 执行发布任务 ...
# ⚠️ 任务结束后必须显式关闭
context.close()
browser.close()
# ⚠️ 强制清理残留进程(推荐)
import subprocess
subprocess.run(['pkill', '-f', 'chrome'], capture_output=True)
原因: 避免内存泄漏和资源占用,防止 Gateway CPU 100% 过载
# 查看平台信息
python3 scripts/media_publisher.py info wechat
# 生成发布工作流
python3 scripts/media_publisher.py workflow xiaohongshu
# 快速打开发布页面
python3 scripts/media_publisher.py open douyin
# Cookie 管理
python3 scripts/cookie_manager.py list
python3 scripts/cookie_manager.py add wechat my_account --cookies-file cookies.json
development
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.