article-generator

article-generator is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 34 tokens per session (1,206 once invoked), scanned A, original, Apache-2.0.

An AI-assisted article writing tool for creating drafts tailored to platforms such as Xiaohongshu, Zhihu, Toutiao, WeChat, and CSDN. It can use trending topics and connect to several AI providers.

In plain words
What is it for?
It helps create social posts, opinion pieces, news commentary, public-account articles, and technical tutorials from trending subjects.
Why use it?
Writing one article for several platforms means repeatedly changing its length, tone, structure, and formatting. This tool produces platform-specific versions from a topic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create social posts, opinion pieces, news commentary, public-account articles, and technical tutorials from trending subjects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/article-generator
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 jiushiwon/wg-skills --skill article-generator
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

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 article-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/article-generator/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/article-generator)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/article-generator"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/article-generator/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 article-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/article-generator"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/article-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,206 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 103
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00034 $0.01206
Opus 5 $0.00017 $0.00603
Sonnet 5 $0.00007 $0.00241
Haiku 4.5 $0.00003 $0.00121

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

Security

Grade A, and why

article-generator 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 6d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/ai_client.py, scripts/generator.py, scripts/platforms/__init__.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.

curl -X POST http://localhost:8001/api/generate \
vibeCoding/backend/python/article-generator/SKILL.md · 153 lines

How it starts

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

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. 安装依赖

pip install requests openai aiohttp

2. 配置 AI

scripts/config.py 中配置:

# 选择 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. 启动服务

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. 请求示例

curl -X POST http://localhost:8001/api/generate \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "年轻人为什么不爱换手机了",
    "platform": "xiaohongshu",
    "style": "种草安利",
    "length": "medium"
  }'

Read the full file on GitHub · 153 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. 6d ago First seen · 153 lines · 34 tokens per session scan A 743cb0615951

Subscribe to this mod's changes

article-generator is a skill published in the GitHub repository jiushiwon/wg-skills (102 stars, last pushed 2d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,206 once invoked, about $0.0002 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-06.

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