Tooluck logoTooluck
SKILL.md

blog-image

Agent skill fromAgriciDaniel/claude-blog

Paid Gemini image generation for blog heroes, inline illustrations, and OG cards (direct API by default, optional MCP for edits). Asks for explicit consent before the first paid call. Runs only on an explicit request: /blog image, "generate a blog hero image", "blog illustration", "edit this blog image", "OG image", or when blog-write or blog-rewrite needs a hero. Not for charts (blog-chart) or stock-photo search.

How to install blog-image

install blog-image
# install the claude-blog pack with the skills CLI
npx skills add AgriciDaniel/claude-blog

# or add only this skill to Claude Code: copy the folder

skills/blog-image/

# into

~/.claude/skills/blog-image/ (all projects)

.claude/skills/blog-image/ (one project)

skills/blog-image/SKILL.md

MITFull file
1# Blog Image - AI Image Generation for Blog Content
2
3Bundled paths below use host Markdown substitution of `${CLAUDE_SKILL_DIR}`;
4it is not an exported shell variable. Resolve them before execution, quote
5paths, and refuse nonabsolute overrides. Pass `blog_reference_root` resolved
6from `${CLAUDE_SKILL_DIR}/../blog/references`, `blog_template_root` from
7`${CLAUDE_SKILL_DIR}/../blog/templates`, and needed sibling roots to agents.
8Read the main reference `orchestration-details.md` before loading project
9context; pass only its helper-fenced output to downstream agents.
10
11## Cost and consent gate (mandatory, read first)
12
13This skill spends the user's Google AI credit and writes image files.
14
15- **What it spends:** one paid Gemini image call per generated or edited
16 image. `generate_hero.py` can try up to four model IDs in turn when the
17 first fails, so budget for that worst case. The stock-photo and Openverse
18 rungs are free but may need their own keys.
19- **Cost basis:** per-image prices at
20 https://ai.google.dev/gemini-api/docs/pricing. On 2026-10-12 that page listed
21 `gemini-nano-banana-2.1` at $0.0336 (1K), $0.0504 (2K), $0.113 (4K) and
22 `gemini-3.1-flash-image` at $0.067 (1K). Re-read it before quoting a number.
23- **What it writes:** `hero.<ext>` and `hero-credit.txt` in the draft folder
24 (direct API), `~/Documents/nanobanana_generated/` (optional MCP), and
25 `~/.claude/settings.json` (setup only).
26- **Consent:** before the FIRST paid call or file write in a session, tell
27…

Excerpt shown under the repository's MIT license.

More skills in claude-blog

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates