oh-my-writing-skill
CLAUDE.md33 starsChanged 9 months agoMITView on GitHub
writing-skill is a multi-platform content creation plugin for Claude Code. It provides modular Skills for end-to-end Chinese content creation - from research and image sourcing to writing, humanizing (removing AI traces), and platform-specific formatting for Zhihu, Xiaohongshu, and WeChat. The plugin is built around: This project follows the official Claude Code plugin structure: Python version: 3.10+ (see .python-version) Skills can be invoked via the /skill command (e.g., /deep-research) or their Python scripts can be run directly: Deep Research Image Search
- Installs packages
In this repository9 other files it gives its agents.
- content-creatorSkill
- deep-researchSkill
- general-writingSkill
- humanizer-cnSkill
- image-processingSkill
- image-searchSkill
- wechat-converterSkill
- xiaohongshu-converterSkill
- zhihu-converterSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 114
All Skills follow consistent conventions:
- Very specific: line 181
Create directory under skills/skill-name/
- Very specific: line 182
Add SKILL.md with proper frontmatter
- Very specific: line 183
Add scripts/script_name.py if executable functionality is needed
- Very specific: line 185
Add any new dependencies to requirements.txt and pyproject.toml
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
writing-skill is a multi-platform content creation plugin for Claude Code. It provides modular Skills for end-to-end Chinese content creation - from research and image sourcing to writing, humanizing (removing AI traces), and platform-specific formatting for Zhihu, Xiaohongshu, and WeChat.
The plugin is built around:
- Plugin structure with
.claude-plugin/plugin.jsonmanifest - 9 Skills for specialized tasks (research, image search/processing, writing, humanizing, platform conversion)
- Python scripts under each skill's
scripts/directory for executable functionality - Platform-native output that avoids AI detection patterns
Plugin Structure
This project follows the official Claude Code plugin structure:
oh-my-writing-skill/
├── .claude-plugin/ # Plugin manifest directory
│ └── plugin.json # Plugin metadata and configuration
├── skills/ # Skills directory (root level)
│ ├── content-creator/
│ ├── deep-research/
│ ├── general-writing/
│ ├── humanizer-cn/
│ ├── image-processing/
│ ├── image-search/
│ ├── wechat-converter/
│ ├── xiaohongshu-converter/
│ └── zhihu-converter/
├── requirements.txt # Python dependencies
├── pyproject.toml # Python project configuration
├── CLAUDE.md # Plugin documentation (this file)
└── README.md # Project readmeEnvironment Setup
# Using uv (recommended)
uv venv
uv pip install -r requirements.txt
# Or using standard pip
python -m venv .venv
.venv\Scripts\activate # Windows
source .venv/bin/activate # Linux/macOS
pip install -r requirements.txtPython version: 3.10+ (see .python-version)
Development Commands
Running Skills Directly
Skills can be invoked via the /skill command (e.g., /deep-research) or their Python scripts can be run directly:
Deep Research
python skills/deep-research/scripts/research.py "选题" --max_results 20 --timelimit m --region zh-cn --output research.mdImage Search
python skills/image-search/scripts/image_search.py "关键词" --max_results 5 --size Large --download output/imagesImage Processing (add captions)
# Frame mode (caption below image)
python skills/image-processing/scripts/image_processor.py input.jpg output.jpg --mode frame --text "配文"
# Sticker mode (caption overlay)
python skills/image-processing/scripts/image_processor.py input.jpg output.jpg --mode sticker --text "重点" --position bottom-rightArchitecture
Agent Orchestration
The content-creator agent (.claude/agents/content-creator.md) orchestrates the 7-stage workflow:
- Requirement confirmation - Uses
AskUserQuestionto confirm stance, audience, style, platform targets, and search mode - Deep research -
deep-researchskill with dual search mode support (see below) - Image sourcing -
image-searchskill with filtering (size, color, license) - Image processing -
image-processingskill for adding captions - Content creation -
general-writingskill produces platform-agnostic "middle format" article - AI-trace removal -
humanizer-cnskill eliminates 22+ AI writing patterns - Platform conversion -
zhihu-converter,xiaohongshu-converter, orwechat-converter
Search Modes
The deep-research skill automatically detects available search tools:
- WebSearch - Claude's built-in search tool (native models)
- MCP Search Tools - Vendor-provided search tools (e.g.,
mcp__brave__web_search,mcp__tavily__search) - DDGS Fallback - Uses ddgs Python library when no web search tool is available
| Search Method | Tool | Characteristics |
| WebSearch | Claude built-in | High quality, most relevant |
| MCP Search | Vendor-provided (Brave, Tavily, etc.) | Custom model search capability |
| DDGS (fallback) | ddgs Python library | Free, no quota consumption |
Skill Structure
All Skills follow consistent conventions:
Frontmatter (YAML):
---
name: skill-name
description: When to use this skill (English)
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion]
metadata:
author: writing-skill
version: '1.0.0'
---Scripts (in scripts/ subdirectory):
- Shebang:
#!/usr/bin/env python3 - UTF-8 encoding for Chinese content
- Graceful error handling with clear messages
- argparse for CLI interfaces
Key Design Patterns
Font Handling (Windows-specific): Scripts auto-search for Chinese fonts in order:
C:/Windows/Fonts/msyh.ttc(微软雅黑)C:/Windows/Fonts/simhei.ttf(黑体)C:/Windows/Fonts/simsun.ttc(宋体)
Content Pipeline: Research → Images → Draft → Humanize → Convert → Platform
Output Directory Structure:
output/{日期}_{选题}/
├── research.md # Research materials
├── draft.md # Generic draft
├── humanized.md # De-AI'd version
├── zhihu.md # Zhihu version
├── xiaohongshu.md # Xiaohongshu version
├── wechat.md # WeChat version
└── images/ # Image resourcesPlatform Conversion Styles
| Platform | Style Characteristics |
| Zhihu | Professional, data-driven, logical, authority-building, structured arguments |
| Xiaohongshu | Casual, 1-2 emojis per section, visual-first, short-form, conversational |
| Formal but approachable, well-formatted, depth-focused, narrative flow |
Dependencies
| Package | Purpose |
ddgs >= 9.0.0 | DuckDuckGo search API (DDGS mode) |
Pillow >= 10.0.0 | Image processing |
requests >= 2.28.0 | HTTP requests for image download |
Note: WebSearch mode uses Claude's built-in WebSearch tool and requires no additional dependencies, but consumes MCP quota.
Working with This Codebase
Adding a New Skill
- Create directory under
skills/skill-name/ - Add
SKILL.mdwith proper frontmatter - Add
scripts/script_name.pyif executable functionality is needed - Register in
content-creator.mdagent's skills list if orchestration is needed - Add any new dependencies to
requirements.txtandpyproject.toml
Modifying Platform Conversion Rules
Platform-specific rules are in each converter's SKILL.md:
skills/zhihu-converter/SKILL.mdskills/xiaohongshu-converter/SKILL.mdskills/wechat-converter/SKILL.md
These contain style guides, before/after examples, and transformation rules.
AI Writing Pattern Detection
The humanizer-cn skill identifies 22+ AI-generated patterns specific to Chinese text. Patterns are documented in skills/humanizer-cn/SKILL.md.
Quick Reference for Common Tasks
"Help me write about X for Zhihu" → Use content-creator agent (full pipeline)
"Research topic X" → Use deep-research skill only
"Convert this article to Xiaohongshu format" → Use xiaohongshu-converter skill
"Remove AI traces from this text" → Use humanizer-cn skill
"Add captions to these images" → Use image-processing skill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

