seo-matomo
Qué hace
Esta skill conecta tu agente con Matomo, una herramienta de analítica autoalojada o en la nube. Está pensada para personas que quieren sus datos de tráfico sin depender de Google.
Cuándo usarla
- ✓Cuando quieres ver qué páginas reciben más visitas orgánicas.
- ✓Cuando quieres saber qué países y dispositivos usan tus visitantes.
- ✓Cuando quieres revisar qué referentes y palabras clave traen visitantes.
Link de la skill
https://github.com/AgriciDaniel/claude-seo/blob/main/extensions/matomo/skills/seo-matomo/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes mostrarme mis páginas orgánicas principales y los países de mis visitantes en Matomo de los últimos 30 días?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill usa la API de informes de Matomo con tu token de acceso. Solicita el informe que pides y resume los datos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
seo-matomo
Self-hosted analytics surface. Use Matomo as a privacy-first GA4 alternative
when you own your analytics data, want zero Google dependency, or operate
behind a strict data-residency boundary. The same seo-matomo skill works
against Matomo Cloud and self-hosted instances.
Prerequisites
- Run
extensions/matomo/install.shorinstall.ps1. - A Matomo instance URL (https://analytics.example.com).
- A Matomo API
token_authwithviewaccess on the sites you analyze. - (Optional) A default
idSiteto avoid passing--site-idon every call.
Routing
| Command | Underlying script |
|---|---|
/seo matomo check |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --check |
/seo matomo organic [site-id] |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py organic --site-id <id> |
/seo matomo top-pages |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py top-pages |
/seo matomo device |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py device |
/seo matomo country |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py country |
/seo matomo referrers |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py referrers |
/seo matomo keywords |
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_report.py keywords |
All commands accept --days (default 28), --limit, --site-id, and
--json. The site ID falls back to MATOMO_SITE_ID from settings.
When this skill applies
- The user wants Google-free analytics or has a Matomo instance already configured. Common in EU privacy-first setups, regulated industries, and teams who own their analytics.
- The user explicitly says "Matomo", "self-hosted analytics", or asks to
replace GA4. For Google Search performance use
seo-google; this skill is the reporting substitute. - The user is migrating from GA4 and wants the same report types (organic trend, landing pages, device / country split, referrer split) sourced from Matomo's Reporting API.
Cross-skill delegation
- For Google Search Console / CrUX / Indexing, route to
seo-google.seo-matomocovers reporting (visits / pages / referrers), not search performance metrics. - For AI Overview / GEO citability work, route to
seo-geo. Matomo offers no LLM-specific signals. - During
/seo audit, the orchestrator spawns theseo-matomoagent (analogous toseo-google) whenever"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --checksucceeds. Both agents can be active simultaneously when the user has both GA4 and Matomo configured.
Self-hosted instance on a private address
Every Matomo request goes through claude-seo's SSRF guard: the instance URL
is validated and DNS-pinned, and a redirect off the instance is refused.
Private, loopback, and link-local addresses are refused by default. When the
user's instance lives on one (http://matomo.internal:8080,
http://192.168.1.20, http://localhost:8080), tell them to name it in the
CLAUDE_SEO_LOCAL_TARGETS allowlist:
export CLAUDE_SEO_LOCAL_TARGETS="matomo.internal:8080"
Entries are host or host:port, comma-separated, matched exactly. The
allowlist covers only the top-level instance URL; redirect targets and every
other host stay fail-closed, and cloud metadata addresses are refused even
when listed. Never suggest disabling the guard or editing url_safety.py:
the allowlist is the supported route. Details in
extensions/matomo/docs/MATOMO-SETUP.md and SECURITY.md.
Error Handling
- Refused by the SSRF guard (error names
CLAUDE_SEO_LOCAL_TARGETS): the instance is on a private address that has not been allowlisted. Give the user the exact export line from the error, which already carries the righthost:port. - Refused redirect: the instance answered a 30x pointing at another host.
MATOMO_URLis pointing at a redirector rather than at the Reporting API. Ask the user for the URL their instance actually serves the API from. - Missing credentials: report which env vars / config keys are unset and
remind the user to run
extensions/matomo/install.shor"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run matomo_auth.py --setup. - HTTP 401/403 from Matomo: the token lacks view access for the given site. Verify the token scope in Matomo Administration -> Personal -> Security -> API Tokens. The skill never logs the token.
result=errorpayloads from Ma
Preguntas frecuentes
¿Qué necesito para conectar Matomo?
Necesitas la dirección web de tu Matomo y un token de API con permiso de visualización para tus sitios.
¿Puedo definir un sitio web por defecto?
Sí. Puedes definir un ID de sitio por defecto para no tener que indicarlo en cada solicitud.
¿Funciona con datos de GA4?
No. La skill lee solo datos de Matomo, y puede usarse en lugar de GA4 o junto a él.
Detalles
Descripción original del autor
Matomo Reporting API extension. Self-hosted or Matomo Cloud analytics as a GA4 alternative or complement. Organic traffic, landing pages, device / country breakdowns, referrers, search keywords. Triggers on "Matomo", "self-hosted analytics", "analytics ohne Google", "GA4 alternative", "Matomo Reporting", "Piwik".
repo: AgriciDaniel/claude-seo
Popularidad
- Estrellas en GitHub
- 26 mil
- Posición en el ranking
- #9994
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
seo-ahrefs
26 milPermite que tu agente consulte datos en vivo de Ahrefs sobre una web: backlinks, dominios que enlazan, palabras clave orgánicas e ideas. Requiere un token de API de Ahrefs.
seo-image-gen
26 milAyuda a tu agente a crear imágenes SEO como tarjetas de redes sociales, cabeceras de blog e infografías con Gemini. Requiere la extensión banana.
seo-bing
26 milAyuda a tu agente a revisar datos de Bing Webmaster Tools y a enviar nuevas URL de páginas mediante IndexNow, para que Bing encuentre tus páginas.
seo-dataforseo
26 milPermite que tu agente consulte datos SEO en vivo de DataForSEO, como resultados, volúmenes de palabras clave, backlinks y menciones en IA. Cada llamada tiene coste.
Skills parecidas
competitive-platform-analysis
280 milAyuda a conocer a tus competidores. Identifica, clasifica y filtra empresas competidoras antes de hacer un análisis más profundo.
competitive-report-structure
280 milCrea informes completos de competidores. Combina la información para mostrar el panorama general y las recomendaciones, y ayuda a alinear al equipo.
lead-intelligence
280 milAyuda a tu agente a encontrar y contactar a personas clave. Analiza leads, sugiere enfoques y gestiona el contacto por correo y redes sociales.