More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    AdSmith: Batch Meta Static Ads from YAML

    1

    Batch-render Meta static image ads from YAML using AI, stock, or local backgrounds with built-in policy linting.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    AdSmith: Batch Meta Static Ads from YAML

    Example session with this skill installed

    Make a launch set for Northbeam Roasters (specialty coffee, 212 Harbour St): five scene-led ads (late opening hours, today's single origin, beans online, the subscription, the $16 single-origin bag) plus one A/B/C test on a pour-over photo. Generate the backgrounds with Gemini 3 Pro Image. Put "Guaranteed results or your money back" on the beans-online ad.

    • Read your context and instructions
    • Compiled the adsmith
    • Generated the image

    Summary

    8 of 8 ads rendered for Northbeam Roasters: five style-H scenes where the copy is designed into the photo (neon on a night wall, chalk on a slate board, ink on sunlit plaster, gold leaf on shop glass, an editorial product hero) and one pour-over photo in all three A/B/C looks. Backgrounds: 6 images from google/gemini-3-pro-image via OpenRouter,

    $0.83 total; every later fix re-composited from cache for free. The renders are this listing's screenshots.

    1. Policy lint blocked one line (nothing was generated or charged)

    LINT FAIL (account-safety) — nothing rendered:
      ✗ NB - Slow Mornings Ink H copy.fine: trigger phrase "guaranteed results" — no body-change promises or miracle outcomes (Meta health & wellness policy)
    Deliberate exception → lint_allow: ["<exact phrase>"] on the batch or creative.
    

    "Guaranteed results" is a Meta rejection trigger, so I replaced it with

    "Free shipping over $30". Add lint_allow: ["guaranteed results"] if you want it anyway.

    2. First pass, then fixes from full-size review

    AdFound at 100%Fix
    Chalk (today's pour)Copy started on the wooden frame; "peach." ran past the slateanchor measured inside the slate; headline "Guji, / Ethiopia.", notes moved to the fine line
    Gold (subscription)Headline spilled off the glass onto the pilaster and dooranchor inside the upper glass pane; headline "Roasted / Tuesday."
    Chalk + GoldCTAs wrapped a lone word ("bar", "15%")Shorter CTAs: "Ask for a cup", "Subscribe & save"
    Editorial (bag)Teal "$16" accent fought the warm palettePrice moved into the CTA: "Shop the roast · $16"

    One creative as written (the others follow the same shape):

    - name: "NB - Shopfront Gold H"
      cat: NORTHBEAM
      style: H
      artwork:
        source: gemini
        model: google/gemini-3-pro-image
        prompt: "A single continuous photograph of an old shopfront window at dusk seen from the street. A large pane of dark glass in a deep bottle-green timber frame fills the centre and left of the frame; the glass reflects the blue evening street softly and shows a warm, out-of-focus café interior glowing behind it. ... No text, words, letters, logos or signage anywhere in the image."
      look: frost
      treatment: gold-leaf
      anchor: {x: 355, y: 72, w: 460, h: 450}   # upper glass pane, clear of the mullions
      copy:
        kicker: "EST. HARBOUR STREET"
        headline: ["Roasted", "Tuesday."]
        cta: "Subscribe & save"
        fine: "15% off · in your cup by Friday"
    

    3. Final run

    [OK] NB - Open Late Neon H (H, bg: cached)
    [OK] NB - Todays Pour Chalk H (H, bg: cached)
    [OK] NB - Slow Mornings Ink H (H, bg: cached)
    [OK] NB - Shopfront Gold H (H, bg: cached)
    [OK] NB - Single Origin Editorial H (H, bg: cached)
    [OK] NB - Morning Pour A (A, bg: cached)
    [OK] NB - Morning Pour B (B, bg: cached)
    [OK] NB - Morning Pour C (C, bg: cached)
    
    Done: 8/8 rendered → <demo-dir>/renders (provenance: manifest.json)
    

    Next steps

    • Swap any AI scene for your own shop photo with source: file; anchors are re-measured on the new image.
    • The whole batch ships as examples/showcase.yaml with these six backgrounds as JPGs, so it re-renders with no key; each block keeps its Gemini prompt for regenerating.
    • <demo-dir> stands in for the local folder path the tool prints.
    • Run python3 scripts/qa/contact-sheet.py renders/NORTHBEAM --out sheet.pdf to review the set together before picking finals.

    sheet.pdf

    PNG · 1536×1024

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manually designing ad creatives is a bottleneck that leads to slow testing and ad fatigue. AdSmith solves this by batch-rendering Meta/Facebook static image ads directly from a YAML configuration file. It composites headlines, badges, CTAs, and fine-print overlays over local photos, AI-generated backgrounds, or Pexels stock imagery using six distinct layout styles.

    What it does

    • Batch rendering generates multiple PNG ad creatives from a single YAML manifest.
    • Multi-source backgrounds supports local files, OpenRouter AI generation (Gemini), or Pexels stock photography.
    • Automated compositing overlays copy, badges, and CTAs using professionally designed layout templates (Square and 4:5).
    • Policy linting blocks the render when copy contains phrases that commonly get Meta ads rejected (insurance, credit/income and health claims by default; an optional second-person rule). The lists live in an editable policy.yaml.
    • Style variations provides six distinct looks ranging from "Editorial" serif layouts to high-contrast "Highlighter" tabloid styles.
    • Scene-led ads (style H) put the copy INTO the photo: neon on a night wall, chalk on a slate, ink on sunlit plaster, gold leaf on shop glass, anchored to the surface you measure in the render.

    How it works

    1. Configure a YAML file defining your output directory, copy blocks, and creative variants.
    2. Execute the generator script via Node.js, passing your YAML file as the primary argument.
    3. Review the rendered PNGs and the manifest.json file which tracks the provenance of every asset.
    4. Audit the outputs with the optional Python QA scripts: contact sheet, dead-space and tiny-type check, clipped-cutout check, copy coverage and contrast zones.

    Frameworks & tools

    This tool is built with Node.js and Playwright for headless browser rendering. No key is needed with your own background images; AI backgrounds need an OpenRouter key and stock photos a Pexels key, while the optional QA suite utilizes Python 3.9, Pillow, and NumPy.

    Why this beats prompting it yourself

    Standard prompting often results in garbled text or inconsistent layout positioning that violates platform rules. This skill enforces strict typographic hierarchy and safety linting while allowing you to iterate on copy across dozens of variants without re-generating the underlying artwork.

    Use cases

    • Generating A/B/C variants of a single ad angle for rapid testing.
    • Creating 4:5 brand composites with product cutouts and logos.
    • Turning one product shoot or a set of AI scenes into a campaign where every ad uses a different device, not the same photo-plus-box template.
    • Scaling creative production for local businesses using stock or AI scenes.

    Known limitations

    The policy lint is English-only and cannot read text baked into images. Layouts are optimized for macOS system fonts; Windows and Linux users must manually install specific Noto fonts for identical results.

    English-only linting. Requires Node 20+ and Playwright. Tested on macOS; on Linux or Windows install the fonts the looks use (Noto fonts work), or type will look different. AI backgrounds need an OpenRouter key and cost per image.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Requires

    Openrouter
    Pexels
    playwright
    Node.js
    Python

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    openrouter.ai
    api.pexels.com

    Runs Node and a headless Chromium (Playwright) to render ads. Reads your batch YAML and background images; writes PNGs and manifest.json to the batch's out folder. Network is only used for optional AI backgrounds (openrouter.ai, with OPENROUTER_API_KEY), optional stock photos (api.pexels.com, with PEXELS_API_KEY) and the Google Fonts file that style R loads. Keys are read from the environment and sent only to their own service.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    You write the copy once in a YAML batch and render it in up to six looks, across as many angles as you list. Changing a headline means re-running the batch, not redesigning cards, and every render records its provenance in manifest.json.

    The Node.js renderer (Playwright), six layout styles, an editable policy.yaml for the copy lint, references for the YAML schema and the scene-led style, five example batches (including the full Northbeam showcase from the demo, with its six Gemini backgrounds bundled so it renders with no key), and six optional Python QA scripts.

    While AdSmith can generate its own backgrounds via OpenRouter or Pexels, you can also use your own local product photography or existing brand assets by referencing them in the YAML configuration.

    Copy renders in any language your fonts cover, but the layouts are tuned and tested for English, and the policy lint reads English only. Have a native speaker check any other language before it ships.

    AdSmith requires Node.js for the core rendering engine and Playwright for headless browser compositing; an OpenRouter or Pexels API key is necessary only if you wish to use their specific background generation features.

    Before anything renders, every copy string is checked against phrase lists that commonly trigger Meta rejections: insurance and eligibility wording, credit and income promises, and health or body claims. A hit stops the run and names the phrase; lint_allow lets you approve a deliberate exception. An optional second-person rule covers the personal-attributes policy. It reduces risk; it does not guarantee approval.

    New in Marketing & SEO