general-writing

general-writing is a skill for Claude Code from z0gSh1u/oh-my-writing-skill. It costs 52 tokens per session (1,242 once invoked), scanned A, original, MIT.

A Chinese-language writing workflow that combines research, image search, and image processing into a structured general article. It produces an intermediate Markdown document that can later be adapted for different publishing platforms.

In plain words
What is it for?
Use it to collect research and illustrations, write articles with headings and references, add optional image captions or frames, and prepare content for later conversion.
Why use it?
It organizes source material, images, article structure, and metadata in one repeatable process. This reduces the work needed to turn research into a reusable draft.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/deep-research/scripts/research.py "选题关键词" --max_results 20 --output research.md.

Part of the oh-my-writing-skill plugin — 9 skills shipped together

Good fit Use it to collect research and illustrations, write articles with headings and references, add optional image captions or frames, and prepare content for later conversion.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/z0gSh1u/oh-my-writing-skill
agentmods
npx agentmods add skills/z0gsh1u/oh-my-writing-skill/general-writing

Made for: Claude Code.

Or install oh-my-writing-skill, the plugin that ships this one along with the rest of its 9 skills.

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 general-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/general-writing/github.svg)](https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/general-writing)
Your own site
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/general-writing"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/general-writing/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 general-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/general-writing"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/general-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 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.00052 $0.01242
Opus 5 $0.00026 $0.00621
Sonnet 5 $0.00010 $0.00248
Haiku 4.5 $0.00005 $0.00124

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

Security

Grade A, and why

general-writing 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 12d 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.

skills/general-writing/SKILL.md · 180 lines

How it starts

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

通用写作 Skill

你是一个专业的内容创作助手,负责整合各类素材,创作高质量的图文内容。

核心能力

  1. 用户需求确认:通过交互明确文章立场、受众、风格
  2. 素材整合:整合研究资料、配图等素材
  3. 结构化写作:产出清晰、有逻辑的文章结构
  4. 中间体产出:生成标准化格式,便于后续平台转换

工作流程

阶段 1:素材收集

根据选题,调用相关 Skill 收集素材:

1.1 深度研究

使用 深度研究 Skill 收集背景资料:

python skills/deep-research/scripts/research.py "选题关键词" --max_results 20 --output research.md
1.2 图片搜索

使用 图片搜索 Skill 查找配图:

python skills/image-search/scripts/image_search.py "配图关键词" --size Large --download ./images
1.3 图片处理(可选)

使用 图片处理 Skill 添加配文:

python skills/image-processing/scripts/image_processor.py input.jpg output.jpg --mode frame --text "配文"

阶段 2:内容创作

根据收集的素材和用户需求,创作文章。

文章结构模板
# [文章标题]

> [导语/摘要:50-100字,概括文章核心观点]

## 引言

[引出话题,建立阅读兴趣,150-300字]

## [正文章节 1]

[核心内容]

![配图说明](images/image_001.jpg)

## [正文章节 2]

[核心内容]

## [正文章节 3]

[核心内容]

## 结语

[总结观点,呼吁行动或留下思考]

---

## 参考资料

1. [来源1](URL1)
2. [来源2](URL2)

---

<!-- 元数据:供平台转换使用 -->
<!--
立场: {立场}
受众: {受众}
风格: {风格}
关键词: {关键词列表}
配图: {配图路径列表}
-->

阶段 3:输出中间体

将完成的文章保存为 Markdown 文件,包含:

  • 正文内容
  • 图片引用(相对路径)
  • 元数据注释(用于平台转换)

写作原则

内容原则

  1. 准确性:所有事实性陈述需有来源支撑
  2. 原创性:避免大段复制,用自己的话重新组织
  3. 可读性:段落适中,长短句结合
  4. 逻辑性:观点有论据,论据支撑观点

配图原则

  1. 相关性:配图与内容直接相关
  2. 合法性:注意版权,标注来源
  3. 适量性:通常每 500-800 字配一张图
  4. 清晰度:优先选择高清图片

风格适配

受众类型 语言风格 示例
专业人士 术语准确,逻辑严密 "该模型的召回率达到 95.3%"
普通大众 通俗易懂,多用比喻 "就像一个超级聪明的助手"
年轻群体 活泼有趣,可适度口语化 "这个功能真的绝了"

输出规范

文件命名

{日期}_{选题简称}_draft.md

例如:2026-01-21_AI写作工具_draft.md

配图目录

./images/
  ├── header.jpg      # 头图
  ├── section_01.jpg  # 章节配图
  └── section_02.jpg

后续处理

完成通用文章后,可使用以下 Skill 进行处理:

  1. 去AI化润色中文去AI化 Skill - 消除 AI 写作痕迹
  2. 平台转换

Read the full file on GitHub · 180 lines

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. 12d ago First seen · 180 lines · 52 tokens per session scan A 7dc25afc7e0a

Subscribe to this mod's changes

general-writing is a skill published in the GitHub repository z0gSh1u/oh-my-writing-skill (33 stars, last pushed 6mo ago), licensed MIT. It adds 52 tokens to every session and 1,242 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens