generate-image

generate-image is a skill for Claude Code, Codex from qingxuantang/tar-engine. It costs 55 tokens per session (360 once invoked), scanned A, original, Apache-2.0.

A skill that creates and attaches a cover image to an existing publishing draft. It uses the draft's identifier and can accept a written image prompt.

In plain words
What is it for?
Use it after creating a draft or before publishing when a post needs a cover image, provided the image service and postall-agent are configured.
Why use it?
It removes the manual step of generating an image and connecting it to the correct draft in a publishing workflow.

Skill for Claude CodeCodex

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

Good fit Use it after creating a draft or before publishing when a post needs a cover image, provided the image service and postall-agent are configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qingxuantang/tar-engine/generate-image
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 qingxuantang/tar-engine --skill generate-image
Clone the repo
git clone --depth 1 https://github.com/qingxuantang/tar-engine

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 generate-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/qingxuantang/tar-engine/generate-image.svg)](https://agentmods.dev/skills/qingxuantang/tar-engine/generate-image)
Your own site
<a href="https://agentmods.dev/skills/qingxuantang/tar-engine/generate-image"><img src="https://agentmods.dev/badge/skills/qingxuantang/tar-engine/generate-image.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 360 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.00055 $0.00360
Opus 5 $0.00028 $0.00180
Sonnet 5 $0.00011 $0.00072
Haiku 4.5 $0.00006 $0.00036

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

Security

Grade A, and why

generate-image 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 7d 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.

packs/postall-content/skills/generate-image/SKILL.md · 47 lines

What it actually says

Generate Image Skill

Generate a cover image for an existing draft using PostAll's image executor.

Inputs

  • draft_id (required) — the draft to attach the image to.
  • prompt (optional) — override the auto-generated prompt with explicit imagery directions.

If draft_id is missing, return an error final message immediately.

Execution

postall-agent image --draft "<DRAFT_ID>" [--prompt "<PROMPT>"]

Output handling

Parse the JSON. Return:

  • draft_id — same as input.
  • image_path — local path to the generated image.

Final message:

Image generated for draft <ID>.

path: <IMAGE_PATH>

If the JSON has success: false, surface the error verbatim — common causes are billing limit, invalid draft_id, or image executor not configured.

Composability notes

Often called between generate-content and publish-content. The user profile flag always_generate_image (default true) signals whether the planner should auto-insert this skill into publish pipelines.

Prerequisite

Same as generate-contentpostall-agent must be installed. Additionally, the image generation requires a working image executor (Gemini / DALL-E / etc.) configured in the postall environment. If image generation fails with auth or config errors, surface the error and suggest checking the postall configuration.

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. 7d ago First seen · 47 lines · 55 tokens per session scan A 00377bbc559e

Subscribe to this mod's changes

generate-image is a skill published in the GitHub repository qingxuantang/tar-engine (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 360 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-31.

Related

Other skills, from other repositories

imagegen-frontend-web

Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not…

Leonxlnx/taste-skill · 126 tokens

brandkit

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional…

Leonxlnx/taste-skill · 89 tokens

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

video-frames

Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg.

iflytek/skillhub · 30 tokens

openclaw-brand

Apply OpenClaw visual identity to logos, typography, imagery, voice, documents, presentations, social graphics, and launch materials. Use when the task changes brand identity rather than ordinary product UI or public-page composition.

openclaw/clawhub · 48 tokens

skill-review

Critically review a workspace skill and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve a SKILL.md file or skill directory. Covers frontmatter validation, instruction clarity, completeness, and adherence to the Agent Skills Specification.

stencila/stencila · 54 tokens