Claude-Code-Marketing-Skills-Routines

How my Claude Marketing setup spies on competitors and makes better ads

Claude marketing skills have been getting better every week now.

For the last few weeks, I have been experimenting with an idea.

What if Claude studied my competitors, used skills and produced ads?

I went one step further. What if it did all of it on its own, almost on autopilot?

I know the hype around AI automation – so I decided to do all the work manually with Claude, before automating it. So today I am teaching you how to setup Claude so that

  • It studies your competition’s social media feeds
  • Uses your brand knowledge and creates better designs.
  • Then writes copy for those designs.
  • Runs everything on a schedule, every day/week.

This post is the entire system, start to finish. Every prompt I actually used is in here, word for word. The skills and routines that hold it together.

The full video below shows the entire setup, from the competitor research to the finished ads.

The roadmap

Claude-Code-Marketing-Skills-Routines

There are four steps here.
1. Set up Claude Code properly.
2. Connect ChatGPT’s image model inside it – almost nobody teaches this part right.
3. Generate the actual creatives, images and copy.
4. Then turn the whole thing into a skill, and the skill into a routine, so it runs without you.

The example

Claude-Code-Marketing-Skills-Routines

We’ll use a hypothetical company here called “Run Ready”

It makes running shoes for aspirational and experienced runners. It’s launching a new collection called “Blaze”

Note : Here are all the skills and routines used in this post.
You can direclty copy paste them in your Claude.

Part 1 : Setting up Claude Code

Before we setup Claude Code ( don’t worry, you don’t need to know a single line of code for this), it is important to understand three major concepts.

These are Prompts, Skills and Routines.

Claude-Code-Marketing-Skills-Routines

Prompt – a one-time ask. “Write me a headline.” One output, done.

Skill – a saved set of instructions. Write it once, Claude repeats the exact process every time.

Routine – a skill ( + tasks) on a schedule. Runs without you asking at all.

Claude-Code-Marketing-Skills-Routines

Here are some other core components for the Claude Code interface


1. Open the Claude desktop app (not the browser)
2. Click Code, top left Customize ? every skill you build Routines (under More)
3. In the chat section, see the “+” button Auto mode ? Claude stops asking permission for every small step

4. Slash command (/) ? your shortcut to call any skill instantly

5. One local folder ? point Claude at it once. Mine is RunReady-ClaudeCode. Brand info, images, skills – all of it lives there.

Setting up the brand folder

We’ll keep 3 folders here, that will tell everything to Claude about our brand

Claude-Code-Marketing-Skills-Routines

1. Brand context -product, audience, pricing, personas, and a full competitor breakdown (Nike, ASICS, Adidas — what each stands for, why people buy)

2. Examples — ad creative styles I like, scraped from the Facebook Ads Library

3. Marketing outputs — starts empty, every finished asset lands here

One thing that changed everything: I wrote a plain text file explaining each reference image, alongside the image itself.

Claude-Code-Marketing-Skills-Routines

Claude can see an image. Explain it in writing too, and its understanding jumps – it stops seeing “a shoe ad” and starts understanding why it works.

Creating working instructions for Claude

I also prompted Claude to create a set of instructions for itself.

Why? So that every time it starts a new chat, it knows the context and how to go about my brand.
This was the prompt I gave it

I want you to create a working instructions file for yourself, so every time
I start a new chat in this folder, you understand my brand, my folder
structure, and how to navigate all of it.

Part 2 : The secret hack : ChatGPT’s image model in Claude

Claude-Code-Marketing-Skills-Routines

Claude is not good at generating images.
But ChatGPT’s image models are genuinely excellent.

So I use both. Claude runs the system and understands the brand. ChatGPT – through something called Codex-generates the pictures.

ChatGPT installation steps ( in Claude Code)

Step 1: Install Git

Codex works best inside a Git project.

Windows

Open PowerShell and run:

winget install --id Git.Git -e --source winget

Close and reopen PowerShell, then check:

git --version

macOS

Git may already be installed. Check:

git --version

If macOS asks to install the Command Line Developer Tools, approve it.

Step 2: Install Node.js and npm

Node.js includes npm, which we’ll use to install Codex.

Windows

Run in PowerShell:

winget install --id OpenJS.NodeJS.LTS -e

Close PowerShell, open a new window and check:

node --version
npm --version

macOS

If you use Homebrew:

brew install node

Otherwise, download the LTS installer from nodejs.org.

Then check:

node --version
npm --version

Both commands should return version numbers.

Step 3: Install Codex

The command is the same on Windows and macOS:

npm install -g @openai/codex

Confirm that it worked:

codex --version

You should see a Codex version number.

Step 4: Create your working folder

Create a folder on your Desktop called:

AI-Images

This folder will hold your reference images and generated files.

To open it in the terminal:

  1. Type cd followed by a space.
  2. Drag the AI-Images folder from your Desktop into the terminal.
  3. Press Enter.

Now initialize it as a Git project:

git init

Create two folders inside it:

mkdir references
mkdir generated-images

Your folder should look like this:

AI-Images/
??? references/
??? generated-images/

Step 5: Sign in to Codex with ChatGPT

While the terminal is inside the AI-Images folder, run:

codex

On the first launch:

  1. Select Sign in with ChatGPT.
  2. Sign in through the browser.
  3. Use the ChatGPT account that has your Codex access.
  4. Return to the terminal after approving the connection.

Do not choose API-key authentication if you want to use your ChatGPT subscription instead of separately billed API usage.

Inside Codex, run:

/status

This confirms which account and authentication method Codex is using.

Step 6: Check that ImageGen is available

Inside Codex, run:

/skills

Look for:

imagegen

You can invoke it directly by typing:

$imagegen

If imagegen is missing, exit Codex and update it:

npm install -g @openai/codex@latest

Restart the terminal and check /skills again. If ImageGen is still unavailable, do not continue with this method. Avoid using an API fallback unless you are willing to pay separate OpenAI API charges.

Step 7: Test image generation in Codex

Paste this into Codex:

Use $imagegen to create a simple 16:9 marketing graphic.

Use a warm cream background, emerald-green arrows and subtle yellow highlights. Do not add logos or watermarks.

Use the built-in image-generation tool. Do not use an OpenAI API key or an API-based fallback.

Save the final image inside the generated-images folder as codex-test.png.

Now check for:

AI-Images/generated-images/codex-test.png

If the image appears, Codex and GPT Image 2 are working correctly.

Exit Codex by entering:

/exit

Because I already pay for ChatGPT Plus, there’s no extra cost. No API key, no per-image billing.

Here’s how to install Codex ( ChatGPT’s code agent) in your computer.

Teaching Claude to use the ChatGPT Image Model

Claude-Code-Marketing-Skills-Routines

I then prompted Claude to always use the ChatGPT image model when creating any future images.

This is the prompt :

I have Codex CLI installed and signed in with my ChatGPT account. Whenever I ask you to generate an image, prepare a clear brief, call Codex through the terminal, use its built-in image tool, and never use an API key. Save every image in Marketing Outputs, and confirm the file exists before telling me it’s done. Save this as CLAUDE.md so you remember it automatically.


I teach AI Marketing to 5000+ marketers & founders

Growth-Marketing-Newsletter-AI-Marketing

If you like what you’re reading, you clearly care about growth marketing & AI marketing .

That is exactly what I teach. Over 12 years in this space, more than 100 clients, across five continents.

Want the exact prompts, skills, and templates I used here? That is what I share in my newsletter every week. Come join us.


Part 3 : Generating the ad creatives

I never ask Claude to invent an ad from nothing. I point it at a reference I actually like, and ask it to reinterpret that for RunReady.

Design an image of the Blaze running shoe in the style of ad 3 in the ad examples folder. Vertical format, suitable for Instagram Stories.

Claude-Code-Marketing-Skills-Routines

Two things worth noticing in the results:

  • My brand context already told Claude who the customer is, so it cast Indian runners without me asking twice. That’s the gap between generic ai creatives and ones that actually convert — the system already knows your audience.
  • They don’t read as obviously AI-made. No supermodel skin, no uncanny hands. They look like real ai ugc ads someone actually shot. That authenticity does most of the heavy lifting.

Once I had eight solid concepts, I wanted to put them on a dashboard where I can see them at once.

Building a review dashboard

Here is the prompt for building the dashboard

Package all 8 generated Blaze concepts into a single interactive HTML dashboard. Add a grid layout, live grading sliders for brightness, contrast, saturation and warmth, a checkmark to favorite each image, and one-click
download to my local folder.

Claude-Code-Marketing-Skills-Routines

Turning it into a skill

Everything above, I did by hand. Once. On purpose.

Claude learns what “good” looks like by watching real decisions — not from a vague brief up front.

It is time to tell Claude to save all this as a skill.
This was the prompt

I now want to turn all of this into a skill. It should study the ad templates and their text explanations, generate a new image per template, and build that same dashboard artifact. Save it as a skill.md file, and
tell me how to install it in Claude Code.

You can find the ad dashboard skill at the start of this post.

Setting up a routine

Claude-Code-Marketing-Skills-Routines

It is time to turn all this into a routine.

A routine runs on its own, uses a set of skills and creates these ad designs.

This is the prompt for setting up the routine

Every day, check the ad creative examples folder for anything new, then run the ad-concept-dashboard skill to generate fresh ad concepts and rebuild the review dashboard.

Claude-Code-Marketing-Skills-Routines

What happens next, on its own:

  • Checks for new references
  • Generates the images
  • Builds the dashboard
  • Waits for me to pick favorites

It’s one of the more genuinely useful ai marketing agentic capabilities I’ve built — it doesn’t try to do everything. It does one job well, then stops and waits for a human.

Part 4 : Writing the ad copy

Claude-Code-Marketing-Skills-Routines

It is time to write some magic words and make these ad designs really sell.

Here is the prompt I gave for Claude to look inside my folders where it had earlier generated the ads

Look inside Marketing Outputs and find the most recently dated folder. Using the ad-creative copywriting skill and our brand context, draft 2 to 3 on-image copy options for each design, and show how each would sit on it.
Wait for my approval before applying anything.

It gave me a bunch of ‘text on image’ options that I could choose from.
I chose the one I liked the most.

Claude-Code-Marketing-Skills-Routines

It was now time to turn this manual learning into a skill

Create a skill that locates the newest images, drafts copy, waits for my approval, applies the text, and builds an Excel sheet with 2 caption options and 5 headline options per design.

You can find the link the creative at the top of this post.

And ofcourse, we finally turned this into a routine as well.

Two routines, not one

Claude-Code-Marketing-Skills-Routines

My first instinct was to merge image generation and copywriting into one giant automated routine.

Glad I didn’t.

  • Routine 1 – generates images only, then stops and waits for me to pick favorites
  • Routine 2– picks up only what I’ve downloaded, runs the copywriting skill on those

I teach AI Marketing to 5000+ marketers & founders

Growth-Marketing-Newsletter-AI-Marketing

Psst… a quick interruption here.
If you’re a marketer or founder levelling up to the top 1% of AI growth professionals, I’d highly recommend joining the newsletter.

I’ve worked with 100+ clients over the last 12 years on all 5 continents.

I teach AI in marketing, growth marketing and frameworks that work on the ground.

Consider joining 5000+ readers of The Growth Pulse Newsletter.

Copyright © 2025 Shivankit Arora

Free Course: Your AI Marketing System in 5 Days

5 day email course. You get 1 email/day that teaches how to build an AI command center for marketing, run agents for content, design and automate everything.

Free Course: Your AI Marketing System in
5 Days

5 daily emails to build your AI marketing command centre: content, design and automation.