ads-generate

ads-generate is a skill for Claude Code, Codex from citedy/adclaw. It costs 87 tokens per session (1,371 once invoked), scanned A, original, Apache-2.0.

An AI image generator for paid advertising. It uses a campaign brief and optional brand profile to create images sized for advertising platforms.

In plain words
What is it for?
Use it to create ad images for selected platforms or image proportions, either from campaign files or from a direct prompt. It requires banana-claude with nanobanana-mcp configured.
Why use it?
It removes the need to turn campaign requirements and brand guidelines into separate image-generation prompts by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ✓ ./ad-assets/meta/concept-1/feed-1080x1350.png.

Good fit Use it to create ad images for selected platforms or image proportions, either from campaign files or from a direct prompt. It requires banana-claude with nanobanana-mcp configured.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/citedy/adclaw
agentmods
npx agentmods add skills/citedy/adclaw/ads-generate

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/citedy/adclaw/ads-generate/github.svg)](https://agentmods.dev/skills/citedy/adclaw/ads-generate)
Your own site
<a href="https://agentmods.dev/skills/citedy/adclaw/ads-generate"><img src="https://agentmods.dev/badge/skills/citedy/adclaw/ads-generate/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.

agentmods 80×15 button for ads-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/citedy/adclaw/ads-generate"><img src="https://agentmods.dev/badge/skills/citedy/adclaw/ads-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,371 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 76
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00087 $0.01371
Opus 5.5 $0.00035 $0.00548
Sonnet 5.5 $0.00017 $0.00274
Haiku 4.5 $0.00009 $0.00137

Measured 3mo ago against content hash 5fd334741ff3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ads-generate 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 3mo 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.

src/adclaw/agents/skills/ads-generate/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ads Generate: AI Ad Image Generator

Generates platform-sized ad creative images from your campaign brief and brand profile. Uses banana-claude as the image generation provider.

Quick Reference

Command What it does
/ads generate Generate all images from campaign-brief.md
/ads generate --platform meta Generate Meta assets only
/ads generate --prompt "text" --ratio 9:16 Standalone generation without brief

Environment Setup

Required before running:

  • Requires banana-claude (v1.4.1+) with nanobanana-mcp configured
  • Run /banana setup to configure API key and MCP
  • Fallback: if banana is not available, use scripts/generate_image.py (deprecated)

If banana-claude is not installed, this skill will display setup instructions and stop. It will never fail silently.

Process

Step 1: Verify banana-claude

Verify banana-claude is installed (run /banana setup to check). If not installed, display setup instructions and exit.

Step 2: Locate Source Files

Check for:

  • campaign-brief.md → primary source for prompts and dimensions
  • brand-profile.json → brand color/style injection (optional but recommended)

If campaign-brief.md is found: Use ## Image Generation Briefs section as the generation job list.

If no campaign-brief.md: Enter standalone mode (Step 2b).

Step 2b: Standalone Mode

Ask the user:

  1. Generation prompt (what should the image show?)
  2. Target platform (to set correct dimensions)
  3. Output filename (optional)

Then skip to Step 5.

Step 3: Read Provider Config

Load ads-shared/references/image-providers.md to confirm:

  • Active provider pricing (show user the cost estimate)
  • Rate limits for current tier
  • Batch API availability

Step 4: Read Platform Specs

For each platform in the campaign brief, load the relevant spec reference:

  • ads-shared/references/meta-creative-specs.md
  • ads-shared/references/google-creative-specs.md
  • ads-shared/references/tiktok-creative-specs.md
  • ads-shared/references/linkedin-creative-specs.md
  • ads-shared/references/youtube-creative-specs.md
  • ads-shared/references/microsoft-creative-specs.md

Read the full file on GitHub · 164 lines

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. 3mo ago First seen · 164 lines · 87 tokens per session scan A 5fd334741ff3

Subscribe to this mod's changes

ads-generate is a skill published in the GitHub repository citedy/adclaw (54 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,371 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

ads-generate compared with skills from other repositories

ads-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ads-generatecitedy/adclawSkill544mo agoApache-2.0A87Claude Code, Codex
skill-creatorHKUDS/nanobotSkill50ktodayMITA13Claude Code, Codex
cronHKUDS/nanobotSkill50ktodayMITA8Claude Code, Codex
tmuxHKUDS/nanobotSkill50ktodayMITA20Claude Code, Codex
weatherHKUDS/nanobotSkill50ktodayMITA8Claude Code, Codex
clawhubHKUDS/nanobotSkill50ktodayMITA19Claude Code, Codex
githubHKUDS/nanobotSkill50ktodayMITA19Claude Code, Codex