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 $0.00019 $0.00459
Sonnet 5 $0.00008 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 12d ago against content hash 87b99bff3729, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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. 12d 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 5mo ago), licensed MIT. It adds 38 tokens to every session and 918 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens