Static-Ads: Instructions file for Claude Code

CLAUDE.md

Static-Ads CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is keith-wohnv/Static-Ads's own configuration. It tells Claude Code how to work on Static-Ads itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Static-Ads configures →

Reuse

Borrowing it

Nothing to install: this file belongs to keith-wohnv/Static-Ads. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/keith-wohnv/Static-Ads/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/keith-wohnv/Static-Ads

Made for: Claude Code.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.02097 $0.02097
Opus 5.5 $0.00839 $0.00839
Sonnet 5.5 $0.00419 $0.00419
Haiku 4.5 $0.00210 $0.00210

Measured 2mo ago against content hash 579a257b933f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.mjs — Primary Node.js generation script (Google Gemini API)
  • skills/references/generate_ads.mjs — Backup 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. 2mo 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 (14 stars, last pushed 7mo ago), licensed MIT. It adds 2,097 tokens to every session, about $0.0084 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-31.

Related

Static-Ads CLAUDE.md compared with instructions from other repositories

Static-Ads CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Static-Ads CLAUDE.mdkeith-wohnv/Static-AdsInstructions file147mo agoMITA2,097Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot