Three AI skills to build before you ask AI for more ads

Before you ask AI for more ads, build three skills. A customer research skill that quotes your buyers' own words, a margin skill that works out your break-even ROAS from Shopify orders, and a retention skill that shows how many first-time buyers come back. Each one marks what it cannot prove.

Cosmic AI cover for the topic AI agents with limits you set: linked points, two of them ringed as checkpoints, lavender on dark purple.
The full walkthrough, 13 minutes 52 seconds. Customer research starts at 3:06, margin at 6:37 and retention at 9:58. Watch on YouTube.

Why build skills before you ask AI for ads?

Because ads are now the cheap part. Any AI tool will write fifty of them before lunch. What it cannot do on its own is tell you who is buying, whether each order leaves money after ads, or whether those buyers come back. Those three answers decide whether the next ad makes money, and an AI with no rules skips all three.

A skill fixes that by writing the rules down once. You save your process as a file, and the AI follows the same steps every time the job comes up. I built one for each of the three questions and ran all of them on Lululemon in the video above, using only public information.

This page is for the owner or growth lead at a Shopify brand who wants AI help with marketing and does not want it guessing with the budget.

What is an AI skill?

A skill is a folder with one text file in it, called SKILL.md. At the top sit two fields: a name, and a description that says what the skill does and when to use it. Below that are the instructions: your process, your rules, your examples, the things you would tell a new hire on their first day.

The Agent Skills documentation lists name and description as the two required fields. It also explains why you can keep many skills installed: the assistant reads only the names and descriptions until a request matches one, then opens that full skill. The folder can also hold reference files and small scripts.

Use a script for anything that has to be exact, like math. The assistant follows the plan and the script does the arithmetic, so the numbers come out the same every run.

You do not have to write the file by hand. Do the job once with your AI assistant, the way you like it, then ask it to turn what you just did into a skill. Run it again in a fresh session to see if it holds up. The skill authoring guide describes the same loop: build with one session, test in a new one, and bring what you saw back. When the skill gets something wrong, fix the skill file, not just that one answer.

Skill 1: who is actually buying from you?

Ask an AI to "write me an ad" and it has no idea who it is talking to. You get an ad that could belong to any brand. Swap the logo and nothing changes.

People buy their way out of a problem they already feel, and most of them have already written that problem down somewhere you can read. A customer research skill reads those places first:

  • Your product reviews, good and bad.
  • Your support tickets.
  • Your sales call notes.
  • Reddit threads in your niche.
  • Your competitors' one-star and three-star reviews.

The three-star reviews matter most. That buyer wanted to love the product and wrote down exactly why they could not.

When I ran mine on Lululemon, I gave it one line: research the brand, run the customer research skill, and tell me who the ideal customer is based only on what you find. It came back with a table. Each pain, the customer's exact words, how often it shows up, and how aware the customer is of the problem.

The skill tags every line proven or guess. Anything it cannot back with a source is marked as a guess, and it says so. That rule is there because an AI will happily invent a pain point that sounds right. For more on keeping an assistant inside its sources, see how to reduce AI hallucinations.

Try it today without building anything. Pull twenty of your reviews, good and bad, add five competitor three-star reviews, and paste this:

Group these reviews by the problem the customer had before they bought. Quote their exact words. Count how often each problem shows up. Then write three headlines using only their words, and tell me which review each one came from.

Every headline has to point back to a real customer, so you can check each one in a minute.

Skill 2: does each order leave money after ads?

Your ad dashboard can say you are winning while Shopify says something else. Ad platforms count the sales they credit to themselves, and ROAS ignores everything that happens after the click.

A margin skill uses Shopify net sales as the ruler and builds margin in three layers:

LayerWhat comes outWhat is left
1Landed product cost, freight and duties includedGross profit per order
2Shipping, packing, payment fees and returnsWhat the order leaves before marketing
3Ad spendWhat the order leaves after marketing

Your break-even ROAS is 1 divided by the layer 2 margin. For example, if 40% of each order is left after layer 2, you break even at a ROAS of 2.5. A dashboard ROAS of 3 is a small profit at that margin, and a loss if your real margin is thinner than you think. The full method is in break-even ROAS, and the layers are explained in the contribution margin formula.

Discounts need the same math. As an example, at a 50% margin a 20% discount leaves 30 cents of every original 50, so you need about 67% more sales to keep the same profit, not 20% more.

Big brands watch this number too. Lululemon's gross margin fell from 59.2% to 56.6% in fiscal 2025, according to the company's full year results release and its annual report filing.

The skill follows a few hard rules. It judges the next dollar of spend against the break-even line, not the average. It suggests budget moves of about 20% at a time. It refuses to make a call when too many orders are missing a product cost, and names the missing data instead. And it never changes a budget itself; it recommends and you decide.

The prompt to try today: export last month's orders and your ad spend, paste both, and type this:

For each order, subtract product cost, then shipping, payment fees and returns, then ad spend. Show my margin after each step. Then divide one by my margin after shipping and fees, and tell me my break-even ROAS.

If you do not know your product cost, that is your first job, before another ad.

Skill 3: do the customers you paid for come back?

When you pay for ads, the first order often barely breaks even. The profit shows up on order two and three. So the third skill asks one question first: what share of first-time buyers place a second order, and how many days does it take?

It never uses one blended repeat rate. It groups customers by the month they first bought, because your oldest customers have had years to come back and they make a weak recent month look fine. Repeat purchase rate covers why the blended number misleads.

From there the skill sets follow-up timing from your own data. If your customers usually reorder around day 40, the reminder goes out before day 40. It also looks for a quiet leak: repeat customers who only ever buy with a discount code. Those buyers were trained to wait for a deal, and every code they use comes out of your margin.

The prompt to try today: export your orders with customer IDs and paste this:

Group my customers by the month of their first order. For each month, tell me what percent placed a second order, and the median days between order one and order two. Then list my repeat customers who only ever buy with a discount code.

That second list is where margin leaks out without anyone noticing.

How do the three skills work together?

They run in order. Customer research tells you who you are talking to and what they are really buying. The margin skill tells you whether selling to them makes money after ads. Retention tells you whether they come back, which is where the money from the first order shows up.

Skip the first and your ads talk to nobody. Skip the second and you can scale spend that loses money on every order. Skip the third and you pay to win the same customer twice.

I packed all three into one free folder: the growth-loop skill. It has the instructions, the three references and a small script that does the arithmetic, so the margin and discount numbers come out the same every time. No sign-up. It recommends, it marks guesses, and it stops when data is missing.

Frequently asked questions

What is an AI skill for marketing?

It is a folder with a SKILL.md file that holds a name, a description of when to use it, and your instructions for one marketing job. The assistant reads the description, and when your request matches, it follows those instructions every time instead of starting from a blank prompt.

Which AI skill should a Shopify brand build first?

Start with margin if you do not know your break-even ROAS, because every ad decision rests on it. If you already know your margin, start with customer research, since ads built from your customers' own words are the ones a competitor cannot copy.

Can an AI skill change my ad budget on its own?

The free growth-loop skill does not. It recommends budget moves of about 20% at a time and leaves the change to you. Any tool that moves budget should do it only inside limits you set, and stop when the data it needs is missing.

What data do the three skills need?

Customer research needs reviews, ideally with competitor three-star reviews, plus support tickets or call notes if you have them. Margin needs an orders export, ad spend and landed product cost. Retention needs an orders export with a customer ID, the order date and any discount code used.

Follow a number from its source to your agent.

Explore the commands for connecting a source, checking it and handing a monthly result to your agent.

Cosmic AI is one desktop app where a lead agent and its specialists do the marketing work for a Shopify store. Each figure is checked against its source, and agents act on their own inside limits you set.

Book a callExplore the CLI commands

Get Jake's AI newsletter

Three short emails a week with the AI news that matters for running or building a business. Every item links to its source.

I'll try to point you to something useful for it in your first email. No passwords or keys.

You will get Jake's newsletter and occasional Cosmic AI news. Unsubscribe in one click from any email. Privacy