Article Generator logo

Article Generator

Community
jiushiwon
article-generator

多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作

Overview

Publisherjiushiwon
Repositorywg-skills
Skill namearticle-generator
Stars
123
Forks
38
Bundled files
9
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jiushiwon on GitHub. Read the source before you install it.

Installation

Install the Article Generator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jiushiwon/wg-skills/tree/main/vibeCoding/backend/python/article-generator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jiushiwon/wg-skills.git /tmp/wg-skills
mkdir -p .claude/skills
cp -r /tmp/wg-skills/vibeCoding/backend/python/article-generator .claude/skills/article-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Article Generator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Article Generator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Article Generator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 生成的内容需要人工审核后再发布
  • 注意保护个人隐私和商业机密

触发词

article-generator、Article Generator

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Article Generator AI skill do?

多平台文章生成工具,支持小红书、知乎、今日头条、公众号、CSDN 等平台的 AI 辅助创作

Why use Article Generator on TypingMind?

Because you install it once and use it with any model. Article Generator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Article Generator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jiushiwon/wg-skills/tree/main/vibeCoding/backend/python/article-generator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Article Generator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Article Generator?

As many as you like. As long as a model supports skills, you can use Article Generator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Article Generator AI skill free?

Yes. It is published on GitHub by jiushiwon under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇