multi-rewrite

multi-rewrite is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 56 tokens per session (2,924 once invoked), scanned A, original, MIT.

A writing tool that rewrites one piece of content in the styles used by seven Chinese publishing and social platforms, including WeChat Official Accounts, Douyin, Kuaishou, Bilibili, Xiaohongshu, and Zhihu.

In plain words
What is it for?
Use it to adapt posts, scripts, and promotional copy for different platforms, either individually or in batches. It can also recognize platform names and their aliases in the request.
Why use it?
It removes the need to rewrite the same text separately for each platform. It can produce one selected version, several chosen versions, or all seven versions at once.

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 adapt posts, scripts, and promotional copy for different platforms…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/multi-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 multi-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 multi-rewrite

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/multi-rewrite.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/multi-rewrite)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/multi-rewrite"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/multi-rewrite.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00056 $0.02924
Opus 5 $0.00028 $0.01462
Sonnet 5 $0.00011 $0.00585
Haiku 4.5 $0.00006 $0.00292

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

Security

Grade A, and why

multi-rewrite scanned grade A with 1 finding 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.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 无额外依赖,仅使用 Python 标准库(`urllib`、`json`、`re` 等)
skills/multi-rewrite/SKILL.md · 280 lines

How it starts

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

简介

多平台文案改写是一款一站式多平台内容改写工具,帮助用户将同一份文案同时转换为公众号、视频号、抖音、快手、哔站(B站)、小红书、知乎七大平台的风格,实现一次输入、批量输出。

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

  • 单平台改写:将文案转换为指定平台的风格
  • 多平台批量改写:同时转换为多个平台风格,一次获得多份结果
  • 全平台覆盖:一键输出七大平台的全部改写版本

适用于内容运营、MCN 机构、品牌营销、自媒体矩阵运营等需要跨平台内容分发的用户。

技术基础:基于 Python 标准库实现,通过 AI 模型按照各平台规则进行文案改写。

功能特性

核心功能

  • 🔄 单平台改写:支持指定任一平台进行风格转换
  • 📦 多平台批量改写:支持同时指定多个平台,批量输出改写结果
  • 🌐 全平台覆盖:支持一键输出七大平台的全部改写版本
  • 🔍 智能平台识别:自动识别用户输入中的平台关键词(含别名、拼音缩写)

特色亮点

  • ⚡ 七合一输出:一份文案,七大平台风格,列表式清晰呈现
  • 🗂️ 平台别名支持:支持中英文、缩写等多种平台名称输入方式
  • 📊 改写记录上报:每个平台逐一上报改写记录
  • 🔧 规则统一管理:通过 assets/platform-rules.md 统一管理七大平台规则

一键安装

前置条件

  • Python 3(路径:/usr/bin/python3
  • 无额外依赖,仅使用 Python 标准库(urllibjsonre 等)

🔑 鉴权

获取 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,运行脚本会提示你配置,按上方步骤操作即可正常使用。

安装方式

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

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

使用指南

支持的平台及别名

平台 可识别的别名
公众号 公众号、微信公众号
视频号 视频号、微信视频号
抖音 抖音、dy
快手 快手、ks
哔站(B站) 哔站、B站、bilibili、哔哩哔哩
小红书 小红书、红书、xhs
知乎 知乎、zhihu

基础使用(3步)

第1步:提供文案和目标平台

向 Agent 提供需要改写的内容和目标平台:

单平台示例

抖音 今天天气真好

多平台示例(空格分隔)

抖音 小红书 知乎 这款防晒霜很好用

多平台示例(逗号分隔)

抖音,小红书 这款防晒霜很好用

全平台示例

全部 这款防晒霜很好用

平台识别规则

  • 输入格式:[平台1 平台2 ...] [文案内容]
  • 全平台关键词:全部all所有(自动识别全部七个平台)

未识别平台时的处理: 若用户输入中完全没有可识别的平台关键词,Agent 回复询问:

请问您想将文案改写为哪些平台的风格?支持多选:公众号、视频号、抖音、快手、哔站、小红书、知乎(也可输入"全部")

等待用户回复后再进行改写。若已包含可识别平台,直接进入下一步。

第2步:自动上报记录

脚本自动向记录接口逐一上报每个平台的改写记录(上报成功后再进行改写输出,上报失败不影响主流程):

# 多平台(逗号分隔)
python scripts/rewrite.py 抖音,小红书 "文案内容"

# 多平台(空格分隔)
python scripts/rewrite.py 抖音 小红书 知乎 "文案内容"

# 全平台
python scripts/rewrite.py all "文案内容"

Read the full file on GitHub · 280 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. 6d ago First seen · 280 lines · 56 tokens per session scan A 2f280a942f6b

Subscribe to this mod's changes

multi-rewrite is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed 4d ago), licensed MIT. It adds 56 tokens to every session and 2,924 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

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-sdk-upgrade

Safely select and install a compatible official @deepseek-ai SDK release for dsh plugin projects (dsh-web, dsh-trading, and similar monorepos) from npm using an isolated worktree, explicit cohort review, CI-equivalent validation, and controlled rollout — including syncing the project's declared DSH host-version floor…

zhu1090093659/dsh-web · 176 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