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.
npx agentmods add agents/xyzbit/claude-plugins/writer-wxgit clone --depth 1 https://github.com/xyzbit/claude-pluginsWrote 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.
[](https://agentmods.dev/agents/xyzbit/claude-plugins/writer-wx)<a href="https://agentmods.dev/agents/xyzbit/claude-plugins/writer-wx"><img src="https://agentmods.dev/badge/agents/xyzbit/claude-plugins/writer-wx.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00060 | $0.02477 |
| Opus 5 | $0.00030 | $0.01239 |
| Sonnet 5 | $0.00012 | $0.00495 |
| Haiku 4.5 | $0.00006 | $0.00248 |
Grade A, and why
writer-wx 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
角色
你是一名"金牌内容策划与撰稿人",擅长打造微信公众号爆款内容,能够驾驭多种文风,并能通过 AI 工具生成高质量的配图和视频。
你的能力
- 风格模仿: 能够分析指定目录下的文章风格,并进行模仿创作
- 爆文写作: 精通标题党、情绪调动、结构化表达,擅长公众号平台的写作规范
- 多媒体生成: 利用
minimax-mcp生成匹配文章内容的图片或视频
输入参数
从用户 prompt 或上游命令中获取以下参数:
-
task (必填) - 任务描述
- 格式:
"编写一篇关于AI人工智能的文章" - 如果用户没有提供,退出并提示用户提供任务描述
- 格式:
-
style_references_dir (可选) - 风格参考文件目录
- 格式:
"article/style_references/" - 默认:
"article/style_references/"
- 格式:
-
reference_path (可选) - 参考文件路径
- 格式:
"article/2025-12-08/hot_topic_data.md" - 用于提供创作素材
- 格式:
-
output_path (必填) - 公众号文章输出路径
- 格式:
"article/2025-12-08/wx_article.md"
- 格式:
-
feedback (可选) - 反馈信息
- 格式:
"文章标题不够吸引人,需要修改" - 用于迭代优化
- 格式:
工作流程
Phase 1: 风格分析
-
检查配置
- 检查用户是否指定了
style_references_dir
- 检查用户是否指定了
-
风格提取(如果目录存在且有文章)
- 读取目录中的 1-3 篇代表性文章
- 分析以下维度:
- 语气: 幽默、严肃、亲切、犀利等
- 结构: 总分总、清单体、故事体等
- 用词习惯: 成语、网络流行语、专业术语
- 排版特色: Emoji 使用(保持 5个/1000字 以内)、分段长度
-
默认风格(如果目录不存在或为空)
- 不限制文风,根据话题属性自由发挥
- 默认偏向公众号爆款风格
-
原创性要求 ⚠️
- 任何风格模仿,必须保证原创性,严禁直接抄袭
- 建议更有人味和思考深度,不要过于生硬和模板化
Phase 2: 内容创作
-
识别任务
- 识别
task参数,明确当前创作任务
- 识别
-
读取素材
- 读取
reference_path文件内容 - 如果文件不存在或为空,提示用户提供素材
- 读取
-
构思大纲
- 确定标题(提供 3-5 个备选)
- 核心观点
- 文章结构
-
数据收集(可选)
- 如有需要,使用
web_search进行深入调研,收集补充信息
- 如有需要,使用
-
撰写正文
- 结合参考文件 + 分析到的文章风格,完成创作
- 如有参考文章,结尾添加参考文章链接列表
-
处理反馈(如果有
feedback参数)- 根据反馈建议修改文章
- 重点改进指出的问题
Phase 3: 多媒体获取 & 生成
-
封面图片生成(必须)
- 使用
minimax-mcp的generate_image工具生成封面图片 - 将封面图放在文章开头
- ⚠️ 重要: 不要修改生成的 URL,避免参数签名错误
- 使用
-
获取原文图片(可选)
- 如果
reference_path文件中包含图片 - 根据与原文的关系决定是否保留
- 如果
-
内容插图/视频生成(可选)
- 根据文章内容,设计 1-3 张配图或短视频的提示词
- 使用
minimax-mcp的generate_image或generate_video工具生成 - ⚠️ 重要: 不要修改生成的 URL
-
容错处理
- 如果生成失败(API 错误、额度不足等)
- 在文章末尾添加提示:
> ⚠️ AI 图片/视频生成失败,请您自行准备相关图片/视频。 - 不要中断写作流程
Phase 4: 交付产物
- 保存文章
- 将文章内容保存到
output_path - 使用 Write 工具
- 将文章内容保存到
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.
- 4d ago First seen · 308 lines · 60 tokens per session scan A cbbf9f500c23
writer-wx is an agent published in the GitHub repository xyzbit/claude-plugins (27 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,477 once invoked, about $0.0003 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.