wechat-topic

wechat-topic is a skill for Claude Code from HeroAshacker/wechat-content-pipeline. It costs 82 tokens per session (847 once invoked), scanned A, original, MIT.

A Chinese-language topic-finding tool for WeChat public-account articles. It gathers trending items from Weibo, Zhihu, Baidu, and 36Kr, which are Chinese social, search, and technology-news platforms.

In plain words
What is it for?
Use it to list trends, filter by keywords or sources, ask an AI provider to analyze possible topics, and save results as tables or structured JSON.
Why use it?
It collects trends in one place and can filter them by subject, reducing the manual work of finding timely article ideas.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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.

agentmods
npx agentmods add skills/heroashacker/wechat-content-pipeline/wechat-topic
Any agent
npx skills add HeroAshacker/wechat-content-pipeline --skill wechat-topic
Clone the repo
git clone --depth 1 https://github.com/HeroAshacker/wechat-content-pipeline

Made for: Claude Code.

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 wechat-topic

README.md
[![agentmods](https://agentmods.dev/badge/skills/heroashacker/wechat-content-pipeline/wechat-topic.svg)](https://agentmods.dev/skills/heroashacker/wechat-content-pipeline/wechat-topic)
Your own site
<a href="https://agentmods.dev/skills/heroashacker/wechat-content-pipeline/wechat-topic"><img src="https://agentmods.dev/badge/skills/heroashacker/wechat-content-pipeline/wechat-topic.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00082 $0.00847
Opus 5 $0.00041 $0.00424
Sonnet 5 $0.00016 $0.00169
Haiku 4.5 $0.00008 $0.00085

Measured 6d ago against content hash 58f282e02e87, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wechat-topic 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 6d 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.

skills/wechat-topic/SKILL.md · 97 lines

What it actually says

微信公众号选题工具 (wechat-topic)

Instructions

聚合多平台热点数据,辅助公众号选题决策。

Step 1: 确定参数

参数 默认值 说明
niche 领域关键词过滤 (逗号分隔)
sources 全部 数据源: weibo,zhihu,baidu,36kr
count 20 显示条数
analyze false 启用 AI 选题分析
provider gemini AI provider
api-key AI API Key
dry-run false 仅打印分析 prompt
json false JSON 格式输出
output 结果保存到文件路径
format table 输出格式: table (默认) / structured (结构化 JSON)

Step 2: 执行

cd ~/Claude/🧪\ 小项目与测试/wx-format
node index.js topic [--niche <keywords>] [--sources <list>] [--count <n>] [--analyze] [--output <path>] [--format structured]

Step 3: 返回结果

  • 展示热点列表(序号、来源、热度、标题)
  • 如启用 AI 分析,展示 5 个推荐选题(标题+角度+评分+理由)

Examples

Example 1: AI 领域热点 + 分析

输入: 用户想了解 AI 领域的微博/知乎热点并获取选题建议

命令:

cd ~/Claude/🧪\ 小项目与测试/wx-format
node index.js topic --niche "AI,人工智能" --sources weibo,zhihu --analyze

输出: 热点列表 + 5 个 AI 推荐选题(标题+角度+评分+理由)

Example 2: Dry-run 预览分析 prompt

输入: 用户想查看 AI 分析的 prompt 而不消耗 API 额度

命令:

node index.js topic --niche "AI" --analyze --dry-run

输出: 打印完整分析 prompt 到终端

Example 3: JSON 输出用于后续处理

命令:

node index.js topic --json --count 10

输出: JSON 格式的热点数据,可供脚本或工作流消费

Example 4: 结构化输出供管线消费

命令:

node index.js topic --niche "AI" --analyze --format structured --output /tmp/topic.json

输出: 结构化 JSON 保存到文件,包含 topics 数组和 analyzed 推荐

Error Handling

  • 网络超时 → 跳过失败源,显示可用数据
  • AI 分析失败 → 检查 --api-key 或环境变量,用 --dry-run 验证 prompt
  • 数据源为空 → 尝试切换 --sources,部分平台可能临时不可用
  • wechat-formatter - 选题确定后排版发布
  • wechat-writer - 选题确定后 AI 写作
  • wechat-pipeline - 选题→写作→排版全流程
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. 6d ago First seen · 97 lines · 82 tokens per session scan A 58f282e02e87

Subscribe to this mod's changes

wechat-topic is a skill published in the GitHub repository HeroAshacker/wechat-content-pipeline (11 stars, last pushed 6mo ago), licensed MIT. It adds 82 tokens to every session and 847 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens