Official agent skill

Paid Media Analysis

by langchain-ai in langchain-ai/paid-media-agent

Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms.

OfficialApache-2.0Auto-check passedMarketing & SEO

Install Paid Media Analysis

skills CLI
$ npx skills add langchain-ai/paid-media-agent --skill paid-media-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install langchain-ai/paid-media-agent paid-media-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/langchain-ai/paid-media-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/paid-media-analysis .claude/skills/paid-media-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
paid-media-analysis
GitHub stars
103
Token cost
~930 tokens
SKILL.md length
471 words
Files
2 (incl. references)
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms.

  • Works in 10 steps: Read /skills/company-context/SKILL.md… → Establish goal, account scope, entity… → Call list_accounts for aliases, then… → …
  • Tasks that involve Paid advertising
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Paid Media Analysis is an agent skill from langchain-ai/paid-media-agent, published by the product's own GitHub organization. Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/validation-checklist.md`).

It sits in Marketing & SEO, covering Paid advertising. It works with LangGraph. The repository describes itself as: Open-source paid media agent for Google Ads, Meta Ads, Reddit, LinkedIn, X, and OpenAI Ads: analysis, reports, and reviewed changes, built on Deep Agents. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Paid advertising

Example prompts

  • “/paid-media-analysis”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Read /skills/company-context/SKILL.md when present for this organization's goals, targets,
  2. Establish goal, account scope, entity grain, date window, comparison, timezone, and currency.
  3. Call list_accounts for aliases, then discover_tools with keywords. Never invent a tool name.
  4. Pull the smallest complete data using the performance/report tool returned by discovery, for
  5. Validate source coverage with references/validation-checklist.md.
  6. For pacing, anomalies, top spenders, or per-entity efficiency inside one window, call
  7. Read the analysis_summary. Quote its values verbatim; never recompute from previews or rows.
  8. Explain observation, business meaning, likely drivers, confidence, and next action separately.
  9. Include a measurement and reversal plan for any recommendation.
  10. Create a proposal only when the user asks to change provider state (see paid-media-writes).

What it can do on your machine

Read from SKILL.md and the folder at commit a4d59f2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Paid Media Analysis loads about 930 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 42 tokens; SKILL.md has 471 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~930
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from langchain-ai/paid-media-agent at commit a4d59f2, republished under its Apache-2.0 licence (© langchain-ai). 471 words, ~930 tokens.

Download SKILL.mdSave it as .claude/skills/paid-media-analysis/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
paid-media-analysis
description
Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms.

Paid-media analysis

Use this skill for performance questions, audits, comparisons, diagnosis, budget reasoning, and recommendations.

  1. Read /skills/company-context/SKILL.md when present for this organization's goals, targets, conversions, and naming. Ask for missing facts the analysis needs; do not guess. Then read /skills/paid-media-wiki/decision-model.md and the page the question calls for: benchmarks.md for "is this good", anomaly-and-significance.md for spikes and drops, bidding-and-budget.md for pacing or budget changes, platform-playbooks.md for a platform's grains and caveats, and answer-style.md before the final answer.
  2. Establish goal, account scope, entity grain, date window, comparison, timezone, and currency. Comparison windows must have the same day count; compare_periods rejects unequal windows. Resolve relative windows one way and say which: "last week" is the most recent complete Monday to Sunday week; "last N days" ends on the latest date the platform reports as complete (data_complete_through), not today; "this month" is the calendar month to date. When a platform's data ends inside the requested window, keep the requested window in the answer and name the missing days rather than silently shrinking it.
  3. Call list_accounts for aliases, then discover_tools with keywords. Never invent a tool name. Platform tools are named <platform>__<tool> and take account_alias, never a provider id. Pipeboard loads all tools exposed by its eight configured MCP servers. Search the live catalog; availability depends on connected accounts and host policy. GA4 uses property aliases.
  4. Pull the smallest complete data using the performance/report tool returned by discovery, for the union of both windows. get_campaign_performance is a fixture tool, not a universal live name. Go one grain lower only when the question needs it: get_ad_group_performance (ad sets, line items) or get_creative_performance where the platform exposes it; rows carry the parent campaign id. Run independent platform reads in parallel. Each read returns a compact read_result with an artifact_id, row count, actual window, missing fields, and flags. Native analytics and platforms without verified spend-unit mappings stay as provider_result artifacts. Do not pass them to spend comparisons or treat GA4 conversions as ad-attributed conversions.
  5. Validate source coverage with references/validation-checklist.md.
  6. For pacing, anomalies, top spenders, or per-entity efficiency inside one window, call summarize_window with the performance artifacts (and the list_campaigns artifacts for daily budgets); it returns per-entity totals, pacing, and a daily series with flagged days. For period-over-period change, call compare_periods with the artifact ids and both windows. List any failed read in unavailable_sources so it stays visible and suppresses the cross-platform total.
  7. Read the analysis_summary. Quote its values verbatim; never recompute from previews or rows. unavailable means missing, not zero.
  8. Explain observation, business meaning, likely drivers, confidence, and next action separately.
  9. Include a measurement and reversal plan for any recommendation.
  10. Create a proposal only when the user asks to change provider state (see paid-media-writes).
Show full SKILL.md (15 more words)Show less

Do not use universal performance thresholds. Use configured goals or label the analysis as directional.

© langchain-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in workspace/skills/paid-media-analysis of langchain-ai/paid-media-agent.

  • SKILL.md
  • references/validation-checklist.md

Open the folder on GitHubat commit a4d59f2

Compare with similar skills

Paid Media Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Paid Media Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Paid Media Analysis this skilllangchain-ai/paid-media-agent103—~930Automated safety check: PassApache-2.0
Ad CreativeLeoYeAI/openclaw-marketing-skills1k8 repos~3.4kAutomated safety check: PassCustom licence
Blog GoogleAgriciDaniel/claude-blog2.3k1 repos~3.3kAutomated safety check: NotesMIT
Ad Account Auditoraaron-he-zhu/aaron-marketing-skills2.9k2 repos~2.2kAutomated safety check: PassApache-2.0
Ad Creative Builderaaron-he-zhu/aaron-marketing-skills2.9k2 repos~2.2kAutomated safety check: PassApache-2.0
Ad Test Designeraaron-he-zhu/aaron-marketing-skills2.9k2 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • Ad Creative

    LeoYeAI/openclaw-marketing-skills

    When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform.

    1k GitHub starsUsed in 8 repos~3.4k tokens
    Marketing & SEOAuto-check passed
  • Blog Google

    AgriciDaniel/claude-blog

    Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…

    2.3k GitHub starsUsed in 1 repo~3.3k tokens
    Marketing & SEOAuto-check: notes
  • Ad Account Auditor

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when auditing a paid ad account for incremental contribution, wasted spend, or measurement integrity before scaling; runs a typed 20-item ROAS profile with verified vetoes…

    2.9k GitHub starsUsed in 2 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • Ad Creative Builder

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "write ad copy", "generate RSA headlines", or "build ad creative at volume"; produces ad units — RSA headlines/descriptions, hooks, and an angle matrix…

    2.9k GitHub starsUsed in 2 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • Ad Test Designer

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "design an A/B test", "set up a creative/landing test", "run an incrementality test", or "is this result statistically and practically material?"…

    2.9k GitHub starsUsed in 2 repos~2.8k tokens
    Marketing & SEOAuto-check passed
  • Paid Ads Audit

    AgriciDaniel/claude-ads

    Runs a source-grounded paid advertising audit across up to 12 ad platforms, with parallel platform workers, deterministic scoring and a versioned JSON bundle.

    9.9k GitHub stars~1.5k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed

More from langchain-ai/paid-media-agent

  • Paid Media Design

    langchain-ai/paid-media-agent

    Official

    Configure company branding or update report design, tokens, templates, and runtime design guidance.

    103 GitHub stars~960 tokensUpdated yesterday
    Auto-check passed
  • Paid Media Wiki

    langchain-ai/paid-media-agent

    Official

    The paid-media business wiki the other skills route to. An agent skill from langchain-ai/paid-media-agent.

    103 GitHub stars~570 tokensUpdated yesterday
    Auto-check passed
  • Report Design

    langchain-ai/paid-media-agent

    Official

    Apply company design rules to HTML reports, PDFs, and briefs.

    103 GitHub stars~564 tokensUpdated yesterday
    Auto-check passed
  • Paid Media Onboarding

    langchain-ai/paid-media-agent

    Official

    Install and configure Paid Media Agent, connect ad platforms, choose MDA or self-hosting, and diagnose setup without exposing credentials.

    103 GitHub stars~548 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Paid Media Analysis

What does Paid Media Analysis do?

Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms. Paid Media Analysis is an agent skill from langchain-ai/paid-media-agent, published by the product's own GitHub organization. Analyze paid-media performance, compare periods or entities, diagnose issues, and make evidence-backed recommendations across connected ad platforms.

When should I use Paid Media Analysis?

Paid Media Analysis fits situations like: tasks that involve Paid advertising.

How do I install Paid Media Analysis in Claude Code?

Run `npx skills add langchain-ai/paid-media-agent --skill paid-media-analysis -a claude-code`. Or copy the skill folder (workspace/skills/paid-media-analysis in langchain-ai/paid-media-agent) into .claude/skills/paid-media-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Paid Media Analysis in Codex?

Run `npx skills add langchain-ai/paid-media-agent --skill paid-media-analysis -a codex`. Or copy the skill folder (workspace/skills/paid-media-analysis in langchain-ai/paid-media-agent) into .agents/skills/paid-media-analysis in your project. Codex loads it when a task matches its description.

Can I use Paid Media Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langchain-ai/paid-media-agent --skill paid-media-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paid-media-analysis, .gemini/skills/paid-media-analysis, .github/skills/paid-media-analysis and .opencode/skills/paid-media-analysis in your project.

What does Paid Media Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Paid Media Analysis is instructions for the agent only.

Does Paid Media Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Paid Media Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Paid Media Analysis use?

Paid Media Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Paid Media Analysis use?

About 930 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 165 tokens, read only when the agent opens those files.

What are the alternatives to Paid Media Analysis?

Skills that share tags, products or a category with Paid Media Analysis: Ad Creative (LeoYeAI/openclaw-marketing-skills, 1k stars), Blog Google (AgriciDaniel/claude-blog, 2.3k stars), Ad Account Auditor (aaron-he-zhu/aaron-marketing-skills, 2.9k stars) and Ad Creative Builder (aaron-he-zhu/aaron-marketing-skills, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Paid Media Analysis?

langchain-ai (a GitHub organization, an official publisher) maintains it in langchain-ai/paid-media-agent, which has 103 GitHub stars. The repository was last updated on October 10, 2026.

Source: langchain-ai/paid-media-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.