Marketing Skill Store

How-to guides

How to write a marketing skill your AI agent will follow

By Marketing Skill Store team6 min read

Illustration of a notepad with a checklist, a pencil and three stacked blocks like steps

To write a marketing skill your agent will follow, give it one job, a description that says when to use it, a list of inputs to ask for, numbered steps with clear rules, a fixed output format and quality checks. Then test it on real inputs and fix what breaks. The steps below take you from a method in your head to a skill file you can reuse and share.

If you are new to skills, start with what an AI agent skill is, then come back.

What you need

  • A job you already do well and repeat, such as a weekly search terms review.
  • One or two real past examples: the input you started with and an output you would be happy to send.
  • A text editor. Skills are plain Markdown.
  • An assistant to test in, such as Claude, ChatGPT or Gemini.

Step 1: Pick one job

The most common mistake is a skill that tries to do everything. A “paid search helper” covers audits, ad copy, bids and reporting, and the agent cannot tell which method applies. Split it. One skill reviews search terms. Another writes responsive search ads. A third audits the account.

A quick test: can you describe the input and the output in one sentence? “Takes a search terms export and returns negative keywords with match types and reasons.” If you need “and also” twice, you have two skills.

Step 2: Write a description that names the triggers

In Claude, the agent sees only the name and description of a skill until it decides to load it. So the description does two jobs: it says what the skill does and when to use it. Anthropic’s skill authoring guide recommends writing it in the third person and including the key terms people will use.

Here is a hypothetical example:

---
name: blog-refresh-picker
description: Reviews a list of existing blog posts with traffic data and recommends which to update, merge or retire. Use when the user shares a content inventory or a Search Console export, or asks which old posts to refresh.
---

Keep name to lowercase letters, numbers and hyphens, up to 64 characters. Keep the description under 1,024 characters. A vague description such as “helps with content” gives the agent nothing to match, so the skill rarely loads.

Step 3: List the inputs and tell the agent to ask

Most weak outputs come from missing context. Add a “Before you start” section that lists exactly what the agent needs and in what format.

## Before you start

Ask the user for anything missing from this list. Do not guess.

1. The search terms report (CSV or pasted table) with search term, campaign, clicks, cost and conversions.
2. Two or three sentences on what they sell and what they do not offer.
3. Their target cost per conversion, if they have one.

Mark which inputs are required and which are optional. Say what the agent should do if a column is missing or the file is very large.

Step 4: Write numbered steps with rules

Write the method in the order you do it. Each step should be something you could check afterwards. Where you make a judgment call, write down the rule you use.

  • Weak: “Find wasteful search terms.”
  • Strong: “Sort terms by cost, highest first. Review terms until you have covered at least 90% of spend. Mark a term irrelevant only if it cannot become a customer: wrong product, job seekers, free seekers or wrong location.”

Rules worth writing down in marketing skills:

  • Thresholds. If you ignore terms with fewer than 10 clicks, say so. If the right threshold depends on the account, tell the agent to ask.
  • Benchmarks. Do not ask the agent for “typical” click-through or conversion rates. Tell it to ask for the user’s own targets, or to say plainly that ranges vary by industry.
  • Live data. If a step needs a live page, write “If you can browse, open the page. If not, ask the user to paste the content.”
  • Decisions you keep. List what the agent should flag for a person to decide, such as pausing a campaign or cutting a budget.

The authoring guide makes a related point: match how specific you are to how fragile the task is. Loose guidance suits judgment work. Exact steps suit anything that must be done the same way every time.

Step 5: Fix the output format

Tell the agent the exact sections, in order, and the columns for each table. A fixed format makes outputs comparable from week to week and quicker to check.

## Output format

**Summary**: date range, rows reviewed, total cost and cost on irrelevant terms. Two or three sentences.

**Negative keyword lists**: one table per theme with columns: Negative keyword, Match type, Level, Cost blocked, Reason.

**Needs a decision**: a table with columns: Search term, Cost, Conversions, Why it is unclear.

If the output goes into another tool, such as Google Ads Editor or a spreadsheet, add a copy-ready block in that tool’s format.

Step 6: Add quality checks

End with a short list the agent must verify before it answers. These catch the errors you would otherwise have to catch yourself.

  • No invented rows, numbers or columns.
  • Totals add up to the figures in the summary.
  • Every recommendation has a reason a person can read in one line.
  • The currency and date range match the input.
  • Nothing proposed breaks a rule the user stated.

Step 7: Test it with real inputs

Run the skill on real past inputs, ideally ones where you already know the right answer. Anthropic’s guide suggests building at least three test scenarios and comparing results with and without the skill. A useful set:

  1. A normal case.
  2. A messy case, such as missing columns, an unusual currency or a very large file.
  3. An edge case where the right answer is “I need more information”.

Read each output against your own result. When the agent gets something wrong, find the step that allowed it and make that rule clearer. If you plan to use the skill in several assistants or models, test in each one, because a smaller model may need more detail than a larger one. Our guide on how to test an agent skill covers this in more depth.

Step 8: Version it

Skills change as platforms and your own methods change. Keep a version number and a short note of what changed, in the file or next to it.

  • Start at 1.0.0. Bump the last number for wording fixes, the middle number for new steps or checks, and the first number when the output format changes.
  • Keep one master copy. Installed copies in different tools do not update each other.
  • Leave out details that will date quickly. The authoring guide advises keeping time-sensitive information out of skills.

Common problems and fixes

  • The skill never loads. The description is too vague or uses words your users do not. Add the phrases people actually type.
  • It loads for the wrong job. Two skills have overlapping descriptions. Narrow each one to its own input.
  • The agent skips steps. The key rule is buried or the skill is too long. Put each rule in the step where it applies. Anthropic suggests keeping the SKILL.md body under 500 lines, and most marketing skills need far less.
  • Output drifts between runs. The output format leaves too much room. Name every section and every column.
  • The agent guesses missing data. Make the “Before you start” section firmer and add a quality check that bans invented numbers.

What to do next

Read a finished skill to see the full pattern. The search terms negative keyword finder and the editorial style checker both follow the structure in this guide: before you start, steps, output format and quality checks. When your skill is ready, install it with the install guide for Claude, ChatGPT and Gemini.

Once it has worked on real inputs, you can submit your skill to Marketing Skill Store so other marketers can use it too.

FAQ

Questions readers ask

How long should a marketing skill be?

Most work well between 400 and 1,200 words. That is enough for inputs, steps, an output format and checks. If a skill grows much longer, it may be doing more than one job, or it may need a separate reference file for details the agent only needs some of the time.

Should the skill speak to the agent or about it?

Write the body to the agent in the second person, such as 'You review a search terms report'. Write the description in the third person, such as 'Reviews a search terms report', because Claude reads descriptions as part of its system prompt when it decides which skill to load.

Can I ask an AI assistant to write the skill for me?

Yes, and it is a good place to start. Work through the task once with the assistant, then ask it to turn what you did into a skill with the sections in this guide. Cut anything the agent already knows, then test the result on real inputs.

Can a skill include files other than the instructions?

Yes. A skill folder can hold reference documents, templates, examples or scripts. Point to each file from the main instructions so the agent knows when to read it. For most marketing skills, one well-written file is enough.

What makes a skill good enough to share on Marketing Skill Store?

It does one job, works with only its own text and real inputs, and lists its limits honestly. Test it on at least two real cases first. You can then send it to us through the submit page.

About the author

Marketing Skill Store team

The Marketing Skill Store team writes, reviews and maintains the skills and guides on this site. We are marketers and builders who use AI agents for ads, SEO and reporting work every week, and we publish the full text of every free skill so you can read it before you use it.

Skills from this guide

Free to read, copy and install.

Paid adsFree

Search terms negative keyword finder

Reads a Google Ads search terms export and returns negative keyword lists with match types, reasons and the spend at stake.

Claude, ChatGPT, Gemini, Any agentBeginner

ContentFree

Editorial style checker

Checks a draft against your style guide and returns line-level edits, each tied to the rule it breaks, plus a short summary.

Claude, ChatGPT, Gemini, Any agentBeginner

SEOFree

SEO content brief builder

Turns one target keyword into a writer-ready brief with intent, angle, H2 and H3 outline, questions, entities and internal links.

Claude, ChatGPT, Gemini, Any agentBeginner

Keep reading