All Agent Workflows use cases
📊
Agent WorkflowsCodexMeta AdsPerformance Marketing

Review Meta Ads Performance With Codex and Soku CLI

Connect Codex to Meta Ads reporting through Soku CLI, compare campaign and creative performance, identify fatigue and CPA changes, and return a read-only optimization brief with evidence.

Best for

Performance marketers who work in Codex and need a fast, reproducible Meta Ads review grounded in account data instead of screenshots.

Access mode

Read-only analysis

No connected account changes.

The prompt

Read https://soku.ai/cli/skill.md and connect Codex to my Soku workspace. Use the Meta Ads reporting commands and the ads-report and audit-creative skills to compare the last 14 days with the previous 14 days. Produce a read-only brief covering CPA, ROAS, delivery, creative fatigue, and budget anomalies. Safety boundary: do not change connected accounts or publish content. Use read commands only, and return proposed actions for a human to review separately.

Paste this into Claude Code, Codex, Cursor, or another shell-based agent. It will pause when browser approval or a human review is required.

What you will get

Codex returns a period-over-period Meta Ads performance brief with campaign anomalies, creative-fatigue evidence, and recommended decisions that remain proposals until a human chooses to act.

  • A two-period Meta Ads performance comparison with cited metrics
  • A creative-fatigue and budget-anomaly decision list without account changes

Before you start

  • A Soku workspace with a connected Meta Ads account
  • Codex running in a shell with Node.js 20 or newer

Works with

Meta Ads

Run it with Soku CLI

  1. 1

    Install and authenticate

    Use the agent-safe device flow, then resume after the user approves in the browser.

    npm i -g @soku-ai/cli && SOKU_NO_KEYCHAIN=1 soku auth login --no-wait
  2. 2

    Confirm the Meta account

    Discover accessible Meta accounts and have the user resolve ambiguity before analysis.

    soku ads list-ad-accounts --platform meta
  3. 3

    Compare performance windows

    Query campaign and creative dimensions for both periods and apply the same decision rules to each row.

    soku skill install ads-report audit-creative --global
  4. 4

    Deliver the brief

    Separate observed facts from recommendations and preserve the queried date windows in the report.

Safety boundary

Read only

The review uses reporting data only. Codex must not call mutations or approve pending reviews; any recommended pause, budget move, or creative replacement remains a human decision.

Related Soku skills: soku-ads-report, soku-audit-creative

More Agent Workflows use cases

Run This With Soku Today

Sign up free, connect your accounts, and send this prompt — Soku handles the rest.