/orbitant-marketing:orbitant-image-creationfrom orbitant-marketing
Generates blog post thumbnail images for Orbitant following brand visual identity, using Google's Gemini image API (Nano Banana 2).
Ships in orbitant-marketing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are a visual prompt engineer and image generator for the Orbitant engineering blog. Your job is to:
Respond in the same language as the user's request.
Activate when the user:
@google/genai and sharp packages:npm install @google/genai sharp
You need a GOOGLE_API_KEY to call the Gemini image API. There are two ways to get one:
| Option | How | Cost |
|---|---|---|
| Google AI Studio | Go to https://aistudio.google.com/apikey and create a key with your personal Google account | Free tier with daily limits |
| Google Workspace | Same link, but sign in with your organization's Workspace account. Many Workspace plans include Gemini API access with generous quotas (check your admin console under Apps → Additional Google services → Google AI Studio) | Included in Workspace plans that have Gemini enabled |
Tip: If your organization uses Google Workspace with Gemini enabled, you likely already have API access at no extra cost — ask your Workspace admin if unsure.
Pick one of the following methods:
Option A — .env file (recommended, stays local and git-ignored):
Create plugins/orbitant-marketing/skills/image-creation/scripts/.env:
GOOGLE_API_KEY=your-key-here
Option B — Environment variable (current shell session only):
export GOOGLE_API_KEY="your-key-here"
Option C — Shell profile (persistent across sessions):
Add to your ~/.bashrc, ~/.zshrc, or equivalent:
export GOOGLE_API_KEY="your-key-here"
Note: The
.envfile takes lower priority — ifGOOGLE_API_KEYis already set in your environment, the environment value is used.
Run a single test image to confirm everything works:
node plugins/orbitant-marketing/skills/image-creation/scripts/generate-image.mjs \
--prompt "A single white ceramic cube on a white surface, soft studio lighting, shallow depth of field, minimalist, monochrome" \
--output /tmp/orbitant-test.png \
--count 1
If the API key is not set, the skill will craft the prompt and show it to the user so they can use it manually in AI Studio or another tool.
Note: The
--negativeflag is accepted by the script but not supported by Gemini image models (gemini-3.1-flash-image) and is ignored with a warning. Instead of using--negative, incorporate negative constraints directly into the main prompt (e.g., "No red, orange, or yellow fire. No text, no words, no logos.").
Before crafting prompts, check if assets/reference/ contains images. These are real blog thumbnails from orbitant.com that show the target visual style by example.
If the folder is empty or missing, ask the user to run:
node scripts/scrape-insights-images.mjs
This downloads a curated set of ~26 reference images. It is safe to re-run — existing files are skipped. Use --force to re-download everything.
Once available, browse a few reference images from assets/reference/ before crafting prompts. They illustrate the brand's actual visual language better than any text description: the lighting, color grading, composition patterns, and metaphor choices that define Orbitant's style.
scripts/generate-image.mjs — Generates images via Google's Gemini image API and automatically composites the Orbitant watermark. Accepts prompt, output path, aspect ratio, model, count, and watermark tone. Returns JSON with file paths on success.scripts/scrape-insights-images.mjs — Downloads curated reference images from orbitant.com into assets/reference/. Skips existing files. Use --force to re-download.Run node scripts/generate-image.mjs --help or node scripts/scrape-insights-images.mjs --help for full usage.
assets/watermark-white.svg — White Orbitant watermark (compass + text) for dark backgroundsassets/watermark-black.svg — Black Orbitant watermark for light backgroundsThe script auto-detects which watermark to use based on the bottom strip brightness of the generated image. Override with --watermark white|black|none.
references/visual-identity.md for the brand rules.assets/reference/ contains images. If empty, ask the user to run node scripts/scrape-insights-images.mjs and wait before continuing.assets/reference/ to calibrate your sense of the brand's visual style.Every image this skill makes is a conceptual metaphor: an AI-generated scene built on a physical metaphor. Real photos (the team, an event) are chosen and added by hand, outside this skill, so never ask for one or suggest one instead of generating.
Never put a real, identifiable person in an image, even when the article is about one (an interview, a profile, a guest talk): illustrate the idea the article is about, not the person.
Identify a physical object or scene that metaphorically represents the article's core concept:
Use this structure:
A [object/scene metaphor] representing [concept], shot with a [lens mm] lens
at f/[aperture], [lighting type] from [direction]. [Background color] studio
background. Color palette: [colors]. Minimalist composition with generous
negative space. [Additional details]. Clean empty bottom-center area with no
elements or objects. Photorealistic quality, 16:9 aspect ratio.
Incorporate negative constraints directly into the prompt itself (the --negative flag is not supported by the current API). Add clauses like: "No text, no words, no logos, no busy backgrounds, no saturated or warm tones, no stock photo cliches."
Run the script from the skill directory:
node scripts/generate-image.mjs \
--prompt "THE CRAFTED PROMPT" \
--output ./output/ARTICLE-SLUG.png \
--aspect 16:9
To generate multiple variants for the user to choose from:
node scripts/generate-image.mjs \
--prompt "THE CRAFTED PROMPT" \
--output ./output/ARTICLE-SLUG.png \
--aspect 16:9 \
--count 3
Show the user:
.prompt.json next to the images for reuse)--watermark none was used)The .prompt.json file stores the full prompt, model, aspect ratio, and generation timestamp so the user can reproduce or tweak the image later without the skill.
Full visual identity spec (colors, watermark, signature look, proven metaphors) is in
references/visual-identity.md. Read it before crafting prompts.
Key points:
Article: "5 Tips for Successful Legacy Migrations"
Metaphor: Layered architectural model being deconstructed, representing careful extraction of legacy systems Background: Light (methodology/best-practices topic)
node scripts/generate-image.mjs \
--prompt "A detailed white architectural model of a classic building being carefully deconstructed layer by layer, with some layers floating slightly above, shot with a 85mm lens at f/2.8, soft directional lighting from the left. Clean white studio background. Color palette: monochrome whites and light grays with subtle shadows. Minimalist composition, single centered subject with generous negative space. Clean bottom-center area reserved for brand watermark. No text, no words, no logos, no busy backgrounds. Photorealistic 3D render quality, 16:9 aspect ratio." \
--output ./output/legacy-migrations.png \
--count 2
GOOGLE_API_KEY is not available, output the prompt for manual use and tell the user how to set up the key.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub weorbitant/orbitant-os --plugin orbitant-marketing10 skills in this plugin
/orbitant-blog-post-createContent generation skill for the Orbitant engineering blog. Activates when
creating a blog post in Spanish from raw input — a Knowledge Sharing transcript,
Slack thread, meeting notes, workshop draft, or bullet outline. Produces a
structured, SEO-optimised article that matches Orbitant's narrative, tone,
and content cluster strategy.
Trigger on: "crear blog post", "redactar artículo", "convierte esto en un post",
"blog post para Orbitant", "write a blog post", "turn this into an article".
Also trigger when the user shares a long transcript, KS notes, or a Slack
discussion about a technical decision — even if they don't explicitly say
"blog post". When in doubt, ask if they want this turned into a post.
/orbitant-blog-post-reviewEditorial review skill for Orbitant engineering blog posts. Activates when reviewing,
editing, or providing feedback on blog articles. Produces structured reviews covering
SEO, content quality, tone, and actionable improvements. Responds in the same language
as the article being reviewed. Use this skill whenever someone asks to review a blog post,
wants editorial feedback on a draft, needs SEO analysis for an article, or requests
writing improvements for the Orbitant blog — even if they don't explicitly mention "review".
/orbitant-blog-post-translateTranslation skill for validated Orbitant blog posts. Takes a Spanish article that has
already been reviewed and approved by a human editor, and produces an English version
optimised for English-speaking audiences. Keyword selection is not a literal translation
but a search-intent-driven choice for the English market. Use this skill only on articles
that have completed the full editorial and review process.
/orbitant-linkedin-postLinkedIn content planner for Orbitant. Takes a published blog post (markdown) and
produces a full content plan with multiple LinkedIn pieces ready for scheduling:
a standard post with link, a carousel structure proposal, and a multimedia asset
recommendation (infographic or diagram). Each piece uses a different angle from
the same source material. Output is ready for handoff to n8n or manual scheduling.
Activate when user shares a blog post and asks for LinkedIn content, social media
copy, a content plan, carousel proposals, or content repurposing for LinkedIn.
Also trigger when asked to "turn this into LinkedIn posts", "create social media
from this article", or "help me schedule this content" — even if they don't
explicitly mention LinkedIn or social media strategy.
/orbitant-newsletterDrafts the monthly Orbitant newsletter from Slack links, Knowledge Sharing
recaps, blog posts, and meetup updates. Activate when the user mentions
"newsletter", "monthly email", "prepare the newsletter", "newsletter de [mes]",
"borrador de newsletter", or provides materials for the monthly send (KS recap,
Slack links, blog posts). Also triggers when asked to "draft the email for this
month" or "prepare the MailerLite send". Curates Slack channel links autonomously,
writes all copy in English, and outputs a complete Markdown draft ready for
MailerLite layout.
/orbitant-toneVoice and tone reference for Orbitant blog content. Defines what Orbitant writing
sounds like, what it values, and what it avoids — with concrete examples.
Activate when user asks about Orbitant voice, tone, writing style, brand voice,
or editorial guidelines. Also trigger when reviewing blog content for consistency,
checking if text "sounds like Orbitant", or when creating/editing marketing content
— even if they don't explicitly mention tone or voice.