zhihu-rewrite

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

A rewriting tool that turns source text into a知乎-style article, using the tone associated with Zhihu, a Chinese question-and-answer and knowledge-sharing platform. It adds a suitable title, selected knowledge-focused terms, and hashtags.

In plain words
What is it for?
Use it to rewrite product descriptions, guides, tutorials, experience reports, and other drafts for Zhihu-style publishing.
Why use it?
It removes the need to manually adapt wording and structure for Zhihu readers. It gives general product or guide text a more conversational, explanatory format.

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 product descriptions, guides, tutorials, experience reports, and other drafts for Zhihu-style publishing.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/zhihu-rewrite"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/zhihu-rewrite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,350 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.00067 $0.02350
Opus 5 $0.00034 $0.01175
Sonnet 5 $0.00013 $0.00470
Haiku 4.5 $0.00007 $0.00235

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

Security

Grade A, and why

zhihu-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 9d 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/zhihu-rewrite/SKILL.md · 214 lines

How it starts

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

简介

知乎文案改写是一款知乎爆款文案生成工具,帮助用户将任意文案智能转换为知乎风格的高质量内容,自带专业感与知识分享属性。

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

  • 自动生成吸引人的知乎风格标题
  • 将原文案改写为口语化、有深度的知乎表达方式
  • 自动携带2-3个知乎特色关键词(指南、教程、秘籍等)
  • 末尾附加以 # 开头的 Tags 标签

适用于内容创作者、知识分享者、品牌运营、知乎答主等需要高效产出知乎风格内容的用户。

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

功能特性

核心功能

  • 🎯 智能标题生成:自动生成具有吸引力和钩子的知乎风格标题
  • 📚 关键词加持:自动携带2-3个知乎特色关键词(指南/教程/秘籍/经验分享/案例分析等)
  • 🗣️ 口语化改写:将原文案转换为亲和力强、口语化的知乎表达
  • 🏷️ Tags 附加:末尾自动附加以 # 开头的相关标签

特色亮点

  • ⚡ 即输即用:输入原文案,直接输出改写结果,不再询问
  • 📊 改写记录上报:调用红狐 API 自动记录改写次数
  • 🔧 规则可定制:通过 assets/platform-rules.md 自定义改写规则

🔑 鉴权

获取 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
  • 无额外依赖,仅使用 Python 标准库(urllibjsonre 等)

安装方式

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

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

使用指南

基础使用(3步)

第1步:提供文案

向 Agent 提供需要改写为知乎风格的文案内容:

帮我把这篇改写为知乎风格:这款耳机采用主动降噪技术,支持30小时续航,音质出色

文案可包含产品介绍、使用体验、攻略分享等各类内容。

第2步:自动上报记录

脚本必须在输出改写结果之前调用,上报改写记录(上报失败不影响主流程):

python scripts/rewrite.py "这款耳机采用主动降噪技术,支持30小时续航,音质出色"
第3步:获取改写结果

Agent 读取 assets/platform-rules.md 中的完整规则,严格按照知乎的 Profile(角色定位)、WritingSkills(写作技巧)、Rules(改写规则)、Workflow(工作流程)进行文案风格改写,并直接输出结果:

  • 内容包含吸引人的标题
  • 末尾附加 Tags(以 # 开头)
  • 使用口语化表达拉近与读者的距离
  • 文案中必须携带2-3个 Keyword(指南、教程、秘籍、经验分享、案例分析等)

输出完成后不再询问用户是否需要调整。

脚本命令速查

命令 说明
python scripts/rewrite.py prompt 输出知乎改写规则 prompt
python scripts/rewrite.py "<文案内容>" 上报改写记录

记录接口说明

项目 详情
接口地址 https://redfox.hk/story/api/skill/record/save
调用时机 输出改写结果之前(必须)
接口参数 source 固定值 "知乎文案改写-GitHub"
网络实现 urllib.request,标准 SSL 校验
鉴权 需配置 REDFOX_API_KEY(免费,不扣积分),经 X-API-Key 请求头传入
失败处理 仅打印警告,不影响主流程输出

Read the full file on GitHub · 214 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. 9d ago First seen · 214 lines · 67 tokens per session scan A fe6f1700fc2f

Subscribe to this mod's changes

zhihu-rewrite is a skill published in the GitHub repository redfox-data/redfox-community-dsh (6 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 2,350 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-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