wechat-rewrite

wechat-rewrite is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 106 tokens per session (3,385 once invoked), scanned A, original, MIT.

A rewriting tool for turning supplied copy into a WeChat public-account style article. It can also create a short headline, organize the structure, and add related hashtag labels.

In plain words
What is it for?
Use it to rewrite drafts, create headlines of up to 20 characters, add points, steps, comparisons, interaction prompts, and hashtag-style tags.
Why use it?
It reduces the work of adapting plain or differently styled writing for a WeChat audience. The output can provide a clearer article structure and platform-specific wording to edit further.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to rewrite drafts, create headlines of up to 20 characters, add points, steps, comparisons, interaction prompts, and hashtag-style tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/wechat-rewrite
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 redfox-data/redfox-community-dsh --skill wechat-rewrite
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/wechat-rewrite/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/wechat-rewrite)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/wechat-rewrite"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/wechat-rewrite/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 wechat-rewrite

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/wechat-rewrite"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/wechat-rewrite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,385 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.00106 $0.03385
Opus 5 $0.00053 $0.01692
Sonnet 5 $0.00021 $0.00677
Haiku 4.5 $0.00011 $0.00338

Measured 7d ago against content hash ca04b1a957fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

wechat-rewrite 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/rewrite.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-rewrite/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

简介

公众号文案改写是一款公众号爆款文案撰写工具,内置爆款文章创作方法论,帮助用户将任意文案转化为高阅读数的公众号风格内容。Agent 以文案发起者的角度进行改写,只做风格转换,不说"帮你改写"。

通过简单的输入,你可以:

  • 将任意文案转换为公众号爆款风格
  • 自动生成不超过20字的爆款标题
  • 融入公众号高频关键词和金句
  • 末尾附加5-10个以 # 开头的 Tags 标签

适用于公众号号主、内容运营、品牌编辑、自媒体创作者等需要高效产出公众号爆款文案的用户。

技术基础:基于公众号爆款数据分析提炼的10项行文原则,结合 AI 模型实现风格转换。

功能特性

核心功能

  • 🎯 爆款标题生成:基于爆款数据提炼的标题结构,生成不超过20字的吸引人标题
  • ✍️ 风格转换:将文案转换为态度鲜明、犀利直接、金句频出的公众号风格
  • 📝 结构优化:分点说明、步骤教程、对比展示,结尾引导互动
  • 🏷️ Tags 附加:结尾自动添加5-10个以 # 开头的相关标签

特色亮点

  • ⚡ 10项行文原则:深度分析爆款文章规律,覆盖标题、开头、观点、情感等维度
  • 💡 2-3个关键词:从10个公众号高频关键词中智能选择并自然融入正文
  • ✅ 输出自检清单:11项检查清单确保每次输出质量
  • 📊 改写记录上报:调用红狐 API 自动记录改写次数

🔑 鉴权

获取 API Key

请前往 红狐hub 获取 API KEY

配置 API Key

方案1: 以 Qoder 为例,将 REDFOX_API_KEY 添加到 ~/.openclaw/openclaw.json 中:

{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }

方案2: 终端配置

export REDFOX_API_KEY="ak_xxxx..."

💡 说明:本 skill 仅需要你提供 API Key 用于身份识别,使用完全免费,不会扣除任何积分。若尚未配置 REDFOX_API_KEY,运行脚本会提示你配置,按上方步骤操作即可正常使用。

一键安装

前置条件

  • Python 3(路径:/usr/bin/python3
  • 需要安装 requests 库:pip install requests

安装方式

将项目克隆到 Qoder skills 目录即可:

git clone <repo-url> ~/.qoder/skills/wechat-rewrite

使用指南

核心原则

Agent 以文案发起者的角度进行改写——用户的文案就是 Agent 的文案,Agent 只做公众号文案风格转换。

基础使用(3步)

第1步:提供文案

向 Agent 提供需要改写为公众号爆款风格的文案内容:

帮我把这段改为公众号爆款文案:最近天气变化大,很多人感冒了,大家注意保暖
第2步:自动上报记录

脚本自动向记录接口上报改写记录(上报成功后再输出,上报失败不影响主流程):

python scripts/rewrite.py "最近天气变化大,很多人感冒了,大家注意保暖"
第3步:获取改写结果

Agent 参考 assets/platform-rules.md 中的规则,并严格遵循以下创作规范输出结果。

行文原则(10项必守)

  1. 根据公众号爆款文章总结行为特征和内容:深度分析爆款文章的结构、开头逻辑、互动话术
  2. 深度挖掘爆款数据中的规律:从公众号爆款文章中提炼标题规律、内容规律、互动规律
  3. 标题要简单粗暴:直击痛点,引发好奇,让读者忍不住点开
  4. 给大家一种不看就有损失的感觉:制造信息差和紧迫感,让读者觉得错过就是损失
  5. 观点能颠覆常识:能提供看待世界的新鲜角度,或对当下的生活态度有所启发
  6. 能表达情感共鸣:能体察人性的痛点,表达大众的情感共鸣
  7. 能结合经历充实文章:融入真实案例和个人故事,增加可信度和代入感
  8. 文章跟"我"有关:核心问题落实到读者的关联上,在读者的角度思考问题
  9. 文章对"我"有用:提供实用价值,让读者觉得读完有收获
  10. 文风足够有趣:用幽默、犀利的方式表达,避免枯燥说教

Read the full file on GitHub · 272 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 272 lines · 106 tokens per session scan A ca04b1a957fd

Subscribe to this mod's changes

wechat-rewrite is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed yesterday), licensed MIT. It adds 106 tokens to every session and 3,385 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

delivery-proof

Delivery proof and the doublecheck report. Use when the work is done and the delivery must be proven — consolidate the spec, test timeline, review verdicts, and verification checks into a doublecheckreport, and only then claim completion.

PerryLink/dsh-doublecheck · 50 tokens