# Ni article image gen

> Ni article image gen is an open-source agent skill for writing style. Writes a single cover-image prompt for a reviewed WeChat article, without generating. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ttttstc/ni-skill/tree/main/skills/ni-article-image-gen
- **Repository:** https://github.com/ttttstc/ni-skill
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** ni-article-image-gen
- **Collection:** https://github.com/ttttstc/ni-skill
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-04

## About

This skill turns an already reviewed Chinese WeChat public-account article into one cover image prompt saved as a markdown file. It does not call any image generation API, does not produce in-article illustrations, and does not edit the article itself. The agent first checks that the article has passed a separate review, then extracts the core judgment from the outline and picks one concrete scene, mechanism, or result that the article actually supports.

The workflow asks the agent to choose one of four framings (real scene, mechanism metaphor, structural relationship, or result comparison), write a full prompt with negative constraints, and run a swap test to make sure the prompt would not fit many unrelated articles. The output includes a visual judgment section, a final prompt on a 1200x675 canvas, negative constraints, and notes on whether text must be added later. Generic robots, brains, and glowing circuits are discouraged unless the article discusses them.

Inputs are an approved article.md and a user-confirmed article-outline.md, with optional brand style references or a requested style. The skill ships as a Python-based folder inside a larger Chinese-language skill collection and is distributed through a Claude Code plugin marketplace.

## When your agent uses it

> 为已经通过正文审稿的公众号文章生成一条封面图提示词，不直接生图。提示词必须围绕文章的核心判断和真实工程实体，不要添加正文没有的事实；只负责封面，不生成内文配图。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-article-image-gen)
- [No network calls found in its scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-article-image-gen)
- [License: MIT](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-article-image-gen)

## Features

- **Single core-judgment prompt:** Produces exactly one cover prompt built around the article's main conclusion rather than its general topic.
- **Article-grounded visual entities:** Requires at least two visual elements traceable to the article text, with their source cited.
- **Swap test check:** Rewrites any prompt that would still fit many unrelated articles after the article's specifics are removed.
- **Negative constraint list:** Adds exclusions tied to the article's real risks, such as invented data, product interfaces, or unsupported results.
- **Review gate before output:** Stops and reports if the article has not passed independent review, rather than packaging a weak draft.
- **Prompt file output:** Saves the result to cover-prompt.md on a 1200x675 canvas and stops there, leaving image generation to a separate step.

## Good for

- Write a cover image prompt for a reviewed WeChat technical article
- Suggest a visual that reflects the core conclusion of an engineering post
- Create a negative-constraint list to avoid generic AI imagery on a cover
- Check whether a cover concept depends on specific entities from the article

## Install

### Claude Code

This skill ships in the `ni-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skill
```

Or copy only this skill to `~/.claude/skills/ni-article-image-gen`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-article-image-gen &&
cp -R "$tmp/skills/ni-article-image-gen" ~/.claude/skills/ni-article-image-gen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ni-article-image-gen` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ni-article-image-gen` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-article-image-gen &&
cp -R "$tmp/skills/ni-article-image-gen" ~/.agents/skills/ni-article-image-gen &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ni-article-image-gen` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ni-article-image-gen` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-article-image-gen &&
cp -R "$tmp/skills/ni-article-image-gen" ~/.cursor/skills/ni-article-image-gen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ni-article-image-gen` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-article-image-gen
```

Or copy the folder to `~/.gemini/skills/ni-article-image-gen` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ni-article-image-gen`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-article-image-gen &&
cp -R "$tmp/skills/ni-article-image-gen" ~/.copilot/skills/ni-article-image-gen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ni-article-image-gen` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ttttstc/ni-skill.git
```

Then copy `ni-skill/skills/ni-article-image-gen` into your agent's skills folder as `ni-article-image-gen`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Ni article image gen generate the cover image itself?

No. It only writes one prompt and saves it to cover-prompt.md. It does not call an image generation API and stops after the file is written.

### What inputs does Ni article image gen need?

An approved article.md and a user-confirmed article-outline.md. A brand style reference or a requested style is optional.

### Does Ni article image gen write in-article illustrations too?

No. It covers only the cover image and does not generate inline images or edit the article.

### What happens if the article is still abstract?

The skill says the cover will be abstract and asks for real scenes from the user, rather than filling the image with robots or circuit graphics.

### How do I install Ni article image gen in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ni-article-image-gen to use it in all your projects, or to .claude/skills/ni-article-image-gen in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.

### Does Ni article image gen run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ni article image gen?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ni article image gen?

The closest alternatives to Ni article image gen are Ni formatter, Ni article workflow, Ni inspect, Article writing and Article writing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ni formatter](https://ai-powered.com/skills/ni-formatter): Ni formatter is an open-source agent skill for writing style.
- [Ni article workflow](https://ai-powered.com/skills/ni-article-workflow): Ni article workflow is an open-source agent skill for writing style.
- [Ni inspect](https://ai-powered.com/skills/ni-inspect): Ni inspect is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing-fmarzochi): Article writing is an open-source agent skill for writing style.
- [Wechat post publisher](https://ai-powered.com/skills/wechat-post-publisher): Wechat post publisher is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing-abdullayevtemurmalik): Article writing is an open-source agent skill for writing style.
- [Content engine](https://ai-powered.com/skills/content-engine): Content engine is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/ni-article-image-gen
