Agent skill

Article Generator

by jiushiwon in jiushiwon/wg-skills

多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作. An agent skill from jiushiwon/wg-skills.

Apache-2.0Auto-check passed

Install Article Generator

skills CLI
$ npx skills add jiushiwon/wg-skills --skill article-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jiushiwon/wg-skills article-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jiushiwon/wg-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vibeCoding/backend/python/article-generator .claude/skills/article-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
article-generator
GitHub stars
112
Token cost
~704 tokens
SKILL.md length
117 words
Files
10 (incl. scripts)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作. An agent skill from jiushiwon/wg-skills.

  • Works in 5 steps: 安装依赖 → 配置 AI → 启动服务 → …
  • SKILL.md covers 使用场景, 功能特性, 项目结构 and 使用方法, plus 3 more sections
  • Runs Python scripts from its folder; calls pip, python and curl; needs KIMI_API_KEY and DEEPSEEK_API_KEY

What it does

Article Generator is an agent skill from jiushiwon/wg-skills. 多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts (for example `scripts/ai_client.py`, `scripts/generator.py` and `scripts/platforms/__init__.py`).

It works with Python. The licence is Apache-2.0.

Example prompts

  • “/article-generator”

Requirements

  • Python 3
  • A credential in KIMI_API_KEY
  • A credential in DEEPSEEK_API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 安装依赖
  2. 配置 AI
  3. 启动服务
  4. API 接口
  5. 请求示例

What it can do on your machine

Read from SKILL.md and the folder at commit 3569fb8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip
    • python
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • KIMI_API_KEY
    • DEEPSEEK_API_KEY
    • MINIMAX_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Article Generator loads about 704 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 117 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~704

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jiushiwon/wg-skills at commit 3569fb8, republished under its Apache-2.0 licence (© jiushiwon). 117 words, ~704 tokens.

Download SKILL.mdSave it as .claude/skills/article-generator/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
article-generator
description
多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作

Article Generator

多平台文章生成工具,基于热点通过 AI 生成适配各平台风格的初稿。

使用场景

  • 自媒体创作者需要快速生成多平台适配的文章
  • 需要根据热点话题生成创意内容
  • 需要统一管理多平台文章

功能特性

支持的平台
平台文章风格字数范围特点
小红书种草安利、情感共鸣300-1000表情丰富、段落短、标签多
知乎专业分析、深度解读1000-3000结构清晰、论据充分
今日头条新闻资讯、热点评论500-1500标题党、观点鲜明
公众号深度文章、个人观点1000-2000情感丰富、有带入感
CSDN技术文章、教程800-2000代码示例、步骤清晰
核心功能
  1. 热点关联 - 基于热点话题生成文章
  2. 多平台适配 - 一键生成多平台版本
  3. 风格模板 - 各平台预设写作风格
  4. AI 对接 - 支持 Kimi / DeepSeek / MiniMax

项目结构

article-generator/
├── SKILL.md
├── scripts/
│   ├── generator.py          # 主入口
│   ├── platforms/            # 平台适配器
│   │   ├── __init__.py
│   │   ├── base.py          # 基础类
│   │   ├── xiaohongshu.py   # 小红书
│   │   ├── zhihu.py         # 知乎
│   │   ├── toutiao.py       # 今日头条
│   │   ├── wechat.py        # 公众号
│   │   └── csdn.py          # CSDN
│   ├── ai_client.py         # AI 客户端
│   └── prompts/             # 提示词模板
│       ├── xiaohongshu.txt
│       ├── zhihu.txt
│       └── ...
└── assets/
    └── templates/           # 示例模板

使用方法

1. 安装依赖
bash
pip install requests openai aiohttp
2. 配置 AI

在 scripts/config.py 中配置:

python
# 选择 AI 提供商
AI_PROVIDER = "kimi"  # 或 deepseek, minimax

# API Keys
KIMI_API_KEY = "your-kimi-key"
DEEPSEEK_API_KEY = "your-deepseek-key"
MINIMAX_API_KEY = "your-minimax-key"
3. 启动服务
bash
python scripts/generator.py

服务默认在 http://localhost:8001 启动。

4. API 接口
方法路径说明
POST/api/generate生成文章
GET/api/platforms获取支持的平台
GET/api/articles获取文章列表
GET/api/articles/{id}获取单篇文章
PUT/api/articles/{id}更新文章
DELETE/api/articles/{id}删除文章
5. 请求示例
bash
curl -X POST http://localhost:8001/api/generate \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "年轻人为什么不爱换手机了",
    "platform": "xiaohongshu",
    "style": "种草安利",
    "length": "medium"
  }'

提示词模板

各平台的提示词模板存储在 scripts/prompts/ 目录:

  • xiaohongshu.txt - 小红书风格
  • zhihu.txt - 知乎风格
  • toutiao.txt - 今日头条风格
  • wechat.txt - 公众号风格
  • csdn.txt - CSDN 风格

扩展新平台

在 scripts/platforms/ 目录下创建新的平台适配器:

python
# scripts/platforms/new_platform.py
from .base import PlatformAdapter

class NewPlatformAdapter(PlatformAdapter):
    name = "new_platform"
    display_name = "新平台"

    def get_prompt_template(self) -> str:
        return """请帮我写一篇关于{topic}的文章...
        要求:
        - 风格:xxx
        - 字数:xxx
        - 格式:xxx
        """

    def format_output(self, content: str) -> str:
        # 格式化输出
        return content

注意事项

  • 各平台文章风格差异大,建议先测试各平台的生成效果
  • AI 生成的内容需要人工审核后再发布
  • 注意保护个人隐私和商业机密

© jiushiwon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts) in vibeCoding/backend/python/article-generator of jiushiwon/wg-skills.

  • SKILL.md
  • scripts/ai_client.py
  • scripts/generator.py
  • scripts/platforms/__init__.py
  • scripts/platforms/base.py
  • scripts/platforms/csdn.py
  • scripts/platforms/toutiao.py
  • scripts/platforms/wechat.py
  • scripts/platforms/xiaohongshu.py
  • scripts/platforms/zhihu.py

Open the folder on GitHubat commit 3569fb8

Compare with similar skills

Article Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Article Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Article Generator this skilljiushiwon/wg-skills112—~704Automated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed

More from jiushiwon/wg-skills

All 12 skills in this repo
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    112 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Workflow Diagram Skill

    jiushiwon/wg-skills

    A skill your agent uses when 用户想用一句话生成流程图、工作流图解、开发流程图、AI 流程图或任何步骤型图解,支持多风格输出(flat icon / 暖白手账风 / dark / cute),并提供现成模板一键出图。

    112 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Uniapp App Generate Skill

    jiushiwon/wg-skills

    This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

    112 GitHub stars~5k tokensUpdated yesterday
    Auto-check: notes
  • Fastapi Init Skill

    jiushiwon/wg-skills

    FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI…

    112 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • Ffmpeg Skill

    jiushiwon/wg-skills

    FFmpeg 多媒体处理技能 — 将自然语言描述转为正确的 ffmpeg 命令,覆盖视频剪辑、转码、水印、合成、提取、生成等操作。内置一键安装脚本(Windows/Mac/Linux)。触发词:ffmpeg、视频剪辑、视频裁剪、视频转码、视频压缩、去水印、加水印、视频拼接、视频合成、提取音频、视频转…

    112 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Frontend Request Skill

    jiushiwon/wg-skills

    A skill your agent uses when designing or reviewing the request layer of a frontend project (web / uni-app / mini-program), including request.ts wrappers, interceptors, deduplication, mocks, error…

    112 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Article Generator

What does Article Generator do?

多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作. An agent skill from jiushiwon/wg-skills. Article Generator is an agent skill from jiushiwon/wg-skills.

How do I install Article Generator in Claude Code?

Run `npx skills add jiushiwon/wg-skills --skill article-generator -a claude-code`. Or copy the skill folder (vibeCoding/backend/python/article-generator in jiushiwon/wg-skills) into .claude/skills/article-generator in your project. Claude Code loads it when a task matches its description.

How do I install Article Generator in Codex?

Run `npx skills add jiushiwon/wg-skills --skill article-generator -a codex`. Or copy the skill folder (vibeCoding/backend/python/article-generator in jiushiwon/wg-skills) into .agents/skills/article-generator in your project. Codex loads it when a task matches its description.

Can I use Article Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jiushiwon/wg-skills --skill article-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/article-generator, .gemini/skills/article-generator, .github/skills/article-generator and .opencode/skills/article-generator in your project.

What does Article Generator need to run?

Going by SKILL.md and its folder, Article Generator needs Python for the scripts in its folder, the command-line tools its instructions call (pip, python and curl) and credentials named KIMI_API_KEY, DEEPSEEK_API_KEY and MINIMAX_API_KEY. Our summary lists: Python 3; A credential in KIMI_API_KEY; A credential in DEEPSEEK_API_KEY.

Does Article Generator access the network?

SKILL.md contains no URLs. Its commands use pip and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Article Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Article Generator use?

Article Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Article Generator use?

About 704 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Article Generator?

Skills that share tags, products or a category with Article Generator: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Article Generator?

jiushiwon (a GitHub user) maintains it in jiushiwon/wg-skills, which has 112 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: jiushiwon/wg-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.