Static-Ads CLAUDE.md

Static-Ads CLAUDE.md is an instructions file for coding agents from keith-wohnv/Static-Ads. It costs 2,097 tokens per session, scanned A, original, MIT.

A set of instructions for an automated tool that researches a brand, creates image-generation prompts, downloads static ad images, and builds an HTML gallery. It also describes the files and commands used by the project.

In plain words
What is it for?
Use it to generate batches of static ads, review and select generated images in a gallery, and prepare ad-copy data for upload.
Why use it?
It gives the coding agent the project-specific steps and commands needed to work with the ad generator without having to rediscover how its pipeline is organised.

Instructions file

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.

agentmods
npx agentmods add instructions/keith-wohnv/static-ads/claude-md
Clone the repo
git clone --depth 1 https://github.com/keith-wohnv/Static-Ads

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 Static-Ads CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/keith-wohnv/static-ads/claude-md.svg)](https://agentmods.dev/instructions/keith-wohnv/static-ads/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/keith-wohnv/static-ads/claude-md"><img src="https://agentmods.dev/badge/instructions/keith-wohnv/static-ads/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,097 This file is loaded in full into every session.
When invoked 2,097 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02097 $0.02097
Opus 5 $0.01048 $0.01048
Sonnet 5 $0.00419 $0.00419
Haiku 4.5 $0.00210 $0.00210

Measured 4d ago against content hash 579a257b933f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Static-Ads CLAUDE.md 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 4d 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.

CLAUDE.md · 136 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

Automated static ad generator: Claude Code + Google Gemini (primary) / FAL.ai Nano Banana 2 (backup). Takes brand name + URL, researches the brand, generates 50 ad prompts, fires them to the image generation API, downloads images, and builds an HTML gallery. Based on Alex Cooper's framework.

Key Files

  • .claude/skills/static-ads/SKILL.md — Canonical skill definition (3-phase pipeline + 50 prompt templates)
  • .claude/commands/static-ads.md — Synced copy of SKILL.md for slash command invocation
  • skills/references/generate_ads_gemini.mjsPrimary Node.js generation script (Google Gemini API)
  • skills/references/generate_ads.mjsBackup Node.js generation script (FAL.ai API)
  • skills/references/gallery-selector.mjs — Standalone script: scans output folder → builds gallery.html with radio-button image selection UI → exports selections.json
  • .claude/skills/ad-copy-builder/SKILL.md — Ad copy skill: reads selections.json + brand-dna.md + hook-bank.md → writes Ads Uploader CSV
  • .claude/commands/ad-copy-builder.md — Slash command copy of ad-copy-builder skill
  • hook-bank.md — 100 hook frameworks from Hook Bank (D-Double-U Media), tagged by type/awareness/goal
  • brands/{name}/ — Per-brand workspace: product-images/, brand-images/, brand-dna.md, prompts.json, outputs/

4-Phase Pipeline

  1. Phase 1 (Brand DNA): Firecrawl scrapes brand site + screenshots → Claude visually inspects screenshots (primary color source) → web research → brand-dna.md + brand-images/
  2. Phase 2 (Prompts): Fill 50 templates from SKILL.md with brand details → prompts.json
  3. Phase 3 (Images): node generate_ads_gemini.mjs → Gemini API → outputs/{date}-V{n}/ + gallery.html (with image selection UI)
  4. Phase 4 (Ad Copy): Open gallery.html → pick best image per group → Save Selections → drop selections.json in output folder → create copy for [brand] [version]upload.csv + upload-2.xlsx + copy-summary.md → upload to Ads Uploader → publish paused

Read the full file on GitHub · 136 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. 4d ago First seen · 136 lines · 2,097 tokens per session scan A 579a257b933f

Subscribe to this mod's changes

Static-Ads CLAUDE.md is an instructions file published in the GitHub repository keith-wohnv/Static-Ads (11 stars, last pushed 5mo ago), licensed MIT. It adds 2,097 tokens to every session, about $0.0105 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 instructions, from other repositories