social-media-publish

social-media-publish is a skill for Claude Code, Codex from joansongjr/clawaimail. It costs 38 tokens per session (918 once invoked), scanned A, original, MIT.

A browser-automation tool for searching WeChat public-account articles and publishing posts to WeChat Official Accounts, Baijiahao, and Xiaohongshu.

In plain words
What is it for?
Use it to search WeChat articles, prepare formatted posts with titles, text, and cover images, save WeChat posts as drafts, and publish articles or notes on supported platforms.
Why use it?
It reduces the manual work of finding Chinese-language articles and copying content into several social-media publishing dashboards.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search WeChat articles, prepare formatted posts with titles, text, and cover images, save WeChat posts as drafts, and publish articles or notes on supported platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joansongjr/clawaimail/social-media-publish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add joansongjr/clawaimail --skill social-media-publish
Clone the repo
git clone --depth 1 https://github.com/joansongjr/clawaimail

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for social-media-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/joansongjr/clawaimail/social-media-publish/github.svg)](https://agentmods.dev/skills/joansongjr/clawaimail/social-media-publish)
Your own site
<a href="https://agentmods.dev/skills/joansongjr/clawaimail/social-media-publish"><img src="https://agentmods.dev/badge/skills/joansongjr/clawaimail/social-media-publish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for social-media-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/joansongjr/clawaimail/social-media-publish"><img src="https://agentmods.dev/badge/skills/joansongjr/clawaimail/social-media-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00918
Opus 5.5 $0.00015 $0.00367
Sonnet 5.5 $0.00008 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 3mo ago against content hash 87b99bff3729, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

social-media-publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

social-media-publish/SKILL.md · 131 lines

What it actually says

社交媒体发布 + 公众号搜索

功能一:公众号文章搜索(新增!)

把微信公众号文章作为信息源,可以搜索和获取高质量中文内容。

搜索接口:搜狗微信搜索

web_fetch(url="https://weixin.sogou.com/weixin?type=2&query=关键词&page=1", extractMode="text", maxChars=15000)

示例

# 搜索 AI 相关公众号文章
web_fetch(url="https://weixin.sogou.com/weixin?type=2&query=AI&page=1", extractMode="text", maxChars=15000)

# 搜索光模块行业文章
web_fetch(url="https://weixin.sogou.com/weixin?type=2&query=光模块&page=1", extractMode="text", maxChars=15000)

解析结果

返回的 HTML 中,文章标题在 <h3> 标签里:

  • 提取 <h3>...<a href="...">标题</a>...</h3> 结构
  • 清理 <em> 标签(高亮标记)
  • 获取文章链接

使用场景

  • "帮我搜一下公众号里关于 XXX 的文章"
  • "看看微信上 XXX 的最新消息"
  • 作为 360 搜索的补充,获取更专业的中文内容

注意事项

  • 搜狗返回的是 GBK 编码,需要用工具转换
  • 部分文章需要关注公众号才能看全文
  • 搜索结果按相关性排序

功能二:社交媒体发布

支持平台

1. 微信公众号
  • 发布图文消息到草稿箱
  • 支持标题、正文、封面图
  • 自动格式化排版
2. 百度百家号
  • 发布图文文章
  • 支持标题、正文、封面图
  • 自动选择分类
3. 小红书
  • 发布长文笔记

发布流程

微信公众号
  1. 进入后台 — https://mp.weixin.qq.com/
  2. 新建图文 — 点击"新的创作" → "写新图文"
  3. 填写内容 — 标题、正文(支持 Markdown 转换)
  4. 保存 — 保存到草稿箱
百家号
  1. 进入后台 — https://baijiahao.baidu.com/
  2. 新建文章 — 点击"发布" → "图文"
  3. 填写内容 — 标题、正文、封面图、分类
  4. 发布 — 等待审核

命令示例

用户说:

  • "发公众号"
  • "发百家号"
  • "把这篇文章发到公众号"

AI 响应:

  1. 确认发布平台
  2. 询问标题和内容
  3. 使用浏览器自动化完成发布

注意事项

  • 首次使用需要用户手动登录
  • 发布操作会由用户最终确认
  • 支持 Markdown 格式内容自动转换

整合使用示例

场景:调研"光模块"行业信息

  1. 第一步:搜索公众号文章
web_fetch(url="https://weixin.sogou.com/weixin?type=光模块&=2&querypage=1", extractMode="text", maxChars=15000)
  1. 第二步:搜索中文资讯(360)
web_fetch(url="https://m.so.com/s?q=光模块最新消息", extractMode="text", maxChars=12000)
  1. 第三步:综合内容发布到公众号
  • 整理信息,写成文章
  • 自动发布到公众号草稿箱

配置

无需特殊配置,直接操作网页版后台。

建议用户:

  • 保持登录状态
  • 提前准备好封面图
  • 确认账号权限(个人订阅号只能保存草稿)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 131 lines · 38 tokens per session scan A 87b99bff3729

Subscribe to this mod's changes

social-media-publish is a skill published in the GitHub repository joansongjr/clawaimail (2 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 918 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

social-media-publish compared with skills from other repositories

social-media-publish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
social-media-publishjoansongjr/clawaimailSkill28mo agoMITA38Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code