Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/civitai/civitai-gen-skillnpx agentmods add skills/civitai/civitai-gen-skill/civitai-genWrote 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.
[](https://agentmods.dev/skills/civitai/civitai-gen-skill/civitai-gen)<a href="https://agentmods.dev/skills/civitai/civitai-gen-skill/civitai-gen"><img src="https://agentmods.dev/badge/skills/civitai/civitai-gen-skill/civitai-gen/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.
<a href="https://agentmods.dev/skills/civitai/civitai-gen-skill/civitai-gen"><img src="https://agentmods.dev/badge/skills/civitai/civitai-gen-skill/civitai-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.01976 |
| Opus 5 | $0.00039 | $0.00988 |
| Sonnet 5 | $0.00016 | $0.00395 |
| Haiku 4.5 | $0.00008 | $0.00198 |
Grade A, and why
civitai-gen 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`post-image` reads the local file, uploads it, and publishes the post — it prints the public URL. Pull `mcp-cli.mjs` first if you don't have it (`curl -fsSL https://mcp.civitai.com/cli -o mcp-cli.mjs`); `CIVITAI_API_KEY` How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
civitai-gen
Unified CLI for Civitai's orchestration Workflow API. All generation types share the same workflow lifecycle: submit, poll, download.
Setup
Requires Node.js 18+. Set CIVITAI_API_KEY either as an environment variable or in a .env file in this skill's directory (next to generate.mjs). Copy .env.example to .env to start. Get a key at: https://civitai.com/user/account
Paths below are relative to this skill's directory. Run the scripts from there (
cdinto it), or prefix with the install path your runtime uses.
Capabilities
| Command | What it does | Details |
|---|---|---|
wait |
Submit + poll + download (default) | All-in-one blocking generation |
submit |
Fire-and-forget, returns workflow ID | For async workflows |
status |
Check workflow progress | --poll for live updates |
download |
Fetch completed media | From a workflow ID |
cost |
Dry-run buzz estimation | whatif=true, 0 buzz spent |
engines |
List video engines + live status | 11+ engines |
tts |
Text-to-speech | See docs/tts.md |
music |
Music/song generation (ACE Step 1.5) | See docs/music.md |
transcribe |
Speech-to-text transcription | See docs/transcription.md |
Quick Examples
# Image (defaults to Flux.1, 4 images)
node generate.mjs wait --prompt "A knight at sunset" -o ./out
# Multiple concurrent prompts
node generate.mjs wait --prompt "A warrior" --prompt "A mage" -o ./out
# Video (VEO 3)
node generate.mjs wait --engine veo3 --prompt "A robot walking" -o ./out
# Text-to-speech
node generate.mjs tts --text "Hello world" --speaker serena -o ./out
# Music
node generate.mjs music --prompt "upbeat electronic dance track" -o ./out
# Transcription
node generate.mjs transcribe --media-url "https://example.com/audio.mp3" -o ./out
# Cost check (any type, 0 buzz)
node generate.mjs cost --prompt "A cat" -n 100
node generate.mjs cost --engine veo3 --prompt "A robot" --duration 8
# Experiment mode (wildcard expansion)
node experiment.mjs --spec experiment.json -o ./out
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .env.example 120 B
- .gitignore 5 B
- docs/engines.md 6.5 KB
- docs/music.md 1.2 KB
- docs/transcription.md 2.2 KB
- docs/tts.md 2.4 KB
- experiment.mjs 24 KB runs code
- generate.mjs 50 KB runs code
- lib/api.mjs 11 KB runs code
- lib/audio.mjs 5.2 KB runs code
- lib/image.mjs 9.9 KB runs code
- lib/video.mjs 8.4 KB runs code
- test/smoke-test.mjs 18 KB runs code
- wildcards/art-styles.txt 224 B
- wildcards/aspects.txt 26 B
- wildcards/colors.txt 112 B
- wildcards/neon-colors.txt 107 B
- wildcards/README.md 449 B
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.
- 12d ago First seen · 137 lines · 78 tokens per session scan A ea4324ba651b
civitai-gen is a skill published in the GitHub repository civitai/civitai-gen-skill (17 stars, last pushed 3mo ago), licensed MIT. It adds 78 tokens to every session and 1,976 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
browser-relay
Operate the user's existing, logged-in Chrome locally or on an explicitly connected remote machine. Read complete page content with actionable refs and links, perform grouped actions, and use screenshots in persistent browser sessions. Skip static public pages and pure REST APIs.
mediagen
Generate images and video from text prompts via the mediagen CLI, across Gemini, OpenAI and Kie AI. Use when asked to create, generate, render, or edit an image or a video — a logo, an illustration, a mockup, a photo, a banner, a clip — or to mark existing media as AI-generated. Also covers choosing a provider or…
chat-history
Search, inspect, and export Claude Code, Cursor, and Codex conversation history. Use when the user asks about past conversations, wants to find a previous session, needs to search chat history, wants a summary of what they worked on, or asks to resume a session. Also use when the user says "what did I work on", "find…
chatgpt-imagegen
Generate new raster images and looping GIF/WebP animations with the user's ChatGPT subscription through the local one-file chatgpt-imagegen CLI, without an API key or daemon. Use for photos, illustrations, icons, hero banners, mockups, sprites, concept art, animation loops, and figures for documents, proposals, blog…
serial-debug
CLI-first serial port debugging and macro automation with serial-mcp-server for Codex and Claude Code. Use when working with UART or USB-serial devices, listing serial ports, probing STM32/Arduino/ESP32 boards, writing or reading serial data, running JSON serial macros, controlling RTS/DTR, or using serial-mcp-server…
hyalo-skills
Validate and maintain Agent Skills collections using Hyalo's skills profile, including Codex and Claude skill directories.