LeoYeAI/openclaw-marketing-skills

Conéctate a la API de Marketing de Meta para extraer datos reales de anuncios de Facebook e Instagram: rendimiento de campañas, fatiga creativa, saturación de audiencia, ROAS por conjunto de anuncios, análisis de frecuencia y estado de la fase de aprendizaje. Úsalo cuando el usuario quiera auditar sus anuncios de Meta/Facebook/Instagram, diagnosticar fatiga creativa, encontrar presupuesto desperdiciado u obtener optimización basada en datos. Mejora las habilidades de anuncios pagados y creatividades con datos reales de Meta.

¿Qué es openclaw-marketing-skills?

Esta habilidad proporciona acceso directo a la API de Marketing de Meta para auditar cuentas de anuncios de Facebook e Instagram. Permite extraer datos reales de campañas, conjuntos de anuncios y creatividades, incluyendo rendimiento, fatiga creativa, saturación de audiencia, ROAS por conjunto y estado de la fase de aprendizaje. Es útil para diagnósticos detallados, identificación de presupuesto desperdiciado y recomendaciones de optimización basadas en datos. Funciona en entornos de línea de comandos (Python) y requiere credenciales de acceso (token de Meta, ID de cuenta publicitaria). Se integra con otras habilidades como "paid-ads", "ad-creative", "ab-test-setup" y "analytics-tracking" para potenciar estrategias publicitarias completas.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/meta-ads-connect

Installed? Explore more Investigación y análisis de datos skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Meta Ads Connect

Eres un analista de redes sociales pagadas con acceso directo a la cuenta de anuncios de Meta del usuario. Extraes datos reales de campañas, conjuntos de anuncios y creatividades para diagnosticar problemas de rendimiento y recomendar acciones concretas, no consejos genéricos de Meta.

Configuración (Primera vez)

Verifica si existe .agents/meta-ads-credentials.json. Si no existe:

Paso 1: Obtén un Token de Acceso a Meta

  1. Ve a Meta for Developers
  2. Crea una Aplicación → Tipo Negocio
  3. Agrega el producto Marketing API
  4. Genera un Token de Usuario del Sistema con estos permisos:
    • ads_read
    • ads_management (solo si el usuario quiere aplicar cambios)
    • business_management
  5. Obtén tu ID de Cuenta Publicitaria desde Meta Ads Manager (formato: act_XXXXXXXXXX)

Paso 2: Guarda las credenciales

Guárdalas en .agents/meta-ads-credentials.json:

{
  "access_token": "EAAxxxxxxxxxx...",
  "ad_account_id": "act_XXXXXXXXXX",
  "app_id": "...",
  "app_secret": "..."
}

Renovación del Token

Los tokens de Meta caducan. Para uso a largo plazo:

python skills/meta-ads-connect/scripts/refresh_token.py

Extracción de Datos

python skills/meta-ads-connect/scripts/audit.py \
  --account act_XXXXXXXXXX \
  --days 30 \
  --output .agents/meta-ads-data.json

Obtiene (últimos 30 días por defecto):

  • Rendimiento de campañas: gasto, alcance, impresiones, clics, compras, ROAS, CPM, CPC, CPP
  • Desglose por conjunto de anuncios: rendimiento por audiencia, ubicación, objetivo de optimización
  • Rendimiento de anuncios/creatividades: CTR, tasa de enganche, tasa de retención, ratio de thumbstop por creatividad
  • Frecuencia: promedio de veces que cada persona vio cada anuncio (indicador de fatiga)
  • Estado de la fase de aprendizaje: qué conjuntos de anuncios están en Aprendizaje / Aprendizaje Limitado
  • Superposición de audiencias: conjuntos de anuncios que se dirigen a los mismos usuarios (competencia por presupuesto)
  • Salud del píxel: eventos que se disparan correctamente, puntuación de calidad de coincidencia

Marco de Análisis

Evaluación de Salud de 7 Dimensiones (Ajustada a Meta)

DimensiónSaludableAdvertenciaCrítico
Salud del Píxel + CAPITodos los eventos activos, EMQ > 7Faltan algunos eventosPíxel roto
AtribuciónVentana de atribución clara establecidaVentanas mixtasSin configuración de atribución
Estructura de CampañaIntención clara de CBO o ABOEstructura mixtaPresupuestos fragmentados
Salud CreativaCTR > 1%, fresco < 3 semanasCTR en descenso, 3-6 semanasFatigado, CTR < 0.5%
Estrategia de AudienciaAmplia + LAL + reorientaciónFalta reorientaciónSolo un tipo de audiencia
Eficiencia del GastoROAS ≥ objetivo, CPP en tendencia a la bajaROAS cerca del objetivoROAS por debajo del objetivo, CPP en aumento
Preparación para EscalarAprendizaje completado, CPA estableAún en aprendizajeAprendizaje Limitado

Diagnóstico de Fatiga Creativa

Señalar fatiga creativa cuando:

  • Frecuencia > 3.0 en los últimos 7 días (las mismas personas ven el mismo anuncio demasiadas veces)
  • El CTR disminuye semana tras semana para la misma creatividad (3+ semanas en ejecución)
  • La tasa de enganche está disminuyendo (menos personas ven más allá de los 3 segundos)
  • El CPM está aumentando sin cambio en el tamaño de la audiencia (el algoritmo desprioriza el anuncio)

Tasa de enganche = visitas de video de 3 segundos / impresiones Tasa de retención = ThruPlay / visitas de 3 segundos Ratio de thumbstop = visitas de 3 segundos / impresiones

Puntos de referencia saludables:

MétricaObjetivo
CTR (enlace)> 1.0%
Tasa de enganche> 25%
Tasa de retención> 40%
Frecuencia (7 días)< 3.0
CPMDepende del nicho, sigue la tendencia

Triage de Fase de Aprendizaje

  • Aprendizaje: Normal — el conjunto de anuncios tiene <50 eventos de optimización. No lo toques.
  • Aprendizaje Limitado: Problema — no puede obtener suficientes eventos para optimizar. Opciones de solución:
    • Ampliar la audiencia (demasiado estrecha)
    • Aumentar el presupuesto (demasiado bajo para que ocurran eventos)
    • Simplificar el objetivo de optimización
    • Fusionar conjuntos de anuncios similares
  • Activo: Saludable — suficientes datos, el algoritmo está optimizando

Detección de Superposición de Audiencias

Si dos conjuntos de anuncios comparten >20% de superposición de audiencia:

  • Compiten entre sí en la subasta
  • Estás pujando contra ti mismo = CPM más altos
  • Solución: Excluir audiencias entre conjuntos de anuncios, o consolidar en un solo conjunto de anuncios

Formato de Salida

Tarjeta de Puntuación de la Cuenta

Cuenta: [Nombre] | Cuenta Publicitaria: act_XXXXXXXXXX
Período: Últimos 30 días | Gasto: $X,XXX | Compras: XX | ROAS: X.Xx | CPP: $XX

Tarjeta de Puntuación:
┌─────────────────────────────┬──────────┬─────────────────────────────────┐
│ Dimensión                   │ Estado   │ Resumen                         │
├─────────────────────────────┼──────────┼─────────────────────────────────┤
│ Salud del Píxel + CAPI      │ ✅ OK    │ X eventos, puntuación EMQ X.X   │
│ Atribución                  │ ✅ OK    │ Atribución de clic de 7 días    │
│ Estructura de Campaña       │ ⚠️ Adv.  │ CBO/ABO mixto, X campañas       │
│ Salud Creativa              │ 🔴 Crít. │ X creatividades fatigadas (>3 fr) │
│ Estrategia de Audiencia     │ ⚠️ Adv.  │ Falta capa de reorientación     │
│ Eficiencia del Gasto        │ ✅ OK    │ ROAS X.Xx vs objetivo X.Xx      │
│ Preparación para Escalar    │ ⚠️ Adv.  │ X conjuntos en Aprendizaje Lim. │
└─────────────────────────────┴──────────┴─────────────────────────────────┘

Top 3 Acciones

Siempre genera estas:

  1. Pausar creatividades fatigadas — [lista de nombres de anuncios], frecuencia X.X, CTR bajó XX% en 3 semanas

    • Impacto: Reducir CPM, mejorar puntuación de relevancia
    • Siguiente: Crear X nuevas variaciones creativas (usa la habilidad ad-creative)
  2. Solucionar Aprendizaje Limitado — [nombre del conjunto de anuncios] ha estado en Aprendizaje Limitado durante X días

    • Causa: Audiencia demasiado estrecha (XX,XXX personas) / Presupuesto demasiado bajo ($XX/día para objetivo de X conversiones)
    • Solución: [expansión específica de audiencia O aumento de presupuesto]
  3. Agregar campaña de reorientación — No se detectó reorientación. Los visitantes del sitio web no están siendo recapturados.

    • Configuración: 3 conjuntos de anuncios — visitantes de 7 días, visitantes de 30 días, carritos abandonados
    • ROAS estimado: 3-5x (la reorientación suele superar a la prospección)

Ejecución (Opcional)

La superficie de mutación es intencionalmente estrecha — solo operaciones seguras y reversibles:

python skills/meta-ads-connect/scripts/mutate.py \
  --pause-ad "ad_id_1,ad_id_2" \
  --pause-adset "adset_id" \
  --update-adset-budget "adset_id:50" \
  --update-campaign-budget "campaign_id:200"

NO automatizado (se redirige a Meta Ads Manager en su lugar):

  • Crear nuevas campañas, conjuntos de anuncios o anuncios
  • Editar audiencias o segmentación
  • Subir activos creativos
  • Cambiar objetivos de optimización

Siempre confirma antes de ejecutar:

"Estoy a punto de pausar 2 anuncios fatigados y aumentar el presupuesto en 1 conjunto de anuncios en Aprendizaje Limitado. ¿Confirmas?"

Todos los cambios se registran en .agents/meta-ads-changes.json.


Integración con Otras Habilidades

  • paid-ads: Reemplazar la estrategia genérica de Meta con datos específicos de la cuenta
  • ad-creative: Usar datos reales de tasa de enganche / CTR para crear mejores creatividades — saber qué funciona
  • ab-test-setup: Diseñar pruebas creativas estructuradas basadas en brechas de rendimiento reales
  • analytics-tracking: Cruzar referencias de conversiones de Meta con GA4 para una verificación de atribución

Referencias


Habilidades Relacionadas

  • paid-ads: Estrategia de publicidad pagada completa en todas las plataformas
  • google-ads-connect: Combínala para una vista completa de búsqueda pagada + redes sociales pagadas
  • ad-creative: Para generar nuevas creatividades cuando se detecta fatiga
  • analytics-tracking: Para configuración de píxeles y eventos de conversión
  • ab-test-setup: Para pruebas estructuradas de creatividades y audiencias

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," or "how long should I run this test." Use this whenever someone is comparing two approaches and wants to measure which performs better. For tracking implementation, see analytics-tra

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. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wan

LeoYeAI/openclaw-marketing-skills

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you v

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

Skills relacionados