How It Works
Claude Code uses an agentic loop: you describe a task, it reasons about what to do, calls tools, reads results, reasons again, and repeats until done. When your task involves advertising, Claude Code spawns the Adspirer agent to handle it.What Happens When You Ask About Ads
You say: “Create a Google Search campaign for my SaaS product”- Claude Code recognizes this as an advertising task
- Spawns the performance marketing agent as a subagent
- Agent reads
CLAUDE.md(brand context),STRATEGY.md(directives),MEMORY.md(past decisions) - Follows the skill workflow: connection check → competitive research → keyword research → asset validation → campaign creation → ad extensions → verification
- Each step calls Adspirer MCP tools (
research_keywords,create_search_campaign, etc.) - Agent asks for your confirmation before spending
- Results return to your main Claude Code session
What Gets Installed
The Adspirer plugin gives Claude Code everything it needs:/plugin, open the Discover tab, and search adspirer. Installs everything in one step. Run /reload-plugins after installing.
Skills & Slash Commands
Skills are instruction files that teach Claude Code the right workflow for using Adspirer’s 400+ tools. Without skills, the AI guesses which tools to call and in what order. With skills, it follows proven advertising workflows with safety rules baked in.How Skills Load
- Skill descriptions are always in context — Claude Code knows what’s available
- Full skill content loads when invoked (by you or automatically)
- The agent preloads the skill when spawned, so it starts with complete workflow instructions
One Comprehensive Skill
Claude Code uses 1 skill (ad-campaign-management) covering all platforms and workflows. This differs from Cursor and Codex which split into 5 separate skills — Claude Code consolidates because its plugin system handles slash commands separately.
The skill includes:
- Workflow routing: maps your request to the right tool sequence
- Platform-specific campaign creation flows (Google, Meta, Amazon, ChatGPT Ads, LinkedIn, TikTok)
- Keyword research with strategy directive filtering
- Cross-platform performance analysis
- Budget optimization and wasted spend detection
- Ad extension workflows (sitelinks, callouts, structured snippets)
- Competitive intelligence using web research
- Safety rules: confirmation gates, PAUSED creation, read-before-write
Slash Commands
Cross-platform performance review with strategy alignment.
Sign up for Adspirer — free to start
Context Files
The agent uses three persistent files to maintain brand awareness across sessions.CLAUDE.md — Brand Context
Created by/adspirer:setup. Claude Code reads this automatically at session start.
STRATEGY.md — Strategic Decisions
Persists directives across sessions. Every skill reads this before executing.MEMORY.md — Past Decisions
Tracks campaign actions, optimization results, your preferences, and key learnings. The agent reads memory at session start and cross-references it during analysis.The Agent Loop: Step by Step
Here’s exactly what happens when you run/adspirer:performance-review:
Agent spawns
Context loads
CLAUDE.md, STRATEGY.md, and MEMORY.md.Connections check
get_connections_status to identify which ad platforms are active.Data pull
Strategy check
STRATEGY.md directives. Flags “Strategy Drift” items.Analysis & recommendations
MEMORY.md. Presents a unified scorecard with top 3 recommended actions.Web Research
The Claude Code agent has access toWebSearch and WebFetch — it can research competitors, crawl websites, and gather market intelligence. This powers the Campaign Research workflow that runs before any campaign creation:
WebFetchcrawls your website and competitor sites for positioning, pricing, value propositionsWebSearchfinds competitors, comparison content, and market data- Combined with Adspirer data (search terms, keyword volumes), the agent creates a research brief before building your campaign
Safety Rules
Comparison with Other Clients
FAQ
How is the agent different from just using MCP tools?
How is the agent different from just using MCP tools?
Can I customize the agent prompt?
Can I customize the agent prompt?
~/.claude/agents/performance-marketing-agent.md to change behaviors, add workflows, or modify interaction style. The source is in the ads-mcp repo.Does the agent use my main context window?
Does the agent use my main context window?
Can I run the agent in the background?
Can I run the agent in the background?
What model does the agent use?
What model does the agent use?
model field.Related Documentation
- Cursor Agent — How Adspirer works in Cursor
- Codex Agent — How Adspirer works in Codex
- Performance Marketing Agent — Architecture overview
- Skill Reference — All 5 skills with invocation details
- Claude Code Setup — Installation guide

