skills/content-distributor/SKILL.md
将一篇 Markdown 内容自动转换为多平台适配格式并执行分发。
npx skillsauth add aaaaqwq/agi-super-skills content-distributorInstall 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.
多平台内容分发 Skill — Markdown 一篇文章,自动转换为各平台适配格式并发布。
<style> 标签)4 套预设模板,适配不同内容类型:
| 模板 | 风格 | 适合场景 |
|------|------|----------|
| tech | 科技紫,Catppuccin 代码高亮 | 技术博客、AI/编程 |
| minimal | 黑白简约,GitHub 风格 | 随笔、观点文 |
| business | 商务蓝,数据框 | 行业报告、市场分析 |
| dark-tech | 暗色 GitHub,绿色强调 | 深度技术、Hacker 风格 |
# 转为公众号 HTML
tsx scripts/convert.ts article.md --template tech --platform wechat
# 转为小红书纯文本
tsx scripts/convert.ts article.md --platform xhs
# 全平台转换
tsx scripts/convert.ts article.md --all --output ./dist
# 指定模板
tsx scripts/convert.ts article.md --template business --platform toutiao
# 微信公众号发布 (创建草稿)
tsx scripts/publish.ts article.md --platforms wechat --template tech
# 知乎 + 掘金 (生成操作计划)
tsx scripts/publish.ts article.md --platforms zhihu,juejin --dry-run
# 全平台发布
tsx scripts/publish.ts article.md --all --tags "AI,技术" --cover cover.png
Agent 可以直接调用 convert/publish 函数:
import { convert } from './scripts/convert.js';
const results = convert({
input: 'article.md',
template: 'tech',
platform: 'wechat',
});
// results[0].content → CSS 内联的 HTML
| 变量 | 说明 | 必须 |
|------|------|------|
| WECHAT_APPID | 微信公众号 AppID | 微信发布时 |
| WECHAT_APPSECRET | 微信公众号 AppSecret | 微信发布时 |
| 优先级 | 平台 | 发布方式 | |--------|------|----------| | P0 | 微信公众号 | 官方 API | | P0 | 知乎 | Playwright | | P1 | CSDN | Playwright / API | | P1 | 掘金 | Playwright | | P1 | 简书 | Playwright | | P2 | 小红书 | Playwright | | P2 | 今日头条 | Playwright | | P2 | 百家号 | Playwright | | P3 | B站专栏 | Playwright | | P3 | Twitter/X | Playwright |
content-distributor/
├── SKILL.md # 本文件
├── package.json
├── scripts/
│ ├── convert.ts # Markdown → 多平台格式转换器
│ ├── publish.ts # 多平台发布编排器
│ ├── demo.ts # 验证 demo
│ └── platforms/
│ ├── wechat.ts # 微信公众号 API 发布器
│ └── browser-publish.ts # Playwright 浏览器发布器
├── templates/
│ ├── tech.css # 科技风
│ ├── minimal.css # 简约风
│ ├── business.css # 商务风
│ └── dark-tech.css # 深色科技风
└── output/ # 转换输出目录
markdown-it — Markdown 解析juice — CSS 内联(公众号必须)tsx — TypeScript 直接运行testing
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票